rtc: support for the Amlogic on-chip RTC
This is the third amlogic driver. The RTC hardware of A4 SoC is different from the previous one. This RTC hardware includes a timing function and an alarm function. But the existing has only timing function, alarm function is using the system clock to implement a virtual alarm. Add the RTC driver to support it. Signed-off-by: Yiting Deng <yiting.deng@amlogic.com> Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com> Link: https://lore.kernel.org/r/20241112-rtc-v6-2-a71b60d2f354@amlogic.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
committed by
Alexandre Belloni
parent
ce57cf7319
commit
c89ac9182e
@@ -2091,4 +2091,16 @@ config RTC_DRV_SSD202D
|
||||
This driver can also be built as a module, if so, the module
|
||||
will be called "rtc-ssd20xd".
|
||||
|
||||
config RTC_DRV_AMLOGIC_A4
|
||||
tristate "Amlogic RTC"
|
||||
depends on ARCH_MESON || COMPILE_TEST
|
||||
select REGMAP_MMIO
|
||||
default y
|
||||
help
|
||||
If you say yes here you get support for the RTC block on the
|
||||
Amlogic A113L2(A4) and A113X2(A5) SoCs.
|
||||
|
||||
This driver can also be built as a module. If so, the module
|
||||
will be called "rtc-amlogic-a4".
|
||||
|
||||
endif # RTC_CLASS
|
||||
|
||||
Reference in New Issue
Block a user