[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170829140625.GA8235@lunn.ch>
Date: Tue, 29 Aug 2017 16:06:25 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Corentin Labbe <clabbe.montjoie@...il.com>
Cc: mark.rutland@....com, devicetree@...r.kernel.org,
f.fainelli@...il.com, alexandre.torgue@...com,
netdev@...r.kernel.org, linux@...linux.org.uk,
linux-kernel@...r.kernel.org, wens@...e.org, robh+dt@...nel.org,
peppe.cavallaro@...com, maxime.ripard@...e-electrons.com,
linux-arm-kernel@...ts.infradead.org, icenowy@...c.io
Subject: Re: [PATCH v4 4/5] net: stmmac: dwmac-sun8i: choose internal PHY via
phy-is-integrated
> Do you agree that another mdio_mux_init() must be written ? (taking
> a of_node (in our case: mdio-mux) instead of a device)
Yes, you are correct, it is using dev->of_node. So you need to
refactor the code a little, to allow an of_node to be passed.
Andrew
Powered by blists - more mailing lists