summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2020-01-15 06:40:46 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2020-01-15 23:37:45 +0300
commitecbc8dd78ed9fab5bc02d8cf2e839a3a0f2cdc5f (patch)
tree3bfde93a72e0d5948776953a9db036b2ed967d25 /tools/perf/scripts/python
parent56900d4541a9e2e9263a2db9246e216edad5f928 (diff)
downloadlinux-ecbc8dd78ed9fab5bc02d8cf2e839a3a0f2cdc5f.tar.xz
power: supply: axp20x_usb_power: Allow offlining
AXP803/AXP813 have a flag that enables/disables the USB power supply input. Allow control of this flag via the ONLINE property on those variants. It may be necessary to offline the USB power supply input when using the USB port in OTG mode, or to allow userspace to disable charging. When the USB VBUS input is disabled via the PATH_SEL bit, the VBUS_USED bit in PWR_INPUT_STATUS is cleared, so there is no change needed when getting the property. Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions