aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYossi Mansharoff <yossim@codeaurora.org>2018-04-17 09:53:25 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-25 08:10:32 -0400
commit7eced58dbf1056e6a25153ab2d5c068442e33446 (patch)
tree29b39551029830e7c76b397caace0e8b45d21133
parent6e01827ed93947895680fbdad68c072a0f4e2450 (diff)
doc: usb: ci-hdrc-usb2: Add property "mux-controls"
The chipidea usb controller may be connected, in some platforms, to an external mux to toggle between different usb ports for different roles (host and device). The mux-controller property, if set, binds the chipidea usb controller with a mux for this use. Signed-off-by: Yossi Mansharoff <yossim@codeaurora.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
index 0e03344e2e8b..2e9318151df7 100644
--- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
@@ -76,6 +76,10 @@ Optional properties:
76 needs to make sure it does not send more than 90% 76 needs to make sure it does not send more than 90%
77 maximum_periodic_data_per_frame. The use case is multiple transactions, but 77 maximum_periodic_data_per_frame. The use case is multiple transactions, but
78 less frame rate. 78 less frame rate.
79- mux-controls: The mux control for toggling host/device output of this
80 controller. It's expected that a mux state of 0 indicates device mode and a
81 mux state of 1 indicates host mode.
82- mux-control-names: Shall be "usb_switch" if mux-controls is specified.
79 83
80i.mx specific properties 84i.mx specific properties
81- fsl,usbmisc: phandler of non-core register device, with one 85- fsl,usbmisc: phandler of non-core register device, with one
@@ -102,4 +106,6 @@ Example:
102 rx-burst-size-dword = <0x10>; 106 rx-burst-size-dword = <0x10>;
103 extcon = <0>, <&usb_id>; 107 extcon = <0>, <&usb_id>;
104 phy-clkgate-delay-us = <400>; 108 phy-clkgate-delay-us = <400>;
109 mux-controls = <&usb_switch>;
110 mux-control-names = "usb_switch";
105 }; 111 };