[PATCH 0/4] rtc: pcf8525: Add NXP PCF8525 RTC driver

From: Shiv Prakash Gupta

Date: Fri Aug 07 2026 - 04:50:47 EST


This series adds initial support for the NXP PCF8525 real-time clock.

The NXP PCF8525 is an I2C RTC with the following features:
- Time/date keeping (seconds to years, BCD encoded)
- Alarm with interrupt support on INTA
- Two hardware timestamps (TS1/TS2) exposed via sysfs
- Crystal aging offset correction via the RTC offset interface
- Battery backup with configurable backup switch mode (BSM)
- Optional watchdog timer on INTB
- Optional temperature sensor via hwmon

Patch 1 adds the devicetree binding document (YAML schema).
Patch 2 adds the core RTC driver with time, alarm, timestamp,
aging offset, and backup switch mode support.
Patch 3 adds optional watchdog support via Watchdog Core on INTB.
Patch 4 adds optional temperature sensor support via hwmon.

Shiv Prakash Gupta (4):
dt-bindings: rtc: Add NXP PCF8525 RTC
rtc: pcf8525: Add NXP PCF8525 RTC driver
rtc: pcf8525: Add watchdog support
rtc: pcf8525: Add temperature sensor support via hwmon

.../devicetree/bindings/rtc/nxp,pcf8525.yaml | 86 ++
drivers/rtc/Kconfig | 26 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-pcf8525.c | 1366 +++++++++++++++++
4 files changed, 1479 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/nxp,pcf8525.yaml
create mode 100644 drivers/rtc/rtc-pcf8525.c

--
2.34.1