[PATCH 0/5] Move Loongson1 MAC arch-code to the driver dir

From: Keguang Zhang
Date: Sat Aug 12 2023 - 11:12:08 EST


From: Kelvin Zhang <kelvin.zhang@xxxxxxxxxxx>

In order to convert Loongson1 MAC platform devices to the devicetree
nodes, Loongson1 MAC arch-code should be moved to the driver dir.

In other words, this patchset is a preparation for converting
Loongson1 platform devices to devicetree.

Keguang Zhang (5):
MIPS: loongson32: Remove Loongson1 MAC arch-code
dt-bindings: mfd: syscon: Add compatibles for Loongson-1 syscon
dt-bindings: net: Add Loongson-1 DWMAC glue layer
net: stmmac: Add glue layer for Loongson-1 SoC
MAINTAINERS: Add entry for Loongson-1 DWMAC

.../devicetree/bindings/mfd/syscon.yaml | 2 +
.../bindings/net/loongson,ls1x-dwmac.yaml | 98 +++++++
.../devicetree/bindings/net/snps,dwmac.yaml | 2 +
MAINTAINERS | 2 +
arch/mips/loongson32/common/platform.c | 127 ++-------
drivers/net/ethernet/stmicro/stmmac/Kconfig | 11 +
drivers/net/ethernet/stmicro/stmmac/Makefile | 1 +
.../ethernet/stmicro/stmmac/dwmac-loongson1.c | 257 ++++++++++++++++++
8 files changed, 396 insertions(+), 104 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/loongson,ls1x-dwmac.yaml
create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-loongson1.c


base-commit: 21ef7b1e17d039053edaeaf41142423810572741
--
2.39.2