diff options
author | Roger Quadros <rogerq@ti.com> | 2015-08-03 14:40:51 (GMT) |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-08-10 12:26:25 (GMT) |
commit | 92b7cb5dc885b38b21093eefed8028b615952965 (patch) | |
tree | de56922baf3fee8dd9ec7c7f9a43599de61c07f0 /Documentation/devicetree/bindings/extcon | |
parent | a598af7f0279195abffbfb9bf2070457e9c89ff3 (diff) | |
download | linux-92b7cb5dc885b38b21093eefed8028b615952965.tar.xz |
extcon: palmas: Support GPIO based USB ID detection
Some palmas based chip variants do not have OTG based ID logic.
For these variants we rely on GPIO based USB ID detection.
These chips do have VBUS comparator for VBUS detection so we
continue to use the old way of detecting VBUS.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'Documentation/devicetree/bindings/extcon')
-rw-r--r-- | Documentation/devicetree/bindings/extcon/extcon-palmas.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/extcon/extcon-palmas.txt b/Documentation/devicetree/bindings/extcon/extcon-palmas.txt index 45414bb..f61d5af 100644 --- a/Documentation/devicetree/bindings/extcon/extcon-palmas.txt +++ b/Documentation/devicetree/bindings/extcon/extcon-palmas.txt @@ -10,8 +10,11 @@ Required Properties: Optional Properties: - ti,wakeup : To enable the wakeup comparator in probe - - ti,enable-id-detection: Perform ID detection. + - ti,enable-id-detection: Perform ID detection. If id-gpio is specified + it performs id-detection using GPIO else using OTG core. - ti,enable-vbus-detection: Perform VBUS detection. + - id-gpio: gpio for GPIO ID detection. See gpio binding. + - debounce-delay-ms: debounce delay for GPIO ID pin in milliseconds. palmas-usb { compatible = "ti,twl6035-usb", "ti,palmas-usb"; |