1aca3c354SNeilBrownWhat: /sys/class/power_supply/twl4030_ac/max_current
2aca3c354SNeilBrown      /sys/class/power_supply/twl4030_usb/max_current
3aca3c354SNeilBrownDescription:
4aca3c354SNeilBrown	Read/Write limit on current which may
5aca3c354SNeilBrown	be drawn from the ac (Accessory Charger) or
6aca3c354SNeilBrown	USB port.
7aca3c354SNeilBrown
8aca3c354SNeilBrown	Value is in micro-Amps.
9aca3c354SNeilBrown
10aca3c354SNeilBrown	Value is set automatically to an appropriate
11aca3c354SNeilBrown	value when a cable is plugged or unplugged.
12aca3c354SNeilBrown
13aca3c354SNeilBrown	Value can the set by writing to the attribute.
14aca3c354SNeilBrown	The change will only persist until the next
15aca3c354SNeilBrown	plug event.  These event are reported via udev.
1622d4c33fSNeilBrown
1722d4c33fSNeilBrown
1822d4c33fSNeilBrownWhat: /sys/class/power_supply/twl4030_usb/mode
1922d4c33fSNeilBrownDescription:
2022d4c33fSNeilBrown	Changing mode for USB port.
2122d4c33fSNeilBrown	Writing to this can disable charging.
2222d4c33fSNeilBrown
2322d4c33fSNeilBrown	Possible values are:
2422d4c33fSNeilBrown		"auto" - draw power as appropriate for detected
2522d4c33fSNeilBrown			 power source and battery status.
2622d4c33fSNeilBrown		"off"  - do not draw any power.
277f4a633dSNeilBrown		"continuous"
287f4a633dSNeilBrown		       - activate mode described as "linear" in
297f4a633dSNeilBrown		         TWL data sheets.  This uses whatever
307f4a633dSNeilBrown			 current is available and doesn't switch off
317f4a633dSNeilBrown			 when voltage drops.
327f4a633dSNeilBrown
337f4a633dSNeilBrown			 This is useful for unstable power sources
347f4a633dSNeilBrown			 such as bicycle dynamo, but care should
357f4a633dSNeilBrown			 be taken that battery is not over-charged.
36