mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user