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

From: 周琰杰 (Zhou Yanjie)
Date: Mon Jun 14 2021 - 13:18:04 EST


v2->v3:
1.Add "ingenic,mac.yaml" for Ingenic SoCs.
2.Change tx clk delay and rx clk delay from hardware value to ps.
3.return -EINVAL when a unsupported value is encountered when
parsing the binding.
4.Simplify the code of the RGMII part of X2000 SoC according to
Andrew Lunn’s suggestion.
5.Follow the example of "dwmac-mediatek.c" to improve the code
that handles delays according to Andrew Lunn’s suggestion.

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

.../devicetree/bindings/net/ingenic,mac.yaml | 76 ++++
.../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 | 401 +++++++++++++++++++++
5 files changed, 505 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/ingenic,mac.yaml
create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c

--
2.7.4