[PATCH 0/5] net: mediatek: mt7988: various fixup + MDIO detach
Christian Marangi
ansuelsmth at gmail.com
Sat Sep 20 16:36:45 CEST 2025
This series is really required for Airoha AN7581 to provide support
for the MMIO MDIO bus. But to accomplish this, rework is needed
to the current MT7531 driver to prevent additional code duplication.
While at it also multiple BUG were notice on the MT7988 driver.
The additional MDIO MMIO driver expose an internal variant
to access the function directly from a manually crafted mii_bus
but also provide DM support used by AN7581.
Christian Marangi (5):
net: mediatek: mt7988: fix broken phy_setting config
net: mediatek: mt7988: restore PHY page on PHY setting exit
net: mediatek: mt7988: free allocated MDIO bus on cleanup
net: mediatek: move MT7531 MMIO MDIO to dedicated driver
net: airoha: bind MDIO controller on Ethernet load
drivers/net/Kconfig | 4 +
drivers/net/Makefile | 1 +
drivers/net/airoha_eth.c | 26 +++++
drivers/net/mdio-mt7531-mmio.c | 168 +++++++++++++++++++++++++++++++++
drivers/net/mdio-mt7531-mmio.h | 9 ++
drivers/net/mtk_eth/Kconfig | 1 +
drivers/net/mtk_eth/mt7988.c | 92 +++++++++++++++---
7 files changed, 287 insertions(+), 14 deletions(-)
create mode 100644 drivers/net/mdio-mt7531-mmio.c
create mode 100644 drivers/net/mdio-mt7531-mmio.h
--
2.51.0
More information about the U-Boot
mailing list