]> git.baikalelectronics.ru Git - kernel.git/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)
commitf1e805c76850f8f4f0db259091e2a13f02b5f22f
tree78f58dceae9eb0f0f0ac0d87810cdd400030f524
parent58cc7e36e74106a509d419ec480df018c399bd58
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