[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170131210304.duztjh4k55yvxrvs@piout.net>
Date: Tue, 31 Jan 2017 22:03:04 +0100
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Enric Balletbo i Serra <enric.balletbo@...labora.com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
linux-kernel@...r.kernel.org, rtc-linux@...glegroups.com
Subject: Re: [PATCH] rtc: bq32000: add support to enable disable the trickle
charge FET bypass.
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@...labora.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
Powered by blists - more mailing lists