]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Documentation: devicetree: Add PHY no lane swap binding
authorLukasz Majewski <lukma@denx.de>
Tue, 7 Feb 2017 05:21:34 +0000 (06:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 18:59:27 +0000 (13:59 -0500)
Add the documentation to avoid PHY lane swapping. This is a boolean
entry to notify the phy device drivers that the TX/RX lanes NO need
to be swapped.
The use case for this binding mostly happens after wrong HW
configuration of PHY IC during bootstrap.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/phy.txt

index fb5056b22685c249c9bf812a1ada038070d8c03d..b55857696fc315dc5c1cfad52bb4f40d152e9b8d 100644 (file)
@@ -39,6 +39,10 @@ Optional Properties:
 - enet-phy-lane-swap: If set, indicates the PHY will swap the TX/RX lanes to
   compensate for the board being designed with the lanes swapped.
 
+- enet-phy-lane-no-swap: If set, indicates that PHY will disable swap of the
+  TX/RX lanes. This property allows the PHY to work correcly after e.g. wrong
+  bootstrap configuration caused by issues in PCB layout design.
+
 - eee-broken-100tx:
 - eee-broken-1000t:
 - eee-broken-10gt: