devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping
@ 2018-12-19 14:59 Marco Felsch
  2018-12-19 14:59 ` [PATCH 2/2] usb: usb251xb: add usb data lane port swap feature Marco Felsch
  2018-12-28 23:45 ` [PATCH 1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping Rob Herring
  0 siblings, 2 replies; 6+ messages in thread
From: Marco Felsch @ 2018-12-19 14:59 UTC (permalink / raw)
  To: richard.leitner, robh, fancer.lancer; +Cc: kernel, linux-usb, devicetree

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>
---
 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..aec93a92870d 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).
+ - sw-dx-lanes-ports : 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 */
+		sw-dx-lanes-ports = <1 2>;
 	};
-- 
2.19.1

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

end of thread, other threads:[~2019-01-03 13:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-19 14:59 [PATCH 1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping Marco Felsch
2018-12-19 14:59 ` [PATCH 2/2] usb: usb251xb: add usb data lane port swap feature Marco Felsch
2018-12-28 23:45 ` [PATCH 1/2] dt-bindings: usb: usb251xb: add documentation for data lane swapping Rob Herring
2018-12-31 11:05   ` Marco Felsch
2019-01-02  5:44     ` Richard Leitner
2019-01-03 13:58       ` 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).