Skip to contentSkip to conversation

RTC for 6.16

GIT PULL Merged Alexandre Belloni 2 participants 2 messages Jun 5, 2025 Real time clock (RTC)

lore
Share & tools
lore

Alexandre Belloni

author maintainer
#0 lore raw

Hello Linus,

Here is the RTC subsystem pull request for 6.16. There are two new drivers this cycle. There is also support for a negative offset for RTCs that have been shipped with a date set using an epoch that is before 1970. This unfortunately happens with some products that ship with a vendor kernel and an out of tree driver.

The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:

Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 3d8b44b104fb5f93a853ae34fbcf8d840e4482f5:

rtc: mt6359: Add mt6357 support (2025-06-02 00:25:32 +0200)

----------------------------------------------------------------
RTC for 6.16

Core:
- support negative offsets for RTCs that have shipped with an epoch earlier than 1970

New drivers:
- NXP S32G2/S32G3
- Sophgo CV1800

Drivers:
- loongson: fix missing alarm notifications for ACPI
- m41t80: kickstart ocillator upon failure
- mt6359: mt6357 support
- pcf8563: fix wrong alarm register
- sh: cleanups

----------------------------------------------------------------
A. Niyas Ahamed Mydeen (1):
rtc: m41t80: kickstart ocillator upon failure

Alexandre Belloni (2):
rtc: interface: silence KMSAN warning
rtc: m41t80: reduce verbosity

Alexandre Mergnat (3):
rtc: Make rtc_time64_to_tm() support dates before 1970
rtc: Fix offset calculation for .start_secs < 0
rtc: mt6359: Add mt6357 support

Ciprian Marian Costea (2):
dt-bindings: rtc: add schema for NXP S32G2/S32G3 SoCs
rtc: s32g: add NXP S32G2/S32G3 SoC support

Jingbao Qiu (1):
rtc: sophgo: add rtc support for Sophgo CV1800 SoC

Johan Hovold (9):
dt-bindings: rtc: qcom-pm8xxx: add uefi-variable offset
rtc: pm8xxx: fix uefi offset lookup
rtc: at91rm9200: drop unused module alias
rtc: cpcap: drop unused module alias
rtc: da9063: drop unused module alias
rtc: jz4740: drop unused module alias
rtc: pm8xxx: drop unused module alias
rtc: s3c: drop unused module alias
rtc: stm32: drop unused module alias

Krzysztof Kozlowski (1):
rtc: amlogic: Do not enable by default during compile testing

Liu Dalin (1):
rtc: loongson: Add missing alarm notifications for ACPI RTC events

Ryan Wanner (2):

      dt-bindings: rtc: at91rm9200: add microchip,sama7d65-rtc
      dt-bindings: at91rm9260-rtt: add microchip,sama7d65-rtt

Troy Mitchell (1):
rtc: pcf8563: fix wrong alarm register

Uwe Kleine-König (3):
rtc: test: Emit the seconds-since-1970 value instead of days-since-1970
rtc: test: Also test time and wday outcome of rtc_time64_to_tm()
rtc: test: Test date conversion for dates starting in 1900

Wolfram Sang (13):
rtc: sh: assign correct interrupts with DT
rtc: sh: remove update interrupt handling
rtc: sh: only disable carry interrupts in probe()
rtc: sh: remove periodic interrupt handling
rtc: sh: simplify irq setup after refactoring
rtc: sh: remove useless wrapper function
rtc: sh: use local variables in probe() for mapping IO
rtc: sh: minor fixes to adhere to coding style
rtc: rzn1: clear interrupts on remove
rtc: da9063: simplify irq management
dt-bindings: rtc: rzn1: add optional second clock
rtc: rzn1: Disable controller before initialization
rtc: rzn1: support input frequencies other than 32768Hz

 .../bindings/rtc/atmel,at91rm9200-rtc.yaml         |   4 +-
 .../bindings/rtc/atmel,at91sam9260-rtt.yaml        |   1 +
 .../devicetree/bindings/rtc/nxp,s32g-rtc.yaml      |  72 ++++
 .../devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml   |   6 +
 .../devicetree/bindings/rtc/renesas,rzn1-rtc.yaml  |   8 +-
 drivers/rtc/Kconfig                                |  25 +-
 drivers/rtc/Makefile                               |   2 +
 drivers/rtc/class.c                                |   2 +-
 drivers/rtc/interface.c                            |   2 +-
 drivers/rtc/lib.c                                  |  24 +-
 drivers/rtc/lib_test.c                             |  27 +-
 drivers/rtc/rtc-at91rm9200.c                       |   1 -
 drivers/rtc/rtc-cpcap.c                            |   1 -
 drivers/rtc/rtc-cv1800.c                           | 218 ++++++++++++
 drivers/rtc/rtc-da9063.c                           |  31 +-
 drivers/rtc/rtc-jz4740.c                           |   1 -
 drivers/rtc/rtc-loongson.c                         |   8 +
 drivers/rtc/rtc-m41t80.c                           |  78 +++--
 drivers/rtc/rtc-mt6397.c                           |   1 +
 drivers/rtc/rtc-pcf8563.c                          |   2 +-
 drivers/rtc/rtc-pm8xxx.c                           |  18 +-
 drivers/rtc/rtc-rzn1.c                             |  71 +++-
 drivers/rtc/rtc-s32g.c                             | 385 +++++++++++++++++++++
 drivers/rtc/rtc-s3c.c                              |   1 -
 drivers/rtc/rtc-sh.c                               | 285 +++------------
 drivers/rtc/rtc-stm32.c                            |   1 -
 26 files changed, 946 insertions(+), 329 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/rtc/nxp,s32g-rtc.yaml
 create mode 100644 drivers/rtc/rtc-cv1800.c
 create mode 100644 drivers/rtc/rtc-s32g.c
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com