public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: imx8mp-debix-model-a: Use phy-mode
@ 2023-11-13 23:04 Fabio Estevam
  2023-11-14  3:07 ` Andrew Lunn
  2023-12-06  1:09 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2023-11-13 23:04 UTC (permalink / raw)
  To: shawnguo; +Cc: linux-arm-kernel, andrew, f.fainelli, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

The property 'phy-connection-type' can be used to describe the interface
type between the Ethernet device and the Ethernet PHY device.

However, snps,dwmac.yaml gives the following warning:

imx8mp-debix-model-a.dtb: ethernet@30bf0000: 'phy-mode' is a required property
	from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#

To avoid the warning, switch to the more commonly used, 'phy-mode'
property instead.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts b/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts
index 267ceffc02d8..2c19766ebf09 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-debix-model-a.dts
@@ -75,7 +75,7 @@ &A53_3 {
 &eqos {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_eqos>;
-	phy-connection-type = "rgmii-id";
+	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy0>;
 	status = "okay";
 
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm64: dts: imx8mp-debix-model-a: Use phy-mode
  2023-11-13 23:04 [PATCH] arm64: dts: imx8mp-debix-model-a: Use phy-mode Fabio Estevam
@ 2023-11-14  3:07 ` Andrew Lunn
  2023-12-06  1:09 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2023-11-14  3:07 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: shawnguo, linux-arm-kernel, f.fainelli, Fabio Estevam

On Mon, Nov 13, 2023 at 08:04:00PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> The property 'phy-connection-type' can be used to describe the interface
> type between the Ethernet device and the Ethernet PHY device.
> 
> However, snps,dwmac.yaml gives the following warning:
> 
> imx8mp-debix-model-a.dtb: ethernet@30bf0000: 'phy-mode' is a required property
> 	from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#
> 
> To avoid the warning, switch to the more commonly used, 'phy-mode'
> property instead.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

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

    Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm64: dts: imx8mp-debix-model-a: Use phy-mode
  2023-11-13 23:04 [PATCH] arm64: dts: imx8mp-debix-model-a: Use phy-mode Fabio Estevam
  2023-11-14  3:07 ` Andrew Lunn
@ 2023-12-06  1:09 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2023-12-06  1:09 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: linux-arm-kernel, andrew, f.fainelli, Fabio Estevam

On Mon, Nov 13, 2023 at 08:04:00PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> The property 'phy-connection-type' can be used to describe the interface
> type between the Ethernet device and the Ethernet PHY device.
> 
> However, snps,dwmac.yaml gives the following warning:
> 
> imx8mp-debix-model-a.dtb: ethernet@30bf0000: 'phy-mode' is a required property
> 	from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml#
> 
> To avoid the warning, switch to the more commonly used, 'phy-mode'
> property instead.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-12-06  1:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-13 23:04 [PATCH] arm64: dts: imx8mp-debix-model-a: Use phy-mode Fabio Estevam
2023-11-14  3:07 ` Andrew Lunn
2023-12-06  1:09 ` Shawn Guo

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