opnsense-src/sys/dev/iicbus
Tetsuya Uemura f5d1d22f25 nxprtc: Fix timing issue with register access.
My Adafruit PCF8523 RTC on either RPi2B or RPi3B+ failed to work around
80 ~ 90 % of boot-ups, by printing the following log lines.

nxprtc0: <NXP PCF8523 RTC> at addr 0xd0 on iicbus0
nxprtc0: cannot set up timer
Warning: no time-of-day clock registered, system time will not be set accurately

This is due to pcf8523_start_timer(sc) returned non-zero in
nxprtc_start() due to a register read failure of PCF8523_R_TMR_A_FREQ or
PCF8523_R_TMR_CLKOUT or a failure to program a new value.

The pause_sbt("nxpbat") sleep was too short and caused the register
access failures.

PR: 266093
(cherry picked from commit e2386f18ec)
2022-11-04 15:50:05 -06:00
..
gpio tca6416: remove write only sc 2022-10-01 22:25:52 -06:00
mux ltc430x(4): Fix a typo in a source code comment 2022-09-06 07:41:10 +02:00
pmic Add a driver for FAN53555 based PMIC. 2020-12-04 15:23:43 +00:00
rtc rx8803_settime: remove write only variable bus 2022-10-01 22:25:52 -06:00
twsi twsi: Plug set but not used variable 2022-05-16 15:15:44 +02:00
acpi_iicbus.c
ad7417.c
ad7418.c
adm1030.c
ads111x.c Revert "Define PNP info after defining driver modules" 2021-01-29 19:39:14 -05:00
adt746x.c
ds13rtc.c
ds1307.c ds1307: add support for the EPSON RX-8035SA I2C RTC 2022-09-21 11:39:08 +00:00
ds1307reg.h ds1307: add support for the EPSON RX-8035SA I2C RTC 2022-09-21 11:39:08 +00:00
ds1631.c
ds1672.c
ds1775.c
ds3231.c ds3231: allow configuration via hints on FDT systems 2021-12-23 10:44:54 +02:00
ds3231reg.h
htu21.c htu21: allow configuration via hints on FDT-based systems 2021-11-13 11:04:29 +02:00
icee.c icee: allow configuration via hints on FDT-based systems 2021-11-27 10:47:25 +02:00
if_ic.c routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549). 2021-09-07 21:25:06 +00:00
iic.c
iic.h
iic_recover_bus.c
iic_recover_bus.h
iicbb.c move defintion of hw.i2c sysctl node from iicbb to iicbus 2020-09-03 08:02:19 +00:00
iicbb_if.m
iicbus.c move defintion of hw.i2c sysctl node from iicbb to iicbus 2020-09-03 08:02:19 +00:00
iicbus.h Add plug and play information macroses for ACPI and I2C buses. 2020-10-31 22:15:59 +00:00
iicbus_if.m
iichid.c iicbus(4): Fix two typos in kernel error messages 2022-04-23 08:55:22 +02:00
iicoc.c
iicoc.h
iicoc_fdt.c
iicoc_pci.c
iiconf.c
iiconf.h
iicsmb.c
isl12xx.c
lm75.c
max6690.c Provide a slightly more-tolerant set of thermal parameters for PowerMac 2020-10-15 13:43:43 +00:00
max44009.c driver for MAX44009 I2C illuminance sensor 2021-11-13 11:12:05 +02:00
nxprtc.c nxprtc: Fix timing issue with register access. 2022-11-04 15:50:05 -06:00
ofw_iicbus.c
pcf8591.c pcf8591: remove write-only variables 2021-12-20 12:47:38 +02:00
rtc8583.c
s35390a.c
sy8106a.c
syr827.c