Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575387 > unrolled thread

[PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap binding

Started byLukasz Majewski <lukma@denx.de>
First post2017-02-07 06:30 +0100
Last post2017-02-07 20:00 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap binding Lukasz Majewski <lukma@denx.de> - 2017-02-07 06:30 +0100
    Re: [PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap  binding Andrew Lunn <andrew@lunn.ch> - 2017-02-07 14:10 +0100
    Re: [PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap  binding David Miller <davem@davemloft.net> - 2017-02-07 20:00 +0100

#1575387 — [PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap binding

FromLukasz Majewski <lukma@denx.de>
Date2017-02-07 06:30 +0100
Subject[PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap binding
Message-ID<t86vM-6Us-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1575693 — Re: [PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap binding

FromAndrew Lunn <andrew@lunn.ch>
Date2017-02-07 14:10 +0100
SubjectRe: [PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap binding
Message-ID<t8dGY-3hn-75@gated-at.bofh.it>
In reply to#1575387
On Tue, Feb 07, 2017 at 06:21:34AM +0100, Lukasz Majewski wrote:
> 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.

Ah! O.K. Something odd going on with the threading of the patches. 1/3
seems to be last!

> Signed-off-by: Lukasz Majewski <lukma@denx.de>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

[toc] | [prev] | [next] | [standalone]


#1575955 — Re: [PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap binding

FromDavid Miller <davem@davemloft.net>
Date2017-02-07 20:00 +0100
SubjectRe: [PATCH v3 1/3] Documentation: devicetree: Add PHY no lane swap binding
Message-ID<t8j9E-6xS-9@gated-at.bofh.it>
In reply to#1575387
From: Lukasz Majewski <lukma@denx.de>
Date: Tue,  7 Feb 2017 06:21:34 +0100

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

Applied.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web