]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial i.MX: do not depend on grouped clocks
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 7 Mar 2012 08:31:43 +0000 (09:31 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 25 Apr 2012 15:03:39 +0000 (17:03 +0200)
commit3a9465fa2dc42a8ebc2fe9144f4dfa23d5899f85
tree1aab9e15d798e4ecc482948e85724179931e39ef
parent52dac6150580f356a96b9a49715f6234fbf00d3a
serial 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/tty/serial/imx.c