Re: [PATCH 2/2] of_mdio: Allow the DT to specify the phy ID and avoid autoprobing

2014-01-31 Thread Jason Gunthorpe
On Fri, Jan 31, 2014 at 03:28:10PM -0800, Florian Fainelli wrote: > - you tell of_mdiobus_register() to look for a reset phandle and have > a reset controller release the PHY from reset before it tries to probe > for it, because doing that could avoid doing the PHY out of reset > sequence in a few

Re: [PATCH 2/2] of_mdio: Allow the DT to specify the phy ID and avoid autoprobing

2014-01-31 Thread Florian Fainelli
2014-01-31 Jason Gunthorpe : > On Fri, Jan 31, 2014 at 02:24:52PM -0800, Florian Fainelli wrote: > >> > This is necessary to support phy's that cannot be autoprobed when >> > of_mdiobus_register is called. Specifically, my case has the phy in reset >> > at >> > of_mdiobus_register, the reset is on

Re: [PATCH 2/2] of_mdio: Allow the DT to specify the phy ID and avoid autoprobing

2014-01-31 Thread Jason Gunthorpe
On Fri, Jan 31, 2014 at 02:24:52PM -0800, Florian Fainelli wrote: > > This is necessary to support phy's that cannot be autoprobed when > > of_mdiobus_register is called. Specifically, my case has the phy in reset at > > of_mdiobus_register, the reset is only released once the ethernet driver > >

Re: [PATCH 2/2] of_mdio: Allow the DT to specify the phy ID and avoid autoprobing

2014-01-31 Thread Florian Fainelli
Hi, 2014-01-31 Jason Gunthorpe : > This makes the generic of_mdiobus_register parse the DT compatible string for > the pattern ethernet-phy-id.. If present it should be a value that > matches the phy-id register normally readable through MDIO. > > When the ID is given the phy autoprobing i