net: ethernet: dwmac: add Ethernet glue logic for stm32 chip
authorAlexandre TORGUE <alexandre.torgue@gmail.com>
Mon, 29 Aug 2016 16:23:38 +0000 (18:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 21:03:40 +0000 (14:03 -0700)
commitc6eec6f332a0504ba3af1d597e7624b9dfd7cfda
tree7b82968dfac209adbb9e8247fe1326c5f0ba1594
parentce927bf174b69328e953a77730e12065c19e87cb
net: ethernet: dwmac: add Ethernet glue logic for stm32 chip

stm324xx family chips support Synopsys MAC 3.510 IP.
This patch adds settings for logical glue logic:
-clocks
-mode selection MII or RMII.

Reviewed-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Tested-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@gmail.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-stm32.c [new file with mode: 0644]