[PATCH 0/3] dwc_eth_qos PHY dt node fixups

Rasmus Villemoes rasmus.villemoes at prevas.dk
Thu May 12 09:33:06 CEST 2022


I need the dwc_eth_qos to gain a fix similar to what fec_mxc got in
89b5bd54c1a4.

The first patch provides a simplification around the logic for
fetching the phy's address, so there's one less case to worry about.

The second introduces a little helper (it doesn't essentially add any
extra code since it just returns an extra piece of inforamtion that
eth_phy_get_node() already found).

And the third hooks it up in the dwc_eth_qos driver.

Rasmus Villemoes (3):
  net: dwc_eth_qos: remove use of DWC_NET_PHYADDR
  phy: introduce eth_phy_get_node_and_addr()
  net: dwc_eth_qos: set proper DT node for phy device

 drivers/net/dwc_eth_qos.c        | 9 +++++----
 drivers/net/eth-phy-uclass.c     | 9 ++++++++-
 include/configs/imx8mp_evk.h     | 2 --
 include/configs/imx8mp_rsb3720.h | 1 -
 include/eth_phy.h                | 1 +
 5 files changed, 14 insertions(+), 8 deletions(-)

-- 
2.31.1



More information about the U-Boot mailing list