summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ds1742.c
diff options
context:
space:
mode:
authorAndrej Picej <andrej.picej@norik.com>2023-06-23 10:15:33 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2023-07-27 23:13:12 +0200
commit3c87b351809f220294aec3c0df7b078ff5c5b15b (patch)
tree94040368da57c014ec7fa30eff8c9ffbc5f45e04 /drivers/rtc/rtc-ds1742.c
parent766c3f8a092b4d42abd68ee0338349838430a5ee (diff)
rtc: rv3028: Add support for "aux-voltage-chargeable" property
Property "trickle-resistor-ohms" allows us to set trickle charger resistor. However there is no possibility to disable it afterwards. Add support for "aux-voltage-chargeable" property which can be used to enable/disable the trickle charger circuit explicitly. The default behavior of the code is kept as it is! Additionally, lets make sure we only update internal EEPROM in case of a change. This prevents wear due to excessive EEPROM writes on each probe. Signed-off-by: Andrej Picej <andrej.picej@norik.com> Link: https://lore.kernel.org/r/20230623081533.76334-1-andrej.picej@norik.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1742.c')
0 files changed, 0 insertions, 0 deletions