Re: [PATCH 2/4] ravb: Add optional PHY reset during system resume

2017-10-09 Thread Sergei Shtylyov
On 10/09/2017 12:37 PM, Sergei Shtylyov wrote: If the optional "reset-gpios" property is specified in DT, the generic MDIO bus code takes care of resetting the PHY during device probe. However, the PHY may still have to be reset explicitly after system resume. This allows to restore Ethernet

Re: [PATCH 2/4] ravb: Add optional PHY reset during system resume

2017-10-09 Thread Sergei Shtylyov
Hello! On 10/1/2017 7:34 PM, Florian Fainelli wrote: If the optional "reset-gpios" property is specified in DT, the generic MDIO bus code takes care of resetting the PHY during device probe. However, the PHY may still have to be reset explicitly after system resume. This allows to restore

Re: [PATCH 2/4] ravb: Add optional PHY reset during system resume

2017-10-01 Thread Florian Fainelli
On 09/30/2017 01:23 PM, Sergei Shtylyov wrote: > Hello! > > On 09/28/2017 10:21 PM, Florian Fainelli wrote: > > If the optional "reset-gpios" property is specified in DT, the generic > MDIO bus code takes care of resetting the PHY during device probe. > However, the PHY may still

Re: [PATCH 2/4] ravb: Add optional PHY reset during system resume

2017-09-30 Thread Sergei Shtylyov
Hello! On 09/28/2017 10:21 PM, Florian Fainelli wrote: If the optional "reset-gpios" property is specified in DT, the generic MDIO bus code takes care of resetting the PHY during device probe. However, the PHY may still have to be reset explicitly after system resume. This allows to restore

Re: [PATCH 2/4] ravb: Add optional PHY reset during system resume

2017-09-28 Thread Florian Fainelli
On 09/28/2017 11:45 AM, Geert Uytterhoeven wrote: > Hi Florian, > > On Thu, Sep 28, 2017 at 7:22 PM, Florian Fainelli > wrote: >> On 09/28/2017 08:53 AM, Geert Uytterhoeven wrote: >>> If the optional "reset-gpios" property is specified in DT, the generic >>> MDIO bus code

Re: [PATCH 2/4] ravb: Add optional PHY reset during system resume

2017-09-28 Thread Geert Uytterhoeven
Hi Florian, On Thu, Sep 28, 2017 at 7:22 PM, Florian Fainelli wrote: > On 09/28/2017 08:53 AM, Geert Uytterhoeven wrote: >> If the optional "reset-gpios" property is specified in DT, the generic >> MDIO bus code takes care of resetting the PHY during device probe. >>

Re: [PATCH 2/4] ravb: Add optional PHY reset during system resume

2017-09-28 Thread Florian Fainelli
On 09/28/2017 08:53 AM, Geert Uytterhoeven wrote: > If the optional "reset-gpios" property is specified in DT, the generic > MDIO bus code takes care of resetting the PHY during device probe. > However, the PHY may still have to be reset explicitly after system > resume. > > This allows to

[PATCH 2/4] ravb: Add optional PHY reset during system resume

2017-09-28 Thread Geert Uytterhoeven
If the optional "reset-gpios" property is specified in DT, the generic MDIO bus code takes care of resetting the PHY during device probe. However, the PHY may still have to be reset explicitly after system resume. This allows to restore Ethernet operation after resume from s2ram on Salvator-XS,