diff options
author | Tim Harvey <tharvey@gateworks.com> | 2022-11-30 09:42:49 -0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-02 14:44:51 -0500 |
commit | 3b8f99a3e7628c17763b18a14f880bf1725c3828 (patch) | |
tree | 91fbd55ad429c1ec58cc94284e5068a032f6d50f /lib/linux_string.c | |
parent | 8abb9f6b17c8f76301f7359450813b6f6f52540e (diff) |
net: fec: add support for DM_MDIO
Add support for DM_MDIO by registering a UCLASS_MDIO driver and
attempting to use it. This is necessary if wanting to use a DSA
driver for example hanging off of the FEC MAC.
Care is taken to fallback to non DM_MDIO mii bus as several boards define
DM_MDIO without having the proper device-tree configuration necessary
such as an mdio subnode, a phy-mode prop, and either a valid phy-handle
prop or fixed-phy subnode which will cause dm_eth_phy_connect() to fail.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions