Re: [RFC] net: stmmac: Problem with adding the native GPIOs support
From: Andrew Lunn
Date: Tue Dec 15 2020 - 21:04:49 EST
> > From what you are saying, it sounds like from software you cannot
> > independently control the GPIO controller reset?
>
> No. The hardware implements the default MAC reset behavior. So the
> GPIO controller gets reset synchronously with the MAC reset and that
> can't be changed.
Is there pinmux support for these pins? Can you disconnect them from
the MAC? Often pins can be connected to different internal IP
blocks. Maybe you can flip the pin mux, perform the MAC reset, and
then put the pinmux back to connect the pins to the MAC IP again?
Andrew