]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: phy: mscc: allow RGMII with internal delay for the VSC8541
authorCharles Perry <charles.perry@microchip.com>
Tue, 3 Feb 2026 19:01:40 +0000 (11:01 -0800)
committerJerome Forissier <jerome.forissier@arm.com>
Fri, 6 Feb 2026 15:42:45 +0000 (16:42 +0100)
Add the missing RGMII modes with internal delay for the VSC8541.

Fixes: a5fd13ad1913 ("net: phy: MSCC Add Support for VSC8530-VSC8531-VSC8540-VSC8541")
Signed-off-by: Charles Perry <charles.perry@microchip.com>
drivers/net/phy/mscc.c

index bd9cd952975927115310abf528af417384e0384d..7263887b9ce0f8262a24fa62ca2e37de343d5146 100644 (file)
@@ -1371,6 +1371,9 @@ static int vsc8541_config(struct phy_device *phydev)
        case PHY_INTERFACE_MODE_GMII:
        case PHY_INTERFACE_MODE_RMII:
        case PHY_INTERFACE_MODE_RGMII:
+       case PHY_INTERFACE_MODE_RGMII_TXID:
+       case PHY_INTERFACE_MODE_RGMII_RXID:
+       case PHY_INTERFACE_MODE_RGMII_ID:
                retval = vsc8531_vsc8541_mac_config(phydev);
                if (retval != 0)
                        return retval;