public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: a7k: use phy handle
@ 2026-01-26 11:36 Elad Nachman
  2026-01-26 19:14 ` Andrew Lunn
  2026-03-02 15:17 ` Gregory CLEMENT
  0 siblings, 2 replies; 3+ messages in thread
From: Elad Nachman @ 2026-01-26 11:36 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, conor+dt, andrew,
	gregory.clement, sebastian.hesselbarth, pali, mrkiko.rs,
	chris.packham, devicetree, linux-kernel, linux-arm-kernel
  Cc: enachman

From: Elad Nachman <enachman@marvell.com>

Documentation/devicetree/bindings/net/ethernet-controller.yaml

  phy:
    : #/properties/phy-handle
    deprecated: true

New dts files should not be using deprecated properties.

What should be used is:

  phy-handle:
    : /schemas/types.yaml#/definitions/phandle
    description:
      Specifies a reference to a node representing a PHY device.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Elad Nachman <enachman@marvell.com>
---
 arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi b/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi
index 2b5ec4a451e3..0cfcf5f6bde1 100644
--- a/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi
@@ -70,7 +70,7 @@ &cp0_eth0 {
 
 &cp0_eth1 {
 	status = "okay";
-	phy = <&phy0>;
+	phy-handle = <&phy0>;
 	phy-mode = "rgmii-id";
 };
 
-- 
2.25.1


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

* Re: [PATCH] arm64: dts: a7k: use phy handle
  2026-01-26 11:36 [PATCH] arm64: dts: a7k: use phy handle Elad Nachman
@ 2026-01-26 19:14 ` Andrew Lunn
  2026-03-02 15:17 ` Gregory CLEMENT
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2026-01-26 19:14 UTC (permalink / raw)
  To: Elad Nachman
  Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, gregory.clement,
	sebastian.hesselbarth, pali, mrkiko.rs, chris.packham, devicetree,
	linux-kernel, linux-arm-kernel

On Mon, Jan 26, 2026 at 01:36:27PM +0200, Elad Nachman wrote:
> From: Elad Nachman <enachman@marvell.com>
> 
> Documentation/devicetree/bindings/net/ethernet-controller.yaml
> 
>   phy:
>     : #/properties/phy-handle
>     deprecated: true
> 
> New dts files should not be using deprecated properties.
> 
> What should be used is:
> 
>   phy-handle:
>     : /schemas/types.yaml#/definitions/phandle
>     description:
>       Specifies a reference to a node representing a PHY device.
> 
> Suggested-by: Andrew Lunn <andrew@lunn.ch>
> Signed-off-by: Elad Nachman <enachman@marvell.com>

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

    Andrew

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

* Re: [PATCH] arm64: dts: a7k: use phy handle
  2026-01-26 11:36 [PATCH] arm64: dts: a7k: use phy handle Elad Nachman
  2026-01-26 19:14 ` Andrew Lunn
@ 2026-03-02 15:17 ` Gregory CLEMENT
  1 sibling, 0 replies; 3+ messages in thread
From: Gregory CLEMENT @ 2026-03-02 15:17 UTC (permalink / raw)
  To: Elad Nachman, robh+dt, krzysztof.kozlowski+dt, conor+dt, andrew,
	sebastian.hesselbarth, pali, mrkiko.rs, chris.packham, devicetree,
	linux-kernel, linux-arm-kernel
  Cc: enachman

Elad Nachman <enachman@marvell.com> writes:

> From: Elad Nachman <enachman@marvell.com>
>
> Documentation/devicetree/bindings/net/ethernet-controller.yaml
>
>   phy:
>     : #/properties/phy-handle
>     deprecated: true
>
> New dts files should not be using deprecated properties.
>
> What should be used is:
>
>   phy-handle:
>     : /schemas/types.yaml#/definitions/phandle
>     description:
>       Specifies a reference to a node representing a PHY device.
>
> Suggested-by: Andrew Lunn <andrew@lunn.ch>
> Signed-off-by: Elad Nachman <enachman@marvell.com>

Applied on mvebu/dt64

Thanks,

Gregory
> ---
>  arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi b/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi
> index 2b5ec4a451e3..0cfcf5f6bde1 100644
> --- a/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-7020-comexpress.dtsi
> @@ -70,7 +70,7 @@ &cp0_eth0 {
>  
>  &cp0_eth1 {
>  	status = "okay";
> -	phy = <&phy0>;
> +	phy-handle = <&phy0>;
>  	phy-mode = "rgmii-id";
>  };
>  
> -- 
> 2.25.1
>

-- 
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-26 11:36 [PATCH] arm64: dts: a7k: use phy handle Elad Nachman
2026-01-26 19:14 ` Andrew Lunn
2026-03-02 15:17 ` Gregory CLEMENT

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