diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2017-01-27 18:43:46 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-02-01 12:44:23 +0100 |
commit | 4c466872d8ae8e3cdc3e5e1a47e28a15e3020d8b (patch) | |
tree | 12e1940455bb76c712476e5ef2e66244c09b68f0 /kernel | |
parent | rtc: sun6i: Switch to devm_rtc_device_register (diff) | |
download | linux-4c466872d8ae8e3cdc3e5e1a47e28a15e3020d8b.tar.xz linux-4c466872d8ae8e3cdc3e5e1a47e28a15e3020d8b.zip |
rtc: bq32000: add support to enable disable the trickle charge FET bypass
The bq32000 includes a trickle charge circuit to maintain the charge of the
backup supply when a super capacitor is used.
You can enable the charging circuit by setting 'trickle-resistor-ohms',
additionally you can set TCFE to 1 to bypass the internal diode and boost
the charge voltage of the backup supply. You might want to enable/disable
the TCFE switch from userspace (e.g when device is only connected to a
battery)
This patch introduces a new sysfs entry to enable and disable this FET
form userspace.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions