net: phy: rockchip-fephy: Fix amplitude control for 100/10 Base-t

Based on the hardware test results, the amplitude is corrected

Change-Id: I9eeb1a09019948c5a618a8b2defdfcc24feb6046
Signed-off-by: David Wu <david.wu@rock-chips.com>
This commit is contained in:
David Wu
2025-06-23 10:24:44 +08:00
committed by Tao Huang
parent 9be9f31152
commit d3f8109044

View File

@@ -108,7 +108,12 @@ static int rockchip_fephy_config_init(struct phy_device *phydev)
return ret;
/* 100M amplitude control */
ret = rockchip_fephy_group_write(phydev, GROUP_CFG0, 0x18, 0xc);
ret = rockchip_fephy_group_write(phydev, GROUP_CFG0, 0x18, 0x9);
if (ret)
return ret;
/* 10M amplitude control */
ret = rockchip_fephy_group_write(phydev, GROUP_CFG0, 0x1f, 0x7);
if (ret)
return ret;