Hi Andrew,
On Tue, Jan 2, 2018 at 5:40 PM, Andrew Lunn <[email protected]> wrote:
> Ethernet switch on the MDIO bus have historically performed their own
> handling of the GPIO reset line. The resent patch to have the MDIO
> core handle the reset has broken the switch drivers, in that they
> cannot claim the GPIO. Some switch drivers need more control over the
> GPIO line than what the MDIO core provides. So restore the historical
> behaviour by only performing a reset of PHYs, not switches.
Thanks for looking into this, and fixing it!
> Fixes: bafbdd527d56 ("phylib: Add device reset GPIO support")
> Reported-by: Sean Wang <[email protected]>
> Signed-off-by: Andrew Lunn <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
For PHY reset (not switches!):
Tested-by: Geert Uytterhoeven <[email protected]>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds