aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2020-01-14 21:40:46 -0600
committerSebastian Reichel <[email protected]>2020-01-15 21:37:45 +0100
commitecbc8dd78ed9fab5bc02d8cf2e839a3a0f2cdc5f (patch)
tree3bfde93a72e0d5948776953a9db036b2ed967d25 /tools/perf/util/c++/clang-test.cpp
parent56900d4541a9e2e9263a2db9246e216edad5f928 (diff)
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 <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions