summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2017-01-25 18:27:44 -0800
committerJack Pham <jackp@codeaurora.org>2017-01-25 18:27:57 -0800
commit44e0fb6162b738b98a09d918d61331e7aa1dd341 (patch)
treec4b6e6ba62dbc2bfc032164595dce8002482b27f /tools/perf/scripts/python
parent314869eb56763d34f91d5483b0d510267894fadd (diff)
usb: pd: Ensure VBUS is below 0.8V before turning it on
The Type-C spec requires that VBUS must not be enabled as a source if there is already a voltage > VSafe0V. To address this, add a polling loop that checks PROP_VOLTAGE_NOW to ensure it has fallen below 0.8V before enabling the VBUS regulator. Change-Id: Idd3ebd185d6bbed15b6ac700cb2cf4af428210ee Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions