xref: /linux/Documentation/ABI/testing/sysfs-class-power-twl4030 (revision 22d4c33f7335ddf6deda26630c78650e133bfe72)
1What: /sys/class/power_supply/twl4030_ac/max_current
2      /sys/class/power_supply/twl4030_usb/max_current
3Description:
4	Read/Write limit on current which may
5	be drawn from the ac (Accessory Charger) or
6	USB port.
7
8	Value is in micro-Amps.
9
10	Value is set automatically to an appropriate
11	value when a cable is plugged or unplugged.
12
13	Value can the set by writing to the attribute.
14	The change will only persist until the next
15	plug event.  These event are reported via udev.
16
17
18What: /sys/class/power_supply/twl4030_usb/mode
19Description:
20	Changing mode for USB port.
21	Writing to this can disable charging.
22
23	Possible values are:
24		"auto" - draw power as appropriate for detected
25			 power source and battery status.
26		"off"  - do not draw any power.
27