Skip to contentSkip to conversation

arm64: dts: imx8mm-venice-gw790: Remove phy-mode from switch node

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

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 arm64: dts: imx8mm-venice-gw790: Remove phy-mode from switch node

From: Fabio Estevam <[email protected]>

Per microchip,ksz.yaml, phy-mode is not a valid property in the top-level switch node.

phy-mode = "rgmii-id" is already passed in the CPU port switch (port@5).

Remove it from the top-level switch node to fix the following schema warning:

switch@5f: Unevaluated properties are not allowed ('phy-mode' was unexpected) from schema $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml

---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +0 -1
index f45c22d8fb50..6c1e863f4d5a 100644
@@ -642,7 +642,6 @@ switch: switch@5f {
 		pinctrl-0 = <&pinctrl_ksz>;
 		interrupt-parent = <&gpio4>;
 		interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
-		phy-mode = "rgmii-id";
 
 		ports {
 			#address-cells = <1>;
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 1/1
#1 lore raw
Quoted 32 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Per microchip,ksz.yaml, phy-mode is not a valid property in the top-level switch node.

phy-mode = "rgmii-id" is already passed in the CPU port switch (port@5).

Remove it from the top-level switch node to fix the following schema warning:

switch@5f: Unevaluated properties are not allowed ('phy-mode' was unexpected) from schema $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml

---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +0 -2
index f45c22d8fb50..6c1e863f4d5a 100644
@@ -642,7 +642,6 @@ switch: switch@5f {
                pinctrl-0 = <&pinctrl_ksz>;
                interrupt-parent = <&gpio4>;
                interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
-               phy-mode = "rgmii-id";
 
                ports {
                        #address-cells = <1>;
--
Quoted 2 lines

2.34.1

Best Regards,

Tim

_______________________________________________
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 microchip,ksz.yaml, phy-mode is not a valid property in the top-level switch node.

phy-mode = "rgmii-id" is already passed in the CPU port switch (port@5).

Quoted 7 lines

Remove it from the top-level switch node to fix the following schema warning:

switch@5f: Unevaluated properties are not allowed ('phy-mode' was unexpected) from schema $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml

Applied, thanks!

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