summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/arc/Kconfig
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@gmail.com>2014-09-08 19:14:47 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-10 02:29:59 +0200
commit6eacf31139bf9638c62eb7853ee37f70da1ad28c (patch)
tree607c1c2f61ada0e61a2089e5a8b583b23a143343 /drivers/net/ethernet/arc/Kconfig
parentMerge branch 'bpf-next' (diff)
downloadlinux-6eacf31139bf9638c62eb7853ee37f70da1ad28c.tar.xz
linux-6eacf31139bf9638c62eb7853ee37f70da1ad28c.zip
ethernet: arc: Add support for Rockchip SoC layer device tree bindings
This patch defines a platform glue layer for Rockchip SoCs which support arc-emac driver. It ensures that regulator for the rmii is on before trying to connect to the ethernet controller. It applies right speed and mode changes to the grf when ethernet settings change. Signed-off-by: Romain Perier <romain.perier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/arc/Kconfig')
-rw-r--r--drivers/net/ethernet/arc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/ethernet/arc/Kconfig b/drivers/net/ethernet/arc/Kconfig
index 89e04fde5f4e..8e262e2b39b6 100644
--- a/drivers/net/ethernet/arc/Kconfig
+++ b/drivers/net/ethernet/arc/Kconfig
@@ -32,4 +32,14 @@ config ARC_EMAC
non-standard on-chip ethernet device ARC EMAC 10/100 is used.
Say Y here if you have such a board. If unsure, say N.
+config EMAC_ROCKCHIP
+ tristate "Rockchip EMAC support"
+ select ARC_EMAC_CORE
+ depends on OF_IRQ && OF_NET && REGULATOR
+ ---help---
+ Support for Rockchip RK3066/RK3188 EMAC ethernet controllers.
+ This selects Rockchip SoC glue layer support for the
+ emac device driver. This driver is used for RK3066/RK3188
+ EMAC ethernet controller.
+
endif # NET_VENDOR_ARC