diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-11-19 18:00:04 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-12-19 01:07:53 +0100 |
commit | a3d70dacc727ada212aecb8d131a3910622763d6 (patch) | |
tree | e0af520b3031f90e7189a5516caa17b6c9b4fee3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3c9c2d08128a510f67c5443387af5e2176407596 (diff) |
power: suppy: ucs1002: disable power when max current is 0
For some devices userspace needs the ability to completely cut the power
to the USB devices connected to the charge controller. An easy way to
achieve this is by allowing 0 as a valid max current and forcibly disable
the output in that case, as well as enable it again if the regulator is
in use and a non-0 max current is set.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions