]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00179647 MX6 clock:Correct LDB DI pclk for MX6Q TO1.1
authorLiu Ying <Ying.Liu@freescale.com>
Fri, 13 Apr 2012 10:10:14 +0000 (18:10 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:26 +0000 (08:34 +0200)
This patch corrects LDB DI clock's parent clock to
be pll2_pfd_352M for both MX6Q TO1.1 and MX6Q TO1.0
according to ticket TKT071080(0b011 for ldb_dix_clk_sel
field in CCM_CS2CDR is changed from pll3_pfd_540M to
mmdc_ch1 when we change from MX6Q TO1.0 to MX6Q TO1.1).

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
arch/arm/mach-mx6/clock.c

index bd90ba897518f4adb07f0dc9a873eda574bc0d63..47ee9b7956aedab8839bb5767fe7e0556c9e6912 100644 (file)
@@ -5208,12 +5208,13 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc,
 
                /* on mx6dl, max ipu clock is 274M */
                clk_set_parent(&ipu1_clk, &pll3_pfd_540M);
-               clk_set_parent(&ldb_di0_clk, &pll2_pfd_352M);
-               clk_set_parent(&ldb_di1_clk, &pll2_pfd_352M);
        }
        if (cpu_is_mx6q())
                clk_set_parent(&gpu2d_core_clk[0], &pll3_usb_otg_main_clk);
 
+       clk_set_parent(&ldb_di0_clk, &pll2_pfd_352M);
+       clk_set_parent(&ldb_di1_clk, &pll2_pfd_352M);
+
        /* PCLK camera - J5 */
        clk_set_parent(&clko2_clk, &osc_clk);
        clk_set_rate(&clko2_clk, 2400000);