net: mv643xx_eth: add shared clk and cleanup existing clk handling
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 10 Apr 2013 23:29:33 +0000 (23:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2013 20:19:38 +0000 (16:19 -0400)
commit209224862cabf7a871d680c448148ef6376bf98b
tree4e4f609e0fe1e5be8e629441baeafc55d77f5807
parentb8075daf552b37b668618f47d15ce2e2e7a1b258
net: mv643xx_eth: add shared clk and cleanup existing clk handling

This patch adds an optional shared block clock to avoid lockups on
clock gated controllers. Besides the new clock, clock handling for
existing clocks is cleaned up and moved to devm_clk_get. Device
tree binding documentation is updated for the new clocks property.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/marvell.txt
drivers/net/ethernet/marvell/mv643xx_eth.c