Re: [PATCH RFT 1/2] phylib: add device reset GPIO support

From: Sergei Shtylyov
Date: Thu May 19 2016 - 09:40:20 EST


Hello.

On 5/15/2016 6:23 PM, Andrew Lunn wrote:

I think there could be similar code one layer above to handle one gpio
line for multiple phys.

Ah, you want me to recognize some MAC/MDIO bound prop (e.g.
"mdio-reset-gpios") in of_mdiobus_register()? I'll think about it
now that my patch needs fixing anyway...

Hi Sergi

It does not need to be you implementing this, your hardware does not
need it. However, if you do feel like doing it, great.

It would cover my "single PHY" case anyway.

Andrew

MBR, Sergei