[GIT PULL] RTC for 6.18

Alexandre Belloni
2025-10-11T16:20:15Z

Hello Linus,

Here is the RTC subsystem pull request for 6.18. This cycle, we have a
new RTC driver, for the SpacemiT P1. The optee driver gets alarm
support. We also get a fix for a race condition that was fairly rare
unless while stress testing the alarms.

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git tags/rtc-6.18

for you to fetch changes up to 9db26d5855d0374d4652487bfb5aacf40821c469:

rtc: interface: Ensure alarm irq is enabled when UIE is enabled (2025-10-09 23:34:52 +0200)

----------------------------------------------------------------
RTC for 6.18

Subsystem:
- Fix race when setting alarm
- Ensure alarm irq is enabled when UIE is enabled
- remove unneeded 'fast_io' parameter in regmap_config

New driver:
- SpacemiT P1 RTC

Drivers:
- efi: Remove wakeup functionality
- optee: add alarms support
- s3c: Drop support for S3C2410
- zynqmp: Restore alarm functionality after kexec transition

----------------------------------------------------------------
Alex Elder (1):
rtc: spacemit: support the SpacemiT P1 RTC

Alexandre Belloni (2):
rtc: optee: make optee_rtc_pm_ops static
rtc: Kconfig: move symbols to proper section

Ard Biesheuvel (1):
rtc: efi: Remove wakeup functionality

Bruno Thomsen (1):
rtc: pcf2127: fix watchdog interrupt mask on pcf2131

Clément Le Goffic (3):
rtc: optee: fix memory leak on driver removal
rtc: optee: remove unnecessary memory operations
rtc: optee: add alarm related rtc ops to optee rtc driver

Dan Carpenter (2):
rtc: optee: fix error code in probe()
rtc: optee: Fix error code in optee_rtc_read_alarm()

Esben Haabendal (5):
rtc: interface: Fix long-standing race when setting alarm
rtc: isl12022: Fix initial enable_irq/disable_irq balance
rtc: cpcap: Fix initial enable_irq/disable_irq balance
rtc: tps6586x: Fix initial enable_irq/disable_irq balance
rtc: interface: Ensure alarm irq is enabled when UIE is enabled

Frank Li (2):
dt-bindings: rtc: pcf85063: remove quartz-load-femtofarads restriction for nxp,pcf85063
dt-bindings: rtc: trivial-rtc: add dallas,m41t00

Harini T (1):
rtc: zynqmp: Restore alarm functionality after kexec transition

Josua Mayer (1):
rtc: pcf2127: clear minute/second interrupt

Krzysztof Kozlowski (3):
rtc: s3c: Drop unused defines
rtc: s3c: Drop support for S3C2410
dt-bindings: rtc: s3c: Drop S3C2410

Rob Herring (Arm) (4):
dt-bindings: rtc: Drop isil,isl12057.txt
dt-bindings: rtc: Fix Xicor X1205 vendor prefix
rtc: x1205: Fix Xicor X1205 vendor prefix
dt-bindings: rtc: Convert apm,xgene-rtc to DT schema

Tóth János (1):
rtc: sd2405al: Add I2C address.

Wolfram Sang (1):
rtc: remove unneeded 'fast_io' parameter in regmap_config

Xianwei Zhao (1):
rtc: amlogic-a4: Optimize global variables

.../devicetree/bindings/rtc/apm,xgene-rtc.yaml | 45 ++
.../devicetree/bindings/rtc/isil,isl12057.txt | 74 ----
.../devicetree/bindings/rtc/nxp,pcf85063.yaml | 10 -
Documentation/devicetree/bindings/rtc/s3c-rtc.yaml | 40 +-
.../devicetree/bindings/rtc/trivial-rtc.yaml | 6 +-
.../devicetree/bindings/rtc/xgene-rtc.txt | 28 --
drivers/rtc/Kconfig | 38 +-
drivers/rtc/Makefile | 1 +
drivers/rtc/interface.c | 27 ++
drivers/rtc/rtc-amlogic-a4.c | 14 +-
drivers/rtc/rtc-cpcap.c | 1 +
drivers/rtc/rtc-efi.c | 76 +---
drivers/rtc/rtc-isl12022.c | 1 +
drivers/rtc/rtc-meson.c | 1 -
drivers/rtc/rtc-optee.c | 465 +++++++++++++++++++--
drivers/rtc/rtc-pcf2127.c | 19 +-
drivers/rtc/rtc-s3c.c | 49 +--
drivers/rtc/rtc-s3c.h | 19 -
drivers/rtc/rtc-sd2405al.c | 4 +-
drivers/rtc/rtc-spacemit-p1.c | 167 ++++++++
drivers/rtc/rtc-tps6586x.c | 1 +
drivers/rtc/rtc-x1205.c | 2 +-
drivers/rtc/rtc-zynqmp.c | 19 +
23 files changed, 753 insertions(+), 354 deletions(-)
create mode 100644 Documentation/devicetree/bindings/rtc/apm,xgene-rtc.yaml
delete mode 100644 Documentation/devicetree/bindings/rtc/isil,isl12057.txt
delete mode 100644 Documentation/devicetree/bindings/rtc/xgene-rtc.txt
create mode 100644 drivers/rtc/rtc-spacemit-p1.c

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering