rtc: ds1307: consider aux-voltage-chargeable
authorBastian Krause <bst@pengutronix.de>
Thu, 17 Sep 2020 18:32:45 +0000 (20:32 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 24 Sep 2020 07:56:04 +0000 (09:56 +0200)
commit0874734e09af5cc05439dbe2c8ff704f14d679f5
treee819fef8b78a4b10bbc7d33ef9da88052002c988
parent95a74cbb21a2431dd2fd8918fa26113629b6e13e
rtc: ds1307: consider aux-voltage-chargeable

Prefer aux-voltage-chargeable over trickle-diode-disable and set diode
accordingly. This is then passed to the chip's appropriate charge setup
function.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200917183246.19446-8-bst@pengutronix.de
drivers/rtc/rtc-ds1307.c