On Wed, Mar 30, 2022 at 1:52 AM Tim Harvey <thar...@gateworks.com> wrote: > > If a DM_MDIO driver is used we need to scan the subnodes as well. > > Signed-off-by: Tim Harvey <thar...@gateworks.com> > Signed-off-by: Vladimir Oltean <vladimir.olt...@nxp.com> > --- > net/mdio-uclass.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c > index e74e34f78f9c..190cb08b31d8 100644 > --- a/net/mdio-uclass.c > +++ b/net/mdio-uclass.c > @@ -59,7 +59,11 @@ static int dm_mdio_post_bind(struct udevice *dev) > return -EINVAL; > } > > +#if CONFIG_IS_ENABLED(OF_REAL) > + return dm_scan_fdt_dev(dev); > +#else > return 0; > +#endif > } > > /* > -- > 2.17.1 > Reviewed-by: Ramon Fried <rfried....@gmail.com>
- [PATCH 0/6] Add MV88E61xx DSA driver and use on gwventana Tim Harvey
- [PATCH 1/6] net: mdio-uclass: scan for dm mdio childr... Tim Harvey
- Re: [PATCH 1/6] net: mdio-uclass: scan for dm mdi... Ramon Fried
- [PATCH 2/6] net: dsa: move cpu port probe to dsa_post... Tim Harvey
- [PATCH 4/6] net: fec: add support for DM_MDIO Tim Harvey
- Re: [PATCH 4/6] net: fec: add support for DM_MDIO Vladimir Oltean
- Re: [PATCH 4/6] net: fec: add support for DM_... Tim Harvey
- Re: [PATCH 4/6] net: fec: add support for... Vladimir Oltean
- Re: [PATCH 4/6] net: fec: add suppor... Tim Harvey
- Re: [PATCH 4/6] net: fec: add su... Vladimir Oltean
- [PATCH 6/6] board: gw_ventana: enable MV88E61XX DSA s... Tim Harvey
- [PATCH 3/6] net: mdio-uclass: add wrappers for read/w... Tim Harvey