]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: phy: Do not do CL22 phy reset before ethernet phy driver probe
authorSkyLake.Huang <skylake.huang@mediatek.com>
Mon, 14 Oct 2024 07:06:11 +0000 (15:06 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 23 May 2025 17:33:37 +0000 (11:33 -0600)
Remove unnecessary CL22 phy reset before ethernet phy driver
probe. Lots of ethernet phys requires driver to load firmware.
Before that, CL22 phy reset may lead to malfunction.

Signed-off-by: SkyLake.Huang <skylake.huang@mediatek.com>
drivers/net/phy/phy.c

index 716a1d461115e2e353a568c77c379d822bdbd3ac..e6fed8c41d77e12d51efe0aad1894e7c1d84d29b 100644 (file)
@@ -839,8 +839,6 @@ struct phy_device *phy_find_by_mask(struct mii_dev *bus, uint phy_mask)
 static void phy_connect_dev(struct phy_device *phydev, struct udevice *dev,
                            phy_interface_t interface)
 {
-       /* Soft Reset the PHY */
-       phy_reset(phydev);
        if (phydev->dev && phydev->dev != dev) {
                printf("%s:%d is connected to %s.  Reconnecting to %s\n",
                       phydev->bus->name, phydev->addr,