]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - Documentation/ABI/testing/sysfs-class-power-twl4030
Merge tag 'renesas-fixes-for-v4.13' of https://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-bionic-kernel.git] / Documentation / ABI / testing / sysfs-class-power-twl4030
1 What: /sys/class/power_supply/twl4030_usb/mode
2 Description:
3 Changing mode for USB port.
4 Writing to this can disable charging.
5
6 Possible values are:
7 "auto" - draw power as appropriate for detected
8 power source and battery status.
9 "off" - do not draw any power.
10 "continuous"
11 - activate mode described as "linear" in
12 TWL data sheets. This uses whatever
13 current is available and doesn't switch off
14 when voltage drops.
15
16 This is useful for unstable power sources
17 such as bicycle dynamo, but care should
18 be taken that battery is not over-charged.
19
20 What: /sys/class/power_supply/twl4030_ac/mode
21 Description:
22 Changing mode for 'ac' port.
23 Writing to this can disable charging.
24
25 Possible values are:
26 "auto" - draw power as appropriate for detected
27 power source and battery status.
28 "off" - do not draw any power.