Skip to contentSkip to conversation

net: meson: fixup g12a glue ephy id

PATCH Applied Jerome Brunet 2 participants 2 messages May 12, 2019 – May 13, 2019

Subsystems (4)
lore
Share & tools
lore

Jerome Brunet

author reviewer
#0 lore raw

PATCH 1/1 net: meson: fixup g12a glue ephy id

The phy id chosen by Amlogic is incorrectly set in the mdio mux and does not match the phy driver.

It was not detected before because DT forces the use the correct driver for the internal PHY.

Fixes 7090425104db ("net: phy: add amlogic g12a mdio mux support")
---
 drivers/net/phy/mdio-mux-meson-g12a.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/mdio-mux-meson-g12a.c +1 -1
index 6fa29ea8e2a3..6644762ff2ab 100644
@@ -33,7 +33,7 @@
 #define ETH_PLL_CTL7		0x60
 
 #define ETH_PHY_CNTL0		0x80
-#define   EPHY_G12A_ID		0x33000180
+#define   EPHY_G12A_ID		0x33010180
 #define ETH_PHY_CNTL1		0x84
 #define  PHY_CNTL1_ST_MODE	GENMASK(2, 0)
 #define  PHY_CNTL1_ST_PHYADD	GENMASK(7, 3)
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw

From: Jerome Brunet <[email protected]>
Date: Sun, 12 May 2019 23:12:37 +0200

Quoted 9 lines

The phy id chosen by Amlogic is incorrectly set in the mdio mux and does not match the phy driver.

It was not detected before because DT forces the use the correct driver for the internal PHY.

Fixes 7090425104db ("net: phy: add amlogic g12a mdio mux support")

Applied.