rtc: ds1307: introduce requires_trickle_resistor per chip
authorBastian Krause <bst@pengutronix.de>
Thu, 17 Sep 2020 18:32:43 +0000 (20:32 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 24 Sep 2020 07:56:04 +0000 (09:56 +0200)
commit1b5b6af788ae59ee73e3f3230dbfa4f0e31d8d18
tree10f8140f4b07fde547c2235fc641f48646703525
parent462eb736db3db76899022e4e4db788a7b6efbe09
rtc: ds1307: introduce requires_trickle_resistor per chip

Make trickle-resistor-ohms optional for charging setups that do not
require specifying ROUT bits (specifying the resistor value between Vcc
and Vbackup). In order to allow specifying that, introduce
requires_trickle_resistor per chip.

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-6-bst@pengutronix.de
drivers/rtc/rtc-ds1307.c