rtc: pcf8523: add BSM support
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:36:50 +0000 (17:36 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:38:06 +0000 (17:38 +0200)
commitf8d4e4fa51ec817edfee49c173521a1102f7f7a6
tree5a71c1e72ed92d0fb9f34a44964d30d641abfc8e
parentebf48cbe32e9e2b74e9d5d8f7daf3422a3ec27ea
rtc: pcf8523: add BSM support

Backup Switch Mode allows to select the strategy to use to switch from the
main power supply to the backup power supply. As before, the driver will
switch from standby mode to level mode but now only when it has never been
set.

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