Skip to contentSkip to conversation

ARM: dts: imx6qdl-dhcom: Identify the PHY by ethernet-phy-id0007.c0f0

PATCH Applied Christoph Niedermaier 3 participants 3 messages Dec 8, 2021 – Dec 14, 2021

Subsystems (3)
lore
Share & tools
lore

Christoph Niedermaier

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-dhcom: Identify the PHY by ethernet-phy-id0007.c0f0

Identify the PHY by its compatible ID value. In some cases during boot, the PHY needs to be reset to be accessible, but this is only possible if the PHY is recognized. In that case, the automatic detection of the PHY does not work and a static compatible ID value is need.

Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Marek Vasut <[email protected]>
Cc NXP Linux Team <[email protected]>

To: [email protected]

---
 arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi +2 -1
index 5d10c40313cb..cbbdfe0cb1fd 100644
@@ -132,7 +132,8 @@
 		#size-cells = <0>;
 
 		ethphy0: ethernet-phy@0 { /* SMSC LAN8710Ai */
-			compatible = "ethernet-phy-ieee802.3-c22";
+			compatible = "ethernet-phy-id0007.c0f0",
+				     "ethernet-phy-ieee802.3-c22";
 			interrupt-parent = <&gpio4>;
 			interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
 			pinctrl-0 = <&pinctrl_ethphy0>;
Signature · 7 lines
2.11.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Christoph Niedermaier

Identify the PHY by its compatible ID value. In some cases during boot, the PHY needs to be reset to be accessible, but this is only possible if the PHY is recognized. In that case, the automatic detection of the PHY does not work and a static compatible ID value is need.

Quoted 7 lines
Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Marek Vasut <[email protected]>
Cc NXP Linux Team <[email protected]>

To: [email protected]

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

Applied
#2 lore raw
In reply to Christoph Niedermaier
Quoted 6 lines · Christoph Niedermaier

Identify the PHY by its compatible ID value. In some cases during boot, the PHY needs to be reset to be accessible, but this is only possible if the PHY is recognized. In that case, the automatic detection of the PHY does not work and a static compatible ID value is need.

Quoted 7 lines
Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Marek Vasut <[email protected]>
Cc NXP Linux Team <[email protected]>

To: [email protected]

Applied, thanks!

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