]> 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)
commit063e888d7a334f131764de16f015990c78fa8d2c
tree6300ad0791785cab29c96b40abbf1d80b8c78918
parentacc94c4cbf4103fbfe22a5f4c0b36bd074dc4ced
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