]> Pileus Git - ~andy/linux/commit
net fec: do not depend on grouped clocks
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 7 Mar 2012 08:30:49 +0000 (09:30 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 25 Apr 2012 15:03:37 +0000 (17:03 +0200)
commitf4d40de39a23f0c39cca55ac63e1175c69c3d2f7
tree78f58dceae9eb0f0f0ac0d87810cdd400030f524
parent13aaea03b9e33af420a327b7ab800332d6fbabf5
net fec: do not depend on grouped clocks

the current i.MX clock support groups together unrelated clocks
to a single clock which is then used by the driver. This can't
be accomplished with the generic clock framework so we instead
request the individual clocks in the driver. For i.MX there are
generally three different clocks:

ipg: bus clock (needed to access registers)
ahb: dma relevant clock, sometimes referred to as hclk in the datasheet
per: bit clock, pixel clock

This patch changes the driver to request the individual clocks.
Currently all clk_get will get the same clock until the SoCs
are converted to the generic clock framework

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/net/ethernet/freescale/fec.c