Re: [PATCH 2/2] net: lpc_eth: parse phy nodes from device tree

From: Alexandre Belloni
Date: Wed Oct 16 2019 - 15:14:20 EST


Hi,

On 16/10/2019 14:23:59-0400, David Miller wrote:
> From: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
> Date: Thu, 10 Oct 2019 22:45:30 +0200
>
> > When connected to a micrel phy, phy_find_first doesn't work properly
> > because the first phy found is on address 0, the broadcast address but, the
> > first thing the phy driver is doing is disabling this broadcast address.
> > The phy is then available only on address 1 but the mdio driver doesn't
> > know about it.
> >
> > Instead, register the mdio bus using of_mdiobus_register and try to find
> > the phy description in device tree before falling back to phy_find_first.
> >
> > This ultimately also allows to describe the interrupt the phy is connected
> > to.
> >
> > Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
>
> I asked you to address Andrew's feedback.
>
> You can't let this sit for days like that.
>
> Therefore, I'm dropping your patches.

I'm planning to send a v2 to address that but I didn't have time to test
today.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com