mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
net: phy: rockchip-fephy: Adapts to longer network cables
After testing, the energy threshold was changed to meet longer network cables. Change-Id: Icfbe4cad36747b4be5fa894ea766efb325681a2b Signed-off-by: David Wu <david.wu@rock-chips.com>
This commit is contained in:
@@ -112,6 +112,11 @@ static int rockchip_fephy_config_init(struct phy_device *phydev)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
/* off-energy level0 threshold */
|
||||
ret = rockchip_fephy_bank_write(phydev, BANK_DSP0, 0xa, 0x6664);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
/* 100M amplitude control */
|
||||
ret = rockchip_fephy_bank_write(phydev, BANK_DSP0, 0x18, 0xc);
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user