[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200528082625.27218-1-fugang.duan@nxp.com>
Date: Thu, 28 May 2020 16:26:22 +0800
From: fugang.duan@....com
To: davem@...emloft.net, andrew@...n.ch, peppe.cavallaro@...com,
alexandre.torgue@...com, joabreu@...opsys.com, kuba@...nel.org
Cc: netdev@...r.kernel.org, mcoquelin.stm32@...il.com,
p.zabel@...gutronix.de, fugang.duan@....com
Subject: [PATCH v2 net 0/3] net: ethernet: dwmac: add ethernet glue logic for NXP imx8 chip
From: Fugang Duan <fugang.duan@....com>
NXP imx8 family like imx8mp/imx8dxl chips support Synopsys
MAC 5.10a IP, the patch set is to add ethernet DWMAC glue
layer including clocks, dwmac address width, phy interface
mode selection and rgmii txclk rate adjustment in runtime.
v1 -> v2:
- suggested by Andrew: add the "snps,dwmac-5.10a" compatible
string into NXP binding documentation.
- suggested by David: adjust code sequences in order to have
reverse christmas tree local variable ordering.
Thanks Andrew and David for the review.
Fugang Duan (3):
stmmac: platform: add "snps, dwmac-5.10a" IP compatible string
net: ethernet: dwmac: add ethernet glue logic for NXP imx8 chip
dt-bindings: net: imx-dwmac: Add NXP imx8 DWMAC glue layer
.../devicetree/bindings/net/imx-dwmac.txt | 56 ++++
drivers/net/ethernet/stmicro/stmmac/Kconfig | 13 +
drivers/net/ethernet/stmicro/stmmac/Makefile | 1 +
.../net/ethernet/stmicro/stmmac/dwmac-imx.c | 315 ++++++++++++++++++
.../ethernet/stmicro/stmmac/stmmac_platform.c | 3 +-
5 files changed, 387 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/net/imx-dwmac.txt
create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c
--
2.17.1
Powered by blists - more mailing lists