]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b9a6dab4beac3b8e45c94fa76403abd09c2401a
tree8b5892907536e3d31a325ce0587e3e1a6e416535
parent6e3ed977c10cb0a74c52a35d1db8a348ab0de19d
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