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:
David Wu
2025-04-07 20:34:25 +08:00
committed by david.wu
parent 742ed0398e
commit 4832dd3968

View File

@@ -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)