From: Christian Marangi <ansuelsmth@gmail.com>
To: Tom Rini <trini@konsulko.com>,
Joe Hershberger <joe.hershberger@ni.com>,
Ramon Fried <rfried.dev@gmail.com>,
Weijie Gao <weijie.gao@mediatek.com>,
Christian Marangi <ansuelsmth@gmail.com>,
u-boot@lists.denx.de
Subject: [PATCH 0/5] net: mediatek: mt7988: various fixup + MDIO detach
Date: Sat, 20 Sep 2025 16:36:45 +0200 [thread overview]
Message-ID: <20250920143656.29770-1-ansuelsmth@gmail.com> (raw)
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
next reply other threads:[~2025-09-20 14:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-20 14:36 Christian Marangi [this message]
2025-09-20 14:36 ` [PATCH 1/5] net: mediatek: mt7988: fix broken phy_setting config Christian Marangi
2025-09-20 14:36 ` [PATCH 2/5] net: mediatek: mt7988: restore PHY page on PHY setting exit Christian Marangi
2025-09-20 14:36 ` [PATCH 3/5] net: mediatek: mt7988: free allocated MDIO bus on cleanup Christian Marangi
2025-09-20 14:36 ` [PATCH 4/5] net: mediatek: move MT7531 MMIO MDIO to dedicated driver Christian Marangi
2025-09-20 14:36 ` [PATCH 5/5] net: airoha: bind MDIO controller on Ethernet load Christian Marangi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250920143656.29770-1-ansuelsmth@gmail.com \
--to=ansuelsmth@gmail.com \
--cc=joe.hershberger@ni.com \
--cc=rfried.dev@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=weijie.gao@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox