[RFC] net: stmmac: Problem with adding the native GPIOs support

Andrew Lunn andrew at lunn.ch
Tue Dec 15 21:03:55 EST 2020


> > 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



More information about the linux-arm-kernel mailing list