Alessandro, Alexandre, Any input to this one? Thanks, Sascha On Tue, Apr 26, 2022 at 09:10:51AM +0200, Sascha Hauer wrote: > This series has some patches for the rx8803 RTC handled by the rv8803 > driver. These patches mostly improve the voltage loss handling in the > rx8803. While the rv8803 resets its registers on voltage loss the rx8803 > leaves registers in an undefined state after voltage loss. The patches > are used here for a customer for quite a while, it's time to upstream > them. > > Sascha > > Ahmad Fatoum (5): > rtc: rv8803: factor out existing register initialization to function > rtc: rv8803: initialize registers on post-probe voltage loss > rtc: rv8803: re-initialize all Epson RX8803 registers on voltage loss > include/linux/bcd.h: provide bcd_is_valid() helper > rtc: rv8803: invalidate date/time if alarm time is invalid > > drivers/rtc/rtc-rv8803.c | 134 ++++++++++++++++++++++++++++++++------- > include/linux/bcd.h | 4 ++ > 2 files changed, 116 insertions(+), 22 deletions(-) > > -- > 2.30.2 > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |