From: samin Date: Mon, 23 May 2022 10:47:18 +0000 (+0800) Subject: net:phy:motorcomm: change tx delay chain. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b92eb5ecb7097620d41d3fd1f6edae29706d100e;p=platform%2Fkernel%2Flinux-starfive.git net:phy:motorcomm: change tx delay chain. Improve compatibility of YT8521SC and YT8521SH in rgmii mode. Signed-off-by: samin --- diff --git a/drivers/net/phy/motorcomm.c b/drivers/net/phy/motorcomm.c index 44cb773..78a2323 100644 --- a/drivers/net/phy/motorcomm.c +++ b/drivers/net/phy/motorcomm.c @@ -379,7 +379,7 @@ static int yt8521_config_init(struct phy_device *phydev) } val &= ~0x3CFF; - val |= 0x5f; + val |= 0x5b; ret = ytphy_write_ext(phydev, 0xa003, val); if (ret < 0) { printk(KERN_INFO "yt8521_config: set 0xa003 error!\n");