Message ID | 20191026003912.31511-1-michael@walle.cc |
---|---|
State | Accepted |
Commit | 2efb147a0a3388c7e93b87ae86bf457fcff802b0 |
Delegated to: | Priyanka Jain |
Headers | show |
Series | [U-Boot,1/2] drivers: net: fsl_enetc: set phydev->node | expand |
On 10/26/2019 2:39 AM, Michael Walle wrote: > The saved ofnode is used by some PHY drivers to access the device tree > node of the PHY. > > Signed-off-by: Michael Walle <michael@walle.cc> > --- > drivers/net/fsl_enetc.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Alex Marginean <alexm.osslist@gmail.com>
>-----Original Message----- >From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Michael Walle >Sent: Saturday, October 26, 2019 6:09 AM >To: u-boot@lists.denx.de >Cc: Joe Hershberger <joe.hershberger@ni.com>; Catalin Horghidan ><catalin.horghidan@nxp.com> >Subject: [U-Boot] [PATCH 1/2] drivers: net: fsl_enetc: set phydev->node > >The saved ofnode is used by some PHY drivers to access the device tree node >of the PHY. > >Signed-off-by: Michael Walle <michael@walle.cc> >--- Applied to fsl-qoriq master, awaiting upstream. Thanks priyankajain
diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index e7c5062c39..86b80c8941 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -248,6 +248,7 @@ static void enetc_start_phy(struct udevice *dev) supported = GENMASK(6, 0); /* speeds up to 1G & AN */ phy->advertising = phy->supported & supported; + phy->node = phy_node; phy_config(phy); phy_startup(phy); }
The saved ofnode is used by some PHY drivers to access the device tree node of the PHY. Signed-off-by: Michael Walle <michael@walle.cc> --- drivers/net/fsl_enetc.c | 1 + 1 file changed, 1 insertion(+)