AnsweredAssumed Answered

Porting DP83822/DP83825 in IMX7D

Question asked by Javer Valino on Jun 14, 2020
Latest reply on Jul 2, 2020 by Javer Valino

Hello,

 

Good day!

 

I'm trying to port TI's DP83822 to IMX7D kernel.

I followed the TI instruction from the below link.

 

ETHERNET-SW Ethernet PHY Linux drivers & tools | TI.com 

 

However, what I've observed in IMX's driver is that ethernet initialization  all pass through imx7d_enet_phy_init located in mach-imx7d.c

 

static void __init imx7d_enet_phy_init(void)
{
if (IS_BUILTIN(CONFIG_PHYLIB)) {
phy_register_fixup_for_uid(PHY_ID_AR8031, 0xffffffff,
ar8031_phy_fixup);
phy_register_fixup_for_uid(PHY_ID_BCM54220, 0xffffffff,
bcm54220_phy_fixup);
phy_register_fixup_for_uid(PHY_ID_BCM5422x, 0xffffffff,
bcm54220_phy_fixup);
}

 

}

 

Do I need to create phy_register_fixup for DP83822 as well?

Does it mean that everytime I port a new phy IC I need to create phy_register_fixup for that particular IC?

 

Thanks,

Javer

 

igorpadykov

Outcomes