Thread (21 messages) 21 messages, 4 authors, 2025-08-27

Re: [PATCH net-next v11 06/16] dt-bindings: net: dp83822: Deprecate ti,fiber-mode

From: Rob Herring <robh@kernel.org>
Date: 2025-08-14 22:34:28
Also in: linux-arm-kernel, linux-arm-msm, linux-devicetree, lkml

On Thu, Aug 14, 2025 at 03:58:21PM +0200, Maxime Chevallier wrote:
quoted hunk ↗ jump to hunk
The newly added ethernet-connector binding allows describing an Ethernet
connector with greater precision, and in a more generic manner, than
ti,fiber-mode. Deprecate this property.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
---
 .../devicetree/bindings/net/ti,dp83822.yaml    | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/ti,dp83822.yaml b/Documentation/devicetree/bindings/net/ti,dp83822.yaml
index 28a0bddb9af9..c1fd6f0a8ce5 100644
--- a/Documentation/devicetree/bindings/net/ti,dp83822.yaml
+++ b/Documentation/devicetree/bindings/net/ti,dp83822.yaml
@@ -47,6 +47,9 @@ properties:
        is disabled.
        In fiber mode, auto-negotiation is disabled and the PHY can only work in
        100base-fx (full and half duplex) modes.
+       This property is deprecated, for details please refer to
+       Documentation/devicetree/bindings/net/ethernet-connector.yaml
+    deprecated: true
 
   rx-internal-delay-ps:
     description: |
@@ -143,5 +146,20 @@ examples:
         mac-termination-ohms = <43>;
       };
     };
+  - |
+    mdio1 {
+      #address-cells = <1>;
+      #size-cells = <0>;
+      fiberphy0: ethernet-phy@0 {
+        reg = <0>;
+        mdi {
+          connector-0 {
+            lanes = <1>;
+            media = "BaseF";
+          };
If you respin, just add this to the existing example.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help