netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap binding
@ 2017-02-07  5:21 Lukasz Majewski
  2017-02-07 13:02 ` Andrew Lunn
  2017-02-07 18:59 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Lukasz Majewski @ 2017-02-07  5:21 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, David S. Miller, Florian Fainelli,
	jbrunet, Andrew Lunn
  Cc: linux-kernel, devicetree, netdev, Uwe Kleine-König,
	Martin Blumenstingl, Jon Mason, Fabio Estevam, Lukasz Majewski

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>

---
Changes for v3:
- Change binding to property
---
 Documentation/devicetree/bindings/net/phy.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/phy.txt b/Documentation/devicetree/bindings/net/phy.txt
index fb5056b..b558576 100644
--- a/Documentation/devicetree/bindings/net/phy.txt
+++ b/Documentation/devicetree/bindings/net/phy.txt
@@ -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:
-- 
2.1.4

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

end of thread, other threads:[~2017-02-07 18:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-07  5:21 [PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap binding Lukasz Majewski
2017-02-07 13:02 ` Andrew Lunn
2017-02-07 18:59 ` David Miller

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).