linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [v3,1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping
@ 2019-01-16 14:20 Marco Felsch
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Felsch @ 2019-01-16 14:20 UTC (permalink / raw)
  To: richard.leitner, robh, fancer.lancer
  Cc: devicetree, linux-usb, kernel, gregkh

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(+)

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [v3,1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping
@ 2019-01-16 20:56 Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2019-01-16 20:56 UTC (permalink / raw)
  To: Marco Felsch
  Cc: richard.leitner, robh, fancer.lancer, devicetree, linux-usb,
	kernel, gregkh

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-16 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-16 20:56 [v3,1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping Rob Herring
  -- strict thread matches above, loose matches on Subject: below --
2019-01-16 14:20 Marco Felsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).