diff options
author | NeilBrown <neil@brown.name> | 2015-07-30 02:11:24 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-08-05 05:21:57 +0200 |
commit | b04b908d8a2901c2cc59db87defd9c08bd4293cc (patch) | |
tree | cc66542acca233a902d606d775b66c31a42193f9 /Documentation/ABI/testing/sysfs-class-power-twl4030 | |
parent | twl4030_charger: add software controlled linear charging mode. (diff) | |
download | linux-b04b908d8a2901c2cc59db87defd9c08bd4293cc.tar.xz linux-b04b908d8a2901c2cc59db87defd9c08bd4293cc.zip |
twl4030_charger: add ac/mode to match usb/mode
This allows AC charging to be turned off, much like usb charging.
"continuous" mode is not available though.
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-power-twl4030')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-power-twl4030 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-power-twl4030 b/Documentation/ABI/testing/sysfs-class-power-twl4030 index e8baa36aaa2b..be26af0f1895 100644 --- a/Documentation/ABI/testing/sysfs-class-power-twl4030 +++ b/Documentation/ABI/testing/sysfs-class-power-twl4030 @@ -33,3 +33,13 @@ Description: This is useful for unstable power sources such as bicycle dynamo, but care should be taken that battery is not over-charged. + +What: /sys/class/power_supply/twl4030_ac/mode +Description: + Changing mode for 'ac' port. + Writing to this can disable charging. + + Possible values are: + "auto" - draw power as appropriate for detected + power source and battery status. + "off" - do not draw any power. |