[PATCH v2 0/2] Add Ingenic SoCs MAC support.

From: 周琰杰 (Zhou Yanjie)
Date: Wed Jun 09 2021 - 13:35:36 EST


1.Add the dwmac bindings for the JZ4775 SoC, the X1000 SoC,
the X1600 SoC, the X1830 SoC and the X2000 SoC from Ingenic.
2.Add support for Ingenic SoC MAC glue layer support for the stmmac
device driver. This driver is used on for the MAC ethernet controller
found in the JZ4775 SoC, the X1000 SoC, the X1600 SoC, the X1830 SoC,
and the X2000 SoC.

v1->v2:
1.Fix uninitialized variable.
2.Add missing RGMII-ID, RGMII-RXID, and RGMII-TXID.
3.Change variable val from int to unsinged int.
4.Get tx clock delay and rx clock delay from devicetree.

周琰杰 (Zhou Yanjie) (2):
dt-bindings: dwmac: Add bindings for new Ingenic SoCs.
net: stmmac: Add Ingenic SoCs MAC support.

.../devicetree/bindings/net/snps,dwmac.yaml | 15 +
drivers/net/ethernet/stmicro/stmmac/Kconfig | 12 +
drivers/net/ethernet/stmicro/stmmac/Makefile | 1 +
.../net/ethernet/stmicro/stmmac/dwmac-ingenic.c | 434 +++++++++++++++++++++
4 files changed, 462 insertions(+)
create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c

--
2.7.4