net:phy:motorcomm: change tx delay chain.
authorsamin <samin.guo@starfivetech.com>
Mon, 23 May 2022 10:47:18 +0000 (18:47 +0800)
committersamin <samin.guo@starfivetech.com>
Mon, 23 May 2022 11:35:26 +0000 (19:35 +0800)
Improve compatibility of YT8521SC and YT8521SH in rgmii mode.

Signed-off-by: samin <samin.guo@starfivetech.com>
drivers/net/phy/motorcomm.c

index 44cb773..78a2323 100644 (file)
@@ -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");