18c2ecf20Sopenharmony_ciWhat: /sys/class/power_supply/twl4030_usb/mode
28c2ecf20Sopenharmony_ciDescription:
38c2ecf20Sopenharmony_ci	Changing mode for USB port.
48c2ecf20Sopenharmony_ci	Writing to this can disable charging.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci	Possible values are:
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci		=============	===========================================
98c2ecf20Sopenharmony_ci		"auto"		draw power as appropriate for detected
108c2ecf20Sopenharmony_ci				power source and battery status.
118c2ecf20Sopenharmony_ci		"off"		do not draw any power.
128c2ecf20Sopenharmony_ci		"continuous"	activate mode described as "linear" in
138c2ecf20Sopenharmony_ci				TWL data sheets.  This uses whatever
148c2ecf20Sopenharmony_ci				current is available and doesn't switch off
158c2ecf20Sopenharmony_ci				when voltage drops.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci				This is useful for unstable power sources
188c2ecf20Sopenharmony_ci				such as bicycle dynamo, but care should
198c2ecf20Sopenharmony_ci				be taken that battery is not over-charged.
208c2ecf20Sopenharmony_ci		=============	===========================================
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciWhat: /sys/class/power_supply/twl4030_ac/mode
238c2ecf20Sopenharmony_ciDescription:
248c2ecf20Sopenharmony_ci	Changing mode for 'ac' port.
258c2ecf20Sopenharmony_ci	Writing to this can disable charging.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci	Possible values are:
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci		======	===========================================
308c2ecf20Sopenharmony_ci		"auto"	draw power as appropriate for detected
318c2ecf20Sopenharmony_ci			power source and battery status.
328c2ecf20Sopenharmony_ci		"off"	do not draw any power.
338c2ecf20Sopenharmony_ci		======	===========================================
34