From b92eb5ecb7097620d41d3fd1f6edae29706d100e Mon Sep 17 00:00:00 2001 From: samin Date: Mon, 23 May 2022 18:47:18 +0800 Subject: [PATCH] net:phy:motorcomm: change tx delay chain. Improve compatibility of YT8521SC and YT8521SH in rgmii mode. Signed-off-by: samin --- drivers/net/phy/motorcomm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.7.4