summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-class-power-twl4030
blob: 7ac36dba87bc04d7297df37ee37140e4d8c497d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
What: /sys/class/power_supply/twl4030_usb/mode
Description:
	Changing mode for USB 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.
		"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.
		=============	===========================================

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.
		======	===========================================