mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-28 21:46:02 -04:00
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>
This commit is contained in:
committed by
David S. Miller
parent
60005c60b1
commit
6eacf31139
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user