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

Maxime Chevallier posted 16 patches 1 month, 3 weeks ago
There is a newer version of this series
[PATCH net-next v11 06/16] dt-bindings: net: dp83822: Deprecate ti,fiber-mode
Posted by Maxime Chevallier 1 month, 3 weeks ago
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";
+          };
+        };
+      };
+    };
+
 
 ...
-- 
2.49.0
Re: [PATCH net-next v11 06/16] dt-bindings: net: dp83822: Deprecate ti,fiber-mode
Posted by Rob Herring 1 month, 2 weeks ago
On Thu, Aug 14, 2025 at 03:58:21PM +0200, Maxime Chevallier wrote:
> 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>