Re: [PATCH v3 3/4] net: stmmac: register parent MDIO node for sun8i-h3-emac
From: Andrew Lunn
Date: Sat Aug 19 2017 - 16:39:05 EST
On Sat, Aug 19, 2017 at 08:50:25PM +0200, Corentin Labbe wrote:
> On Sat, Aug 19, 2017 at 01:05:21AM +0800, Chen-Yu Tsai wrote:
> > On Fri, Aug 18, 2017 at 8:21 PM, Corentin Labbe
> > <clabbe.montjoie@xxxxxxxxx> wrote:
> > > In case of a MDIO switch, the registered MDIO node should be
> > > the parent of the PHY. Otherwise of_phy_connect will fail.
Hi Corentin
Sorry, I missed this patch series. Looking at patchwork...
Can you represent the MDIO mux using
Documentation/devicetree/bindings/net/mdio-mux-mmioreg.txt
It would be better if you could reuse existing infrastructure than
invent something new.
Andrew