Skip to contentSkip to conversation

ARM: dts: imx6qdl-sr-som: fix AR8035 phy interface mode

PATCH In review Russell King 3 participants 3 messages Jun 19, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-sr-som: fix AR8035 phy interface mode

A change to the AT803x driver fixed the handling of the phy interface mode, but this breaks all platforms that use "rgmii" as the mode in their DT. Fix the Solidrun platforms.

Fixes 6d4cd041f0af ("net: phy: at803x: disable delay only for RGMII mode")
---
 arch/arm/boot/dts/imx6qdl-sr-som.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-sr-som.dtsi +1 -1
index 4ccb7afc4b35..6d7f6b9035bc 100644
@@ -53,7 +53,7 @@
 &fec {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_microsom_enet_ar8035>;
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-reset-duration = <2>;
 	phy-reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
 	status = "okay";
Signature · 1 line
2.7.4
#1 lore raw
Quoted 6 lines · Russell King

A change to the AT803x driver fixed the handling of the phy interface mode, but this breaks all platforms that use "rgmii" as the mode in their DT. Fix the Solidrun platforms.

Fixes 6d4cd041f0af ("net: phy: at803x: disable delay only for RGMII mode")

Note that without this, SolidRun Hummingboard and Cubox-i platforms have no working ethernet with at least 5.1 kernels, which is a regression.

Quoted 21 lines
---
 arch/arm/boot/dts/imx6qdl-sr-som.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-sr-som.dtsi +1 -1
index 4ccb7afc4b35..6d7f6b9035bc 100644
@@ -53,7 +53,7 @@
 &fec {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_microsom_enet_ar8035>;
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-reset-duration = <2>;
 	phy-reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
 	status = "okay";
Signature · 1 line
2.7.4
Signature · 3 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up
reviewer
#2 lore raw

Hi Russell,

Quoted 6 lines · Russell King - ARM Linux admin
Quoted 4 lines · Russell King

A change to the AT803x driver fixed the handling of the phy interface mode, but this breaks all platforms that use "rgmii" as the mode in their DT. Fix the Solidrun platforms.

Quoted 6 lines
Quoted 2 lines
Fixes 6d4cd041f0af ("net: phy: at803x: disable delay only for RGMII mode")

Note that without this, SolidRun Hummingboard and Cubox-i platforms have no working ethernet with at least 5.1 kernels, which is a regression.

Commit 0672d22a1924 ("ARM: dts: imx: Fix the AR803X phy-mode") fixes this issue in mainline and it has already been applied to the 5.1 stable tree as well.

Thanks

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