rtc: rv3028: add BSM support
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:19:32 +0000 (17:19 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:20:50 +0000 (17:20 +0200)
commit018d959ba7ffcadcc21e007f81c4b2b7a2b47447
treefb67863d597e5bb0a17906d856f7a62f6ebbc4ff
parent0d20e9fb1262b1f9ac895b287db892bc75b05b84
rtc: rv3028: add BSM support

Backup Switch Mode controls how the RTC decides when to switch to the
backup power supply. As it is disabled by default, provide a way to enable
and configure it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211018151933.76865-7-alexandre.belloni@bootlin.com
drivers/rtc/rtc-rv3028.c