diff mbox series

[v3,1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping

Message ID 20190116142037.10086-1-m.felsch@pengutronix.de (mailing list archive)
State Mainlined
Commit 5d6353fe6984e7c3c41dae47aa38ee9c8ddaebd8
Headers show
Series [v3,1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping | expand

Commit Message

Marco Felsch Jan. 16, 2019, 2:20 p.m. UTC
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>
---
Changes:
v3:
 - no changes
v2:
 - rename property s/sw-dx-lanes-ports/swap-dx-lanes

 Documentation/devicetree/bindings/usb/usb251xb.txt | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Rob Herring (Arm) Jan. 16, 2019, 8:56 p.m. UTC | #1
On Wed, 16 Jan 2019 15:20:36 +0100, Marco Felsch wrote:
> 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>
> ---
> Changes:
> v3:
>  - no changes
> v2:
>  - rename property s/sw-dx-lanes-ports/swap-dx-lanes
> 
>  Documentation/devicetree/bindings/usb/usb251xb.txt | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

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>;
 	};