diff options
author | Andrej Picej <[email protected]> | 2023-06-23 10:15:33 +0200 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-07-27 23:13:12 +0200 |
commit | 3c87b351809f220294aec3c0df7b078ff5c5b15b (patch) | |
tree | 94040368da57c014ec7fa30eff8c9ffbc5f45e04 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 766c3f8a092b4d42abd68ee0338349838430a5ee (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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions