Enable on-chip RTC support. The on-chip RTC of this SoC is similar to the previous versions of Samsung SoC. So re-use the existing RTC driver with applicable call-backs for initialization and IRQ handling. Add a separate call-back for disabling RTC since existing '.disable' call-backs updates additional bit not valid for RTC of ExynosAutov9. Setting and getting hardware clock has been tested using 'hwclock' and 'date' utilities. Alarm interrupt has been checked with incrementing interrupt count via "cat /proc/interrupts | grep rtc" for 10sec wakeup time via "echo +10 > /sys/class/rtc/rtc0/wakealarm" changelog --- Changes in v2: - Fixed the review comment of v1 for mis-aligmnent & asymmetry bit logic. - link for v1 : https://lore.kernel.org/linux-rtc/20250702052426.2404256-1-dev.tailor@xxxxxxxxxxx/ Devang Tailor (3): dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9 rtc: s3c: support for exynosautov9 on-chip RTC arm64: dts: exynosautov9: add RTC DT node .../devicetree/bindings/rtc/s3c-rtc.yaml | 1 + .../boot/dts/exynos/exynosautov9-sadk.dts | 4 ++++ arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 10 ++++++++++ drivers/rtc/rtc-s3c.c | 18 ++++++++++++++++++ 4 files changed, 33 insertions(+) base-commit: 58ba80c4740212c29a1cf9b48f588e60a7612209 -- 2.34.1