Re: [PATCH v3 1/4] phylib: Add device reset GPIO support

2017-10-21 Thread Geert Uytterhoeven
On Sat, Oct 21, 2017 at 12:03 PM, Sergei Shtylyov wrote: > On 10/20/2017 9:11 PM, Florian Fainelli wrote: >>> From: Sergei Shtylyov >>> --- a/drivers/of/of_mdio.c >>> +++ b/drivers/of/of_mdio.c > > [...] >>> >>> @@ -55,10 +56,22 @@ static int of_mdiobus_register_phy(struct mii_bus >>> *mdio, >>>

Re: [PATCH v3 1/4] phylib: Add device reset GPIO support

2017-10-21 Thread Sergei Shtylyov
Hello! On 10/20/2017 9:11 PM, Florian Fainelli wrote: From: Sergei Shtylyov The PHY devices sometimes do have their reset signal (maybe even power supply?) tied to some GPIO and sometimes it also does happen that a boot loader does not leave it deasserted. So far this issue has been attacked

Re: [PATCH v3 1/4] phylib: Add device reset GPIO support

2017-10-20 Thread Florian Fainelli
On 10/20/2017 01:14 AM, Geert Uytterhoeven wrote: > From: Sergei Shtylyov > > The PHY devices sometimes do have their reset signal (maybe even power > supply?) tied to some GPIO and sometimes it also does happen that a boot > loader does not leave it deasserted. So far this issue has been attacke

Re: [PATCH v3 1/4] phylib: Add device reset GPIO support

2017-10-20 Thread Sergei Shtylyov
Hello! On 10/20/2017 11:14 AM, Geert Uytterhoeven wrote: From: Sergei Shtylyov The PHY devices sometimes do have their reset signal (maybe even power supply?) tied to some GPIO and sometimes it also does happen that a boot loader does not leave it deasserted. So far this issue has been attack

[PATCH v3 1/4] phylib: Add device reset GPIO support

2017-10-20 Thread Geert Uytterhoeven
From: Sergei Shtylyov The PHY devices sometimes do have their reset signal (maybe even power supply?) tied to some GPIO and sometimes it also does happen that a boot loader does not leave it deasserted. So far this issue has been attacked from (as I believe) a wrong angle: by teaching the MAC dri