Commit c53cee48 authored by Bastian Krause's avatar Bastian Krause Committed by Alexandre Belloni

dt-bindings: rtc: ds1307: let aux-voltage-chargeable supersede trickle-diode-disable

trickle-diode-disable is deprecated, so reflect that in the driver's
binding and add the new aux-voltage-chargeable.
Signed-off-by: default avatarBastian Krause <bst@pengutronix.de>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200917183246.19446-3-bst@pengutronix.de
parent 965fe1ce
...@@ -31,9 +31,16 @@ Optional properties: ...@@ -31,9 +31,16 @@ Optional properties:
Selected resistor for trickle charger Selected resistor for trickle charger
Possible values are 250, 2000, 4000 Possible values are 250, 2000, 4000
Should be given if trickle charger should be enabled Should be given if trickle charger should be enabled
- trickle-diode-disable : ds1339, ds1340 and ds 1388 only - aux-voltage-chargeable: ds1339, ds1340 and ds1388 only
Tells whether the battery/supercap of the RTC (if any) is
chargeable or not.
Possible values are 0 (not chargeable), 1 (chargeable)
Deprecated properties:
- trickle-diode-disable : ds1339, ds1340 and ds1388 only
Do not use internal trickle charger diode Do not use internal trickle charger diode
Should be given if internal trickle charger diode should be disabled Should be given if internal trickle charger diode should be disabled
(superseded by aux-voltage-chargeable)
Example: Example:
ds1339: rtc@68 { ds1339: rtc@68 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment