]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc sdhc i.MX: do not depend on grouped clocks
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 7 Mar 2012 08:31:34 +0000 (09:31 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 25 Apr 2012 15:03:38 +0000 (17:03 +0200)
commit52dac6150580f356a96b9a49715f6234fbf00d3a
treefaa3e9b85e8be1afb00d2bec2e485cf1734c61dd
parent529aa29e033f3bcd3346de1532e4bd5ff969fd0d
mmc sdhc i.MX: 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/mmc/host/sdhci-esdhc-imx.c