Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
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.
|
|
====== ===========================================
|