summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2016-03-16 17:22:58 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:25:47 -0700
commit55b75e7aa83150599640c81a40794218b535cee5 (patch)
tree313bfe17216df2235c3472540bfdceb918984671 /Documentation
parentc8b93defaed57ce2c5c1c445768a81ae096cb3ac (diff)
usb: dwc3: msm: add extcon support
Add extcon listeners for EXTCON_USB and EXTCON_USB_HOST cable types to be notified of VBUS and ID notifications respectively. Upon notification this will start the controller in either peripheral or host mode. This replaces the handling previously done in the power_supply set_property() callback for PROP_PRESENT and PROP_USB_OTG. The usb_psy will be removed in its entirety following this patch. Change-Id: I22405a0a8da21b4c373895500d8dc4c91d97bc51 Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/usb/msm-ssusb.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/msm-ssusb.txt b/Documentation/devicetree/bindings/usb/msm-ssusb.txt
index 1ca68becb29e..7d323b91f031 100644
--- a/Documentation/devicetree/bindings/usb/msm-ssusb.txt
+++ b/Documentation/devicetree/bindings/usb/msm-ssusb.txt
@@ -41,6 +41,12 @@ Optional properties :
- qcom,disable-dev-mode-pm: If present, it disables PM runtime functionality for device mode.
- qcom,disable-host-mode-pm: If present, it disables XHCI PM runtime functionality when USB
host mode is used.
+- extcon: phandles to external connector devices. First phandle should point to
+ external connector, which provide "USB" cable events, the second
+ should point to external connector device, which provide "USB-HOST"
+ cable events. A single phandle may be specified if a single connector
+ device provides both "USB" and "USB-HOST" events.
+
Sub nodes:
- Sub node for "DWC3- USB3 controller".
This sub node is required property for device node. The properties of this subnode