mx31: correct csi_clk parent (v2)
authorValentin Longchamp <valentin.longchamp@epfl.ch>
Thu, 28 May 2009 14:46:21 +0000 (16:46 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 28 May 2009 15:20:53 +0000 (17:20 +0200)
commit0573cb5f45f1b98b74348c3f1ed4f26e56e774e5
treeef40e424244a8da7de2713e8bb5023cdcb7e6fa2
parent0b0ef442958d74e5749c460b0ae68606e317fe01
mx31: correct csi_clk parent (v2)

changes since v1: we now check if the parent configuration bit was
changed since reset and change the parent when needed.

csi_clk parent was defined with ahb_clk. However, according to the
m31 reference manual, it should be serial_pll_clk.

Guennadi always used a 20 MHz clock that was by chance changed to
a 45 MHz that fits in the mt9t031 spec. Now the clocks are computed
and output correctly (measured on oscillo).

Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx3/clock.c