aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/usb
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2019-01-16 15:20:36 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-18 10:00:49 +0100
commit5d6353fe6984e7c3c41dae47aa38ee9c8ddaebd8 (patch)
treee7b32b85551509acbcce87410385e44b54f1a1c4 /Documentation/devicetree/bindings/usb
parentusb: renesas_usbhs: replace udelay() with usleep_range() (diff)
downloadlinux-dev-5d6353fe6984e7c3c41dae47aa38ee9c8ddaebd8.tar.xz
linux-dev-5d6353fe6984e7c3c41dae47aa38ee9c8ddaebd8.zip
dt-bindings: usb: usb251xb: add documentation for data lane swapping
Add optional binding to allow USB differential-pair (D+/D-) data lane swapping. The swapping can be specified for each port separately, default is no swapping. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Richard Leitner <richard.leitner@skidata.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r--Documentation/devicetree/bindings/usb/usb251xb.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb251xb.txt b/Documentation/devicetree/bindings/usb/usb251xb.txt
index 168ff819e827..17915f64b8ee 100644
--- a/Documentation/devicetree/bindings/usb/usb251xb.txt
+++ b/Documentation/devicetree/bindings/usb/usb251xb.txt
@@ -64,6 +64,8 @@ Optional properties :
- power-on-time-ms : Specifies the time it takes from the time the host
initiates the power-on sequence to a port until the port has adequate
power. The value is given in ms in a 0 - 510 range (default is 100ms).
+ - swap-dx-lanes : Specifies the ports which will swap the differential-pair
+ (D+/D-), default is not-swapped.
Examples:
usb2512b@2c {
@@ -81,4 +83,6 @@ Examples:
manufacturer = "Foo";
product = "Foo-Bar";
serial = "1234567890A";
+ /* correct misplaced usb connectors on port 1,2 */
+ swap-dx-lanes = <1 2>;
};