mx6sabresd: Trying to use qca,clk-out-frequency

Fabio Estevam festevam at gmail.com
Wed Jun 17 22:36:40 CEST 2020


Hi Vladimir,

On Wed, Jun 17, 2020 at 4:25 PM Vladimir Oltean <olteanv at gmail.com> wrote:

> Not Grygorii's fault, I'm sure. He just noticed that there wasn't an
> of node for the PHY, and created one.
>
> Today I learned, with the phy_connect API, you're supposed to populate
> the phydev node _yourself_.
> Like zynq_gem does:
>
> https://gitlab.denx.de/u-boot/u-boot/-/blob/master/drivers/net/zynq_gem.c#L330
>
> Too bad almost nobody else does......
>
> With the new dm_eth_phy_connect API, that happens automatically:
>
> https://gitlab.denx.de/u-boot/u-boot/-/blob/master/net/mdio-uclass.c#L172
>
> So, yeah. Fix the Ethernet driver, or switch to DM_MDIO.

Thanks for your hint! I managed to fix the FEC driver and now it can
correctly find the PHY node.

Cheers


More information about the U-Boot mailing list