All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] net: phy: Do not do CL22 phy reset before ethernet phy driver probe
@ 2024-10-14  7:06 Sky Huang
  2024-10-14  8:43 ` Marek Vasut
  2025-05-23 22:26 ` Tom Rini
  0 siblings, 2 replies; 8+ messages in thread
From: Sky Huang @ 2024-10-14  7:06 UTC (permalink / raw)
  To: Joe Hershberger, Ramon Fried, Tom Rini, Marek Vasut,
	Eugeniu Rosca, Heinrich Schuchardt, Jacky Chou
  Cc: u-boot, gss_mtk_uboot_upstream, SkyLake.Huang

From: "SkyLake.Huang" <skylake.huang@mediatek.com>

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 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 716a1d46111..e6fed8c41d7 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -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,
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-10-26 17:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-14  7:06 [PATCH 1/1] net: phy: Do not do CL22 phy reset before ethernet phy driver probe Sky Huang
2024-10-14  8:43 ` Marek Vasut
2025-08-05 18:00   ` Paul Kocialkowski
2025-10-26 15:43     ` Tom Rini
2025-10-26 15:56       ` Marek Vasut
2025-10-26 17:32         ` Paul Kocialkowski
2025-10-26 17:55           ` Tom Rini
2025-05-23 22:26 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.