stmmac: Add an optional register interface clock
authorAndrew Bresticker <abrestic@chromium.org>
Tue, 7 Apr 2015 20:38:45 +0000 (13:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2015 18:58:15 +0000 (14:58 -0400)
commit5f9755d26fbfcb6787a6746653f1760fef0d5ba5
tree0096a69a71bd906fea0cf390ddb1f21b03588d1a
parent2790460e145d198fe6925d405301a49b2d8cb03f
stmmac: Add an optional register interface clock

The DWMAC block on certain SoCs (such as IMG Pistachio) have a second
clock which must be enabled in order to access the peripheral's
register interface, so add support for requesting and enabling an
optional "pclk".

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: James Hartley <james.hartley@imgtec.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/stmmac.txt
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c