Re: PHY reset handling during DT parsing

2020-07-07 Thread Florian Fainelli
On 7/7/2020 10:18 AM, Rob Herring wrote: > On Tue, Jul 7, 2020 at 10:39 AM Florian Fainelli wrote: >> >> >> >> On 7/7/2020 7:54 AM, Maxime Ripard wrote: >>> Hi Andrew, >>> >>> On Tue, Jul 07, 2020 at 04:19:18PM +0200, Andrew Lunn wrote: On Mon, Jul 06, 2020 at 08:13:31PM +0200, Maxime Ripa

Re: PHY reset handling during DT parsing

2020-07-07 Thread Rob Herring
On Tue, Jul 7, 2020 at 10:39 AM Florian Fainelli wrote: > > > > On 7/7/2020 7:54 AM, Maxime Ripard wrote: > > Hi Andrew, > > > > On Tue, Jul 07, 2020 at 04:19:18PM +0200, Andrew Lunn wrote: > >> On Mon, Jul 06, 2020 at 08:13:31PM +0200, Maxime Ripard wrote: > >>> I came across an issue today on an

Re: PHY reset handling during DT parsing

2020-07-07 Thread Florian Fainelli
On 7/7/2020 7:54 AM, Maxime Ripard wrote: > Hi Andrew, > > On Tue, Jul 07, 2020 at 04:19:18PM +0200, Andrew Lunn wrote: >> On Mon, Jul 06, 2020 at 08:13:31PM +0200, Maxime Ripard wrote: >>> I came across an issue today on an Allwinner board, but I believe it's a >>> core issue. >>> >>> That boa

Re: PHY reset handling during DT parsing

2020-07-07 Thread Maxime Ripard
Hi Andrew, On Tue, Jul 07, 2020 at 04:19:18PM +0200, Andrew Lunn wrote: > On Mon, Jul 06, 2020 at 08:13:31PM +0200, Maxime Ripard wrote: > > I came across an issue today on an Allwinner board, but I believe it's a > > core issue. > > > > That board is using the stmac driver together with a phy th

Re: PHY reset handling during DT parsing

2020-07-07 Thread Andrew Lunn
On Mon, Jul 06, 2020 at 08:13:31PM +0200, Maxime Ripard wrote: > Hi, > > I came across an issue today on an Allwinner board, but I believe it's a > core issue. > > That board is using the stmac driver together with a phy that happens to > have a reset GPIO, except that that GPIO will never be cla

PHY reset handling during DT parsing

2020-07-06 Thread Maxime Ripard
Hi, I came across an issue today on an Allwinner board, but I believe it's a core issue. That board is using the stmac driver together with a phy that happens to have a reset GPIO, except that that GPIO will never be claimed, and the PHY will thus never work. You can find an example of such a bo