diff options
author | Chunfeng Yun <[email protected]> | 2019-08-29 17:22:28 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-09-03 16:00:39 +0200 |
commit | 451d15a1731c7db9d4868ea084174346e8ffe0dd (patch) | |
tree | 67bc60530fbb29e20acf0476118dee0af86a2b69 | |
parent | ea44d190764b4422af4d1c29eaeb9e69e353b406 (diff) |
dt-binding: usb: add usb-role-switch property
Add a property usb-role-switch to tell the driver that use
USB Role Switch framework to handle the role switch,
it's useful when the driver has already supported other ways,
such as extcon framework etc.
Cc: Biju Das <[email protected]>
Cc: Yu Chen <[email protected]>
Signed-off-by: Chunfeng Yun <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/usb/generic.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/generic.txt b/Documentation/devicetree/bindings/usb/generic.txt index 0a74ab8dfdc2..cf5a1ad456e6 100644 --- a/Documentation/devicetree/bindings/usb/generic.txt +++ b/Documentation/devicetree/bindings/usb/generic.txt @@ -30,6 +30,10 @@ Optional properties: optional for OTG device. - adp-disable: tells OTG controllers we want to disable OTG ADP, ADP is optional for OTG device. + - usb-role-switch: boolean, indicates that the device is capable of assigning + the USB data role (USB host or USB device) for a given + USB connector, such as Type-C, Type-B(micro). + see connector/usb-connector.txt. This is an attribute to a USB controller such as: |