[PATCH v2 0/5] net: mediatek: mt7988: various fixup + MDIO detach
Christian Marangi
ansuelsmth at gmail.com
Sat Sep 20 18:09:40 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.
Changes v2:
- Replace patch 1 with actual fix
Christian Marangi (5):
net: mediatek: mt7531/7988: fix broken PHY turn ON/OFF
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/mt7531.c | 20 ++--
drivers/net/mtk_eth/mt7988.c | 92 +++++++++++++++---
8 files changed, 294 insertions(+), 27 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