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
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
Hello Jimmy,
Thanks for sharing the details.
Can you advise what yocto/kernel version it was tested?
Also, how do we identify the PHY address?
ethphy0: ethernet-phy@1 { //here '@1' is the PHY address
compatible = "ethernet-phy-ieee802.3-c22";
reg = <1>;
};
Thanks,
Javer
Hello Jimmy,
Thanks. The info helps.
I'm using 4.9-1.0.x-imx kernel.
We were able to detect the PHY upto filesystem.
Using ethtool, I was able to see that the PHY performed autoneg and detected a link from the router.
Further investigation using ethtool shows a high discrepancy between transmit and receive packets.
Also by using ethtool, we observed high rx_crc_errors.
Can you also check if our device tree bindings and PIN declaration are correct?
BTW, we are using external 50Mhz.
Hope you can find time checking this. Thanks.
- Javer