[PATCH v1 0/2] rtc: bq32000: Add settle delay for aggressive polling
From: Adriana Stancu
Date: Thu Apr 16 2026 - 05:29:57 EST
This series addresses a limitation in the TI BQ32000 RTC where aggressive
I2C polling (done by userspace tools like hwclock on systems where the
interrupt line is not connected to the CPU) can prevent the refresh of
RTC registers.
This results in stale data reads or select() timeouts in userspace.
The series introduces a configurable "settle delay" via device tree
to ensure the hardware has sufficient idle time between read attempts.
Patch 1: Adds the 'ti,read-settle-us' property to the YAML bindings.
Patch 2: Implements the delay in the driver using usleep_range.
Adriana Stancu (2):
dt-bindings: rtc: ti,bq32k: Add delay on rtc reads
rtc: bq32000: add configurable delay between RTC reads
.../devicetree/bindings/rtc/ti,bq32000.yaml | 5 +++
drivers/rtc/rtc-bq32k.c | 34 +++++++++++++++----
2 files changed, 33 insertions(+), 6 deletions(-)
--
2.51.0