🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Ioana Ciornei Wed, 18 Nov 2026 16:31
[PATCH 1/3] dt-bindings: phy: lynx: allow downstream phys on the lane nodes
#18635
Author: Ioana Ciornei
Date: Wed, 18 Nov 2026 16:31
128 lines
20084 bytes
A SerDes lane can be connected to the connector through other PHYs. For
example, the DS125DF111 retimer on the LS1088ARDB has one channel per
direction, each channel being modeled with its own PHY device, so the
lane is connected to two of its channels.

Allow a "phys" property in the lane sub-nodes of both the Lynx 10G and
the Lynx 28G bindings.

Also allow an optional "phy-names", with one name per entry of "phys",
so that a board can name the channels, for example "tx" and "rx". The
names are only descriptive: the entries are used by index, and no
particular names are required.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
 .../devicetree/bindings/phy/fsl,lynx-10g.yaml | 27 +++++++++++++++++++
 .../devicetree/bindings/phy/fsl,lynx-28g.yaml | 27 +++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/fsl,lynx-10g.yaml b/Documentation/devicetree/bindings/phy/fsl,lynx-10g.yaml
index 2e7d0abfa71a..a4592e02f972 100644
--- a/Documentation/devicetree/bindings/phy/fsl,lynx-10g.yaml
+++ b/Documentation/devicetree/bindings/phy/fsl,lynx-10g.yaml
@@ -57,10 +57,24 @@ patternProperties:
       "#phy-cells":
         const: 0
 
+      phys:
+        description:
+          PHYs on the signal path between the lane and the connector, such as a
+          signal retimer. A retimer can be modeled with a PHY device per
+          channel / direction.
+
+      phy-names:
+        description:
+          Optional names for the entries of "phys", for example to tell the
+          channels of a retimer apart.
+
     required:
       - reg
       - "#phy-cells"
 
+    dependencies:
+      phy-names: [ phys ]
+
     additionalProperties: false
 
 required:
@@ -119,6 +133,8 @@ examples:
         phy@0 {
           reg = <0>;
           #phy-cells = <0>;
+          phys = <&retimer 0>, <&retimer 1>;
+          phy-names = "tx", "rx";
         };
 
         phy@1 {
@@ -137,3 +153,14 @@ examples:
         };
       };
     };
+
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      retimer: retimer@18 {
+        compatible = "ti,ds125df111";
+        reg = <0x18>;
+        #phy-cells = <1>;
+      };
+    };
diff --git a/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml b/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml
index d73591315d4b..5d2505fe2fcc 100644
--- a/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml
+++ b/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml
@@ -67,10 +67,24 @@ patternProperties:
       "#phy-cells":
         const: 0
 
+      phys:
+        description:
+          PHYs on the signal path between the lane and the connector, such as a
+          signal retimer. A retimer can be modeled with a PHY device per
+          channel / direction.
+
+      phy-names:
+        description:
+          Optional names for the entries of "phys", for example to tell the
+          channels of a retimer apart.
+
     required:
       - reg
       - "#phy-cells"
 
+    dependencies:
+      phy-names: [ phys ]
+
     additionalProperties: false
 
 required:
@@ -111,6 +125,8 @@ examples:
         phy@0 {
           reg = <0>;
           #phy-cells = <0>;
+          phys = <&retimer 0>, <&retimer 1>;
+          phy-names = "tx", "rx";
         };
 
         phy@1 {
@@ -149,3 +165,14 @@ examples:
         };
       };
     };
+
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      retimer: retimer@18 {
+        compatible = "ti,ds125df111";
+        reg = <0x18>;
+        #phy-cells = <1>;
+      };
+    };
-- 
2.25.1
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads