RE: [PATCHv3 03/15] net: tsec: convert to use DM_MDIO when DM_ETH enabled

2020-06-15 Thread Z.q. Hou
Hi Vladimir, Thanks a lot for your comments! > -Original Message- > From: Vladimir Oltean [mailto:olte...@gmail.com] > Sent: 2020年6月13日 4:31 > To: Z.q. Hou > Cc: u-boot ; Priyanka Jain ; > Bin Meng ; Vladimir Oltean > > Subject: Re: [PATCHv3 03/15] net: tsec

Re: [PATCHv3 03/15] net: tsec: convert to use DM_MDIO when DM_ETH enabled

2020-06-12 Thread Vladimir Oltean
On Fri, 12 Jun 2020 at 18:23, Zhiqiang Hou wrote: > > From: Hou Zhiqiang > > For the platforms on which the eTSEC driver uses DM_ETH, convert its > MDIO controller code to also use DM_MDIO. > > Note that for handling the TBI PHY (the MAC PCS for SGMII), we still > don't register a udevice for it,

[PATCHv3 03/15] net: tsec: convert to use DM_MDIO when DM_ETH enabled

2020-06-12 Thread Zhiqiang Hou
From: Hou Zhiqiang For the platforms on which the eTSEC driver uses DM_ETH, convert its MDIO controller code to also use DM_MDIO. Note that for handling the TBI PHY (the MAC PCS for SGMII), we still don't register a udevice for it, since we can drive it locally and there is no point in doing oth