+17
−0
+7
−0
+1
−0
drivers/rtc/rtc-sun6i.c
0 → 100644
+447
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This patch introduces the driver for the RTC in the Allwinner A31 and A23 SoCs. Unlike the RTC found in A10/A20 SoCs, which was part of the timer, the RTC in A31/A23 are a separate hardware block, which also contain a few controls for the RTC block hardware (a regulator and RTC block GPIO pin latches), while also having separate interrupts for the alarms. The hardware is different enough to make a different driver for it. Signed-off-by:Chen-Yu Tsai <wens@csie.org> Reviewed-by:
Varka Bhadram <varkabhadram@gmail.com> Signed-off-by:
Maxime Ripard <maxime.ripard@free-electrons.com>