]> git.baikalelectronics.ru Git - kernel.git/commit
net-next: mediatek: add platform data to adapt into various hardware
authorSean Wang <sean.wang@mediatek.com>
Mon, 31 Jul 2017 10:05:09 +0000 (18:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 22:51:48 +0000 (15:51 -0700)
commit0ef4f3d1b7d5c754e991707f5b4b8b5d4b273959
tree6300ad0791785cab29c96b40abbf1d80b8c78918
parent5cfe659f5dc08330abafb595c6649854c2d6f27f
net-next: mediatek: add platform data to adapt into various hardware

This patch is the preparation patch in order to adapt into various
hardware through adding platform data which holds specific characteristics
among MediaTek SoCs and introducing the unified clock handler for those
distinct clock requirements depending on different features such as
TRGMII and SGMII getting support on the target SoC. And finally, add
enhancement with given the generic description for Kconfig and remove the
unnecessary machine type dependency in Makefile.

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