ARM i.MX6q: Add virtual 1/3.5 dividers in the LDB clock path
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 15 Aug 2012 10:00:16 +0000 (12:00 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 17 Aug 2012 02:31:43 +0000 (10:31 +0800)
commit16339464c5d67d0536837fc5342c9c2432b80ae0
tree3da0b5818a4daced1e1e135278b63634f23d0dd8
parentd9875690d9b89a866022ff49e3fcea892345ad92
ARM i.MX6q: Add virtual 1/3.5 dividers in the LDB clock path

The ldb_di[01]_podf is implemented as a clk-divider that
divides by 1 or 2. In reality, the ldb_di[01]_ipu_div
dividers divide by either 3.5 or 7. Adding a fixed factor
of 1/3.5 fixes their children's clock rates.

This should probably be converted to rate table based dividers,
once available.

Cc: <stable@vger.kernel.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx6q.c