Skip to contentSkip to conversation

ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy

PATCH Superseded Chris Healy 2 participants 3 messages Aug 17, 2020 – Aug 22, 2020

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy

From: Chris Healy <[email protected]>

Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") the networking is broken on the imx7d-zii-rmu2 board.

Fix it by switching to phy-mode = "rgmii-id".

Fixes bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY")
---
 arch/arm/boot/dts/imx7d-zii-rmu2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx7d-zii-rmu2.dts +1 -1
index e5e20b07f184..7cb6153fc650 100644
@@ -58,7 +58,7 @@ &fec1 {
 			  <&clks IMX7D_ENET1_TIME_ROOT_CLK>;
 	assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>;
 	assigned-clock-rates = <0>, <100000000>;
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-handle = <&fec1_phy>;
 	status = "okay";
 
Signature · 1 line
2.26.2
reviewer
#1 lore raw

Hi Chris,

Quoted 7 lines · Chris Healy

From: Chris Healy <[email protected]>

Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") the networking is broken on the imx7d-zii-rmu2 board.

Fix it by switching to phy-mode = "rgmii-id".

The patch looks good, but the commit log could be improved to explain more about the reason for the breakage.

Please check commit 0672d22a19244 ("ARM: dts: imx: Fix the AR803X phy-mode") as a reference.

#2 lore raw
Quoted 10 lines · Fabio Estevam

Hi Chris,

Quoted 6 lines · Chris Healy

From: Chris Healy <[email protected]>

Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") the networking is broken on the imx7d-zii-rmu2 board.

Quoted 7 lines
Quoted 1 line

Fix it by switching to phy-mode = "rgmii-id".

The patch looks good, but the commit log could be improved to explain more about the reason for the breakage.

Please check commit 0672d22a19244 ("ARM: dts: imx: Fix the AR803X phy-mode") as a reference.

Sounds good, I'll improve the commit log in v2.