diff options
author | 2016-09-20 17:53:55 +0300 | |
---|---|---|
committer | 2016-11-20 21:22:39 +0900 | |
commit | 541332a13b1ded42097ba96c52c7bc70931e528c (patch) | |
tree | 40ccb2e8f4ff55da6f157211a300599c58c06508 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.9-rc5 (diff) | |
download | wireguard-linux-541332a13b1ded42097ba96c52c7bc70931e528c.tar.xz wireguard-linux-541332a13b1ded42097ba96c52c7bc70931e528c.zip |
extcon: usb-gpio: Add VBUS detection support
Driver can now work with both ID and VBUS pins or either one of
them.
There can be the following 3 cases
1) Both ID and VBUS GPIOs are available:
ID = LOW -> USB_HOST active, USB inactive
ID = HIGH -> USB_HOST inactive, USB state is same as VBUS.
2) Only ID GPIO is available:
ID = LOW -> USB_HOST active, USB inactive
ID = HIGH -> USB_HOST inactive, USB active
3) Only VBUS GPIO is available:
VBUS = LOW -> USB_HOST inactive, USB inactive
VBUS = HIGH -> USB_HOST inactive, USB active
Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions