diff options
author | NeilBrown <neil@brown.name> | 2015-07-30 10:11:24 +1000 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-08-05 05:21:32 +0200 |
commit | 7f4a633d21331155ee06c5ee44749ed35a3a3cc5 (patch) | |
tree | 6ea5515851e6e238c9d381df5eb5fd73ab4bf4bd /Documentation/ABI | |
parent | 22d4c33f7335ddf6deda26630c78650e133bfe72 (diff) | |
download | linux-stable-7f4a633d21331155ee06c5ee44749ed35a3a3cc5.tar.gz linux-stable-7f4a633d21331155ee06c5ee44749ed35a3a3cc5.tar.bz2 linux-stable-7f4a633d21331155ee06c5ee44749ed35a3a3cc5.zip |
twl4030_charger: add software controlled linear charging mode.
Add a 'continuous' option for usb charging which enables
the "linear" charging mode of the twl4030.
Linear charging does a good job with not-so-reliable power sources.
Auto mode does not work well as it switches off when voltage drops
momentarily. Care must be taken not to over-charge.
It was used with a bike hub dynamo since a year or so. In that case
there are automatically charging stops when the cyclist needs a break.
Original-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-power-twl4030 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-power-twl4030 b/Documentation/ABI/testing/sysfs-class-power-twl4030 index 40e0f919cbde..e8baa36aaa2b 100644 --- a/Documentation/ABI/testing/sysfs-class-power-twl4030 +++ b/Documentation/ABI/testing/sysfs-class-power-twl4030 @@ -24,3 +24,12 @@ Description: "auto" - draw power as appropriate for detected power source and battery status. "off" - do not draw any power. + "continuous" + - activate mode described as "linear" in + TWL data sheets. This uses whatever + current is available and doesn't switch off + when voltage drops. + + This is useful for unstable power sources + such as bicycle dynamo, but care should + be taken that battery is not over-charged. |