summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBoon Khai Ng <[email protected]>2026-03-12 19:22:47 +0800
committerJerome Forissier <[email protected]>2026-03-31 16:43:28 +0200
commita40defd46a636fcdb38a5cfe4a354ace1730dbe1 (patch)
tree0ae2263a04d2b5282c3949674a7f2fedae1fa239 /drivers
parent6e30330d7ac1b708772b1f5c2afae4bbec7c9678 (diff)
phy: micrel: ksz90x1: Issue PHY soft reset during configuration
- Add a call to phy_reset() in ksz9031_config() to ensure the PHY is properly reset during initialization. - This clears the power-down bit and ensures the PHY recovers correctly after Linux reboot. Tested on Agilex5 hardware with KSZ90X1 PHY. Signed-off-by: Boon Khai Ng <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/phy/micrel_ksz90x1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/phy/micrel_ksz90x1.c b/drivers/net/phy/micrel_ksz90x1.c
index f357e0f1c77..1a7116f4ddd 100644
--- a/drivers/net/phy/micrel_ksz90x1.c
+++ b/drivers/net/phy/micrel_ksz90x1.c
@@ -407,6 +407,9 @@ static int ksz9031_config(struct phy_device *phydev)
if (ret)
return ret;
+ /* soft reset */
+ phy_reset(phydev);
+
ksz90x1_workaround_asymmetric_pause(phydev);
/* add an option to disable the gigabit feature of this PHY */