+8
−0
+10
−0
+1
−0
drivers/rtc/rtc-renesas-rtca3.c
0 → 100644
+899
−0
File added.
Preview size limit exceeded, changes collapsed.
Loading
The RTC IP (RTCA-3) available on the Renesas RZ/G3S SoC has calendar count mode and binary count mode (selectable though RCR2.CNTMD) capabilities, alarm capabilities, clock error correction capabilities. It can generate alarm, period, carry interrupts. Add a driver for RTCA-3 IP. The driver implements calendar count mode (as the conversion b/w RTC and system time is simpler, done with bcd2bin(), bin2bcd()), read and set time, read and set alarm, read and set an offset. Signed-off-by:Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Link: https://lore.kernel.org/r/20241030110120.332802-6-claudiu.beznea.uj@bp.renesas.com Signed-off-by:
Alexandre Belloni <alexandre.belloni@bootlin.com>
File added.
Preview size limit exceeded, changes collapsed.