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 additional changes required for timer counter
specific registers.
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"
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 | 26 +++++++++++++++++++
drivers/rtc/rtc-s3c.h | 4 +++
5 files changed, 45 insertions(+)
base-commit: bc6e0ba6c9bafa6241b05524b9829808056ac4ad
--
2.34.1