mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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 <boon.khai.ng@altera.com>
This commit is contained in:
committed by
Jerome Forissier
parent
6e30330d7a
commit
a40defd46a
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user