arc_emac: add clock handling
authorHeiko Stübner <heiko@sntech.de>
Fri, 25 Apr 2014 08:06:13 +0000 (10:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Apr 2014 23:46:17 +0000 (19:46 -0400)
commit88154c96ee2dab84ae78ad41562b4a3a23d83788
tree8b5892907536e3d31a325ce0587e3e1a6e416535
parent796bec1efbbd3be98d84cd68279c6ec03a4782f9
arc_emac: add clock handling

This adds ability for the arc_emac to really handle its supplying clock.
To get the needed clock-frequency either a real clock or the previous
clock-frequency property must be provided.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Max Schwarz <max.schwarz@online.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/arc_emac.txt
drivers/net/ethernet/arc/emac.h
drivers/net/ethernet/arc/emac_main.c