Skip to content

net: mdio-mt7531-mmio: consolidate and improve probe

Christian Marangi u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: mdio-mt7531-mmio: use common header priv structdrivers/net/mdio-mt7531-mmio.c+11 -130 replies
2/2net: mdio-mt7531-mmio: improve parsing of switch register on probedrivers/net/mdio-mt7531-mmio.c+6 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] net: mdio-mt7531-mmio: consolidate and improve probe

This small series consolidate header usage of mdio-mt7531-mmio driver and improve usage in preparation for support of OF PHY autoprobe.

This driver is still not used (as it will be used by AN7581/AN7583) in the OF mode (it's used by MT7988 for the MDIO functions)

For OF PHY to be correctly autoprobed, the MDIO driver needs to attached to the MDIO node (the parent of the PHY nodes)

With such change the MDIO driver can be binded with the MDIO node instead of the switch node as previously required.

Christian Marangi (2):
net: mdio-mt7531-mmio: use common header priv struct
net: mdio-mt7531-mmio: improve parsing of switch register on probe

 drivers/net/mdio-mt7531-mmio.c | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)
Signature · 1 line
2.51.0