Skip to content

Commit 58aa772

Browse files
grygoriySkishon
authored andcommitted
phy: ti: gmii-sel: do not fail in case of gmii
The "gmii" PHY interface mode is supported on TI AM335x/437x/5xx SoCs, so don't fail if it's selected. Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
1 parent eefed63 commit 58aa772

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/phy/ti/phy-gmii-sel.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ static int phy_gmii_sel_mode(struct phy *phy, enum phy_mode mode, int submode)
8080
break;
8181

8282
case PHY_INTERFACE_MODE_MII:
83+
case PHY_INTERFACE_MODE_GMII:
8384
gmii_sel_mode = AM33XX_GMII_SEL_MODE_MII;
8485
break;
8586

0 commit comments

Comments
 (0)