On 27/01/2017 at 18:43:46 +0100, Enric Balletbo i Serra wrote: > 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.balle...@collabora.com> > --- > .../ABI/testing/sysfs-bus-i2c-devices-bq32k | 7 ++ > drivers/rtc/rtc-bq32k.c | 76 > ++++++++++++++++++++++ > 2 files changed, 83 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-bus-i2c-devices-bq32k > Applied, thanks.
-- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com