Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1571091
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] rtc: bq32000: add support to enable disable the trickle charge FET bypass. |
| Date | 2017-01-31 22:10 +0100 |
| Message-ID | <t5NQC-5Az-21@gated-at.bofh.it> (permalink) |
| References | <t4iOS-78e-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.balletbo@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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] rtc: bq32000: add support to enable disable the trickle charge FET bypass. Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-01-31 22:10 +0100
csiph-web