]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52f63a771401cf1adbeab0a3bd537aba22adf53d
tree5a71c1e72ed92d0fb9f34a44964d30d641abfc8e
parent34a9e982ebdea71a2f752c544f6e021090f972d8
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