]> git.baikalelectronics.ru Git - kernel.git/commit
net-next: mediatek: add support for MediaTek MT7622 SoC
authorSean Wang <sean.wang@mediatek.com>
Mon, 31 Jul 2017 10:05:10 +0000 (18:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 22:51:48 +0000 (15:51 -0700)
commit08c50694b7502964d704c047d8b2b39d36e0797b
tree3cf98f500ae99e3805ada1602d84b903f7307403
parent0ef4f3d1b7d5c754e991707f5b4b8b5d4b273959
net-next: mediatek: add support for MediaTek MT7622 SoC

This patch adds the driver for ethernet controller on MT7622 SoC. It has
the similar handling logic as the previously MT7623 does, but there are
additions against with MT7623 SoC, the shared SGMII given for the dual
GMACs and including 5-ports 10/100 embedded switch support (ESW) as the
GMAC1 option, thus more clocks consumers for the extra feature are
introduced here. So for ease portability and maintenance, those
differences all are being kept inside the platform data as other drivers
usually do. Currently testing successfully is done with those patches for
the conditions such as GMAC2 with IP1001 PHY via RGMII and GMAC1/2 with
RTL8211F PHY via SGMII.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h