[PATCH net-next v3 0/4] net: ethernet: mtk_eth_soc: improve support for MT7988

Daniel Golle
2023-08-22T16:31:41Z

This series fixes and completes commit 445eb6448ed3b ("net: ethernet:
mtk_eth_soc: add basic support for MT7988 SoC") and also adds support
for using the in-SoC SRAM to previous MT7986 and MT7981 SoCs.

Changes since v2:
* fold changes to commit they were supposed to go into

Changes since v1:
* SRAM is actual memory and doesn't require __iomem
* Introduce stub ADDR64 operations on 32-bit platforms to avoid
compiler warning

Daniel Golle (4):
net: ethernet: mtk_eth_soc: fix register definitions for MT7988
net: ethernet: mtk_eth_soc: add reset bits for MT7988
net: ethernet: mtk_eth_soc: add support for in-SoC SRAM
net: ethernet: mtk_eth_soc: support 36-bit DMA addressing on MT7988

drivers/net/ethernet/mediatek/mtk_eth_soc.c | 194 +++++++++++++++-----
drivers/net/ethernet/mediatek/mtk_eth_soc.h | 52 +++++-
2 files changed, 196 insertions(+), 50 deletions(-)

base-commit: 691b2bf1494620ff8c292626e4967c57e5705a8b
--
2.41.0