Hi Simon, On Fri, Mar 5, 2021 at 12:08 PM Simon Glass <s...@chromium.org> wrote: > > +Joe Hershberger > > On Tue, 2 Mar 2021 at 10:35, Bin Meng <bmeng...@gmail.com> wrote: > > > > Introduce a helper API ofnode_phy_is_fixed_link() to detect whether > > the ethernet controller connects to a fixed-link pseudo-PHY device. > > > > Note there are two ways to describe a fixed PHY attached to an > > Ethernet device: > > > > - the new DT binding, where 'fixed-link' is a sub-node of the > > Ethernet device > > - the old DT binding, where 'fixed-link' is a property with 5 > > cells encoding various information about the fixed PHY > > > > Signed-off-by: Bin Meng <bmeng...@gmail.com> > > --- > > > > drivers/core/of_extra.c | 26 ++++++++++++++++++++++++++ > > include/dm/of_extra.h | 18 ++++++++++++++++++ > > 2 files changed, 44 insertions(+) > > Reviewed-by: Simon Glass <s...@chromium.org> > > Is the binding in U-Boot?
Yes, in patch 5: dt-bindings: net: Add the old DT bindings for "fixed-link" http://patchwork.ozlabs.org/project/uboot/patch/20210302153451.19440-6-bmeng...@gmail.com/ Regards, Bin