From: Nagarjuna Kristam Date: Mon, 10 Feb 2020 08:11:27 +0000 (+0530) Subject: dt-bindings: phy: tegra-xusb: Add usb-role-switch X-Git-Tag: microblaze-v5.10~1088^2~30^2~1 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=02cd06f2cc627e43206364da769389465bd781f9;p=linux-2.6-microblaze.git dt-bindings: phy: tegra-xusb: Add usb-role-switch Add usb-role-switch property for Tegra210 and Tegra186 platforms. This entry is used by XUSB pad controller driver to register for role changes for OTG/Peripheral capable USB 2 ports. Signed-off-by: Nagarjuna Kristam Acked-by: Thierry Reding Acked-by: Rob Herring Signed-off-by: Thierry Reding --- diff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt b/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt index 7d0089006e67..38c5fa21f435 100644 --- a/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt +++ b/Documentation/devicetree/bindings/phy/nvidia,tegra124-xusb-padctl.txt @@ -184,6 +184,12 @@ Required properties: - "device": for USB device mode - "otg": for USB OTG mode +Required properties for OTG/Peripheral capable USB2 ports: +- usb-role-switch: Boolean property to indicate that the port support OTG or + peripheral mode. If present, the port supports switching between USB host + and peripheral roles. Connector should be added as subnode. + See usb/usb-conn-gpio.txt. + Optional properties: - nvidia,internal: A boolean property whose presence determines that a port is internal. In the absence of this property the port is considered to be