Skip to contentSkip to conversation

arm64: dts: imx8mp-verdin: Remove invalid property from eqos

PATCH Applied Fabio Estevam 3 participants 3 messages Sep 28, 2023 – Oct 10, 2023

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 arm64: dts: imx8mp-verdin: Remove invalid property from eqos

From: Fabio Estevam <[email protected]>

Per nxp,dwmac-imx.yaml, it is not valid to pass 'phy-supply'.

The reg_module_eth1phy regulator is marked with 'regulator-always-on', so it is safe to remove it from the eqos node.

Remove it to fix the following schema warning:

imx8mp-verdin-nonwifi-dahlia.dtb: ethernet@30bf0000: Unevaluated properties are not allowed ('phy-supply' was unexpected)
from schema $id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml#

---
 arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +0 -1
index e9e4fcb562f1..04f2083c4ab2 100644
@@ -184,7 +184,6 @@ &ecspi1 {
 &eqos {
 	phy-handle = <&ethphy0>;
 	phy-mode = "rgmii-id";
-	phy-supply = <&reg_module_eth1phy>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_eqos>;
 	snps,force_thresh_dma_mode;
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Tested-by on v1 1/1
#1 lore raw

Hi Fabio

Thanks!

Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Per nxp,dwmac-imx.yaml, it is not valid to pass 'phy-supply'.

The reg_module_eth1phy regulator is marked with 'regulator-always-on', so it is safe to remove it from the eqos node.

Quoted 7 lines

Remove it to fix the following schema warning:

imx8mp-verdin-nonwifi-dahlia.dtb: ethernet@30bf0000: Unevaluated properties are not allowed ('phy-supply' was unexpected)
from schema $id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml#

Quoted 10 lines

---
 arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 1 -

 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mp- renamed from arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +0 -0

verdin.dtsi
index e9e4fcb562f1..04f2083c4ab2 100644

arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi &ecspi1 { · line 189

Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +0 -1
@@ -184,7 +184,6 @@ &ecspi1 {
  &eqos {
  	phy-handle = <&ethphy0>;
  	phy-mode = "rgmii-id";
-	phy-supply = <&reg_module_eth1phy>;
  	pinctrl-names = "default";
  	pinctrl-0 = <&pinctrl_eqos>;
  	snps,force_thresh_dma_mode;

Cheers

Marcel
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Applied
#2 lore raw
In reply to Fabio Estevam
Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Per nxp,dwmac-imx.yaml, it is not valid to pass 'phy-supply'.

The reg_module_eth1phy regulator is marked with 'regulator-always-on', so it is safe to remove it from the eqos node.

Quoted 6 lines

Remove it to fix the following schema warning:

imx8mp-verdin-nonwifi-dahlia.dtb: ethernet@30bf0000: Unevaluated properties are not allowed ('phy-supply' was unexpected)
from schema $id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml#

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel