]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: dwmac: add ethernet glue logic for NXP imx8 chip
authorFugang Duan <fugang.duan@nxp.com>
Thu, 28 May 2020 08:26:24 +0000 (16:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 May 2020 00:01:26 +0000 (17:01 -0700)
commit0057f24d89f7aeb961b0da7fe2de6835ceeb5c54
treea1e326bc25934f903a939a114a2a201b733b9dd2
parentbda8e48c66f085e6c00c440721d7cdb70bd6b93c
net: ethernet: dwmac: add ethernet glue logic for NXP imx8 chip

NXP imx8 family like imx8mp/imx8dxl chips support Synopsys MAC 5.10a IP.
This patch adds settings for NXP imx8 glue layer:
- clocks
- dwmac address width
- phy interface mode selection
- adjust rgmii txclk rate

v2:
- adjust code sequences in order to have reverse christmas
  tree local variable ordering.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/Kconfig
drivers/net/ethernet/stmicro/stmmac/Makefile
drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c [new file with mode: 0644]