public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 1/4] dt-bindings: net: ethernet-phy: add property enet-phy-lane-order
@ 2026-02-02 20:04 Damien Dejean
  2026-02-02 20:04 ` [PATCH v5 2/4] net: phy: realtek: add RTL8224 pair order support Damien Dejean
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Damien Dejean @ 2026-02-02 20:04 UTC (permalink / raw)
  To: andrew, krzk+dt, robh, kuba
  Cc: netdev, devicetree, linux-kernel, edumazet, davem, pabeni,
	hkallweit1, Damien Dejean

Add property enet-phy-lane-order to the device tree bindings to define
the lane order of the PHY. To simplify PCB design some manufacturers
allow to wire the pairs in a reverse order, and change the order in
software.

The property can be set to 0 to force the normal lane order (ABCD), or 1
to force the reverse lane order (DCBA).

Signed-off-by: Damien Dejean <dam.dejean@gmail.com>
---
 Documentation/devicetree/bindings/net/ethernet-phy.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
index 58634fee9fc4..8347d4e134d2 100644
--- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
@@ -126,6 +126,12 @@ properties:
       e.g. wrong bootstrap configuration caused by issues in PCB
       layout design.
 
+  enet-phy-lane-order:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    enum: [0, 1]
+    description:
+      For normal (0) or reverse (1) order of the pairs (ABCD -> DCBA).
+
   eee-broken-100tx:
     $ref: /schemas/types.yaml#/definitions/flag
     description:
-- 
2.47.3


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

end of thread, other threads:[~2026-02-03  9:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 20:04 [PATCH v5 1/4] dt-bindings: net: ethernet-phy: add property enet-phy-lane-order Damien Dejean
2026-02-02 20:04 ` [PATCH v5 2/4] net: phy: realtek: add RTL8224 pair order support Damien Dejean
2026-02-02 20:04 ` [PATCH v5 3/4] dt-bindings: net: ethernet-phy: add property enet-phy-lane-polarity Damien Dejean
2026-02-02 20:04 ` [PATCH v5 4/4] net: phy: realtek: add RTL8224 polarity support Damien Dejean
2026-02-03  9:09 ` [PATCH v5 1/4] dt-bindings: net: ethernet-phy: add property enet-phy-lane-order Maxime Chevallier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox