Re: [PATCH v9 09/10] net: stmmac: dwmac-sun8i: Handle integrated/external MDIOs

2017-10-26 Thread Andrew Lunn
On Tue, Oct 24, 2017 at 07:57:13PM +0200, Corentin Labbe wrote: > The Allwinner H3 SoC have two distinct MDIO bus, only one could be > active at the same time. > The selection of the active MDIO bus are done via some bits in the EMAC > register of the system controller. > > This patch implement th

[PATCH v9 09/10] net: stmmac: dwmac-sun8i: Handle integrated/external MDIOs

2017-10-24 Thread Corentin Labbe
The Allwinner H3 SoC have two distinct MDIO bus, only one could be active at the same time. The selection of the active MDIO bus are done via some bits in the EMAC register of the system controller. This patch implement this MDIO switch via a custom MDIO-mux. Signed-off-by: Corentin Labbe --- d