Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1571091 > unrolled thread

Re: [PATCH] rtc: bq32000: add support to enable disable the trickle charge FET bypass.

Started byAlexandre Belloni <alexandre.belloni@free-electrons.com>
First post2017-01-31 22:10 +0100
Last post2017-01-31 22:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#1571091 — Re: [PATCH] rtc: bq32000: add support to enable disable the trickle charge FET bypass.

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2017-01-31 22:10 +0100
SubjectRe: [PATCH] rtc: bq32000: add support to enable disable the trickle charge FET bypass.
Message-ID<t5NQC-5Az-21@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web