
5 Mar
2021
5 Mar
'21
5:08 a.m.
+Joe Hershberger
On Tue, 2 Mar 2021 at 10:35, Bin Meng bmeng.cn@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.cn@gmail.com
drivers/core/of_extra.c | 26 ++++++++++++++++++++++++++ include/dm/of_extra.h | 18 ++++++++++++++++++ 2 files changed, 44 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
Is the binding in U-Boot?