]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00181191 MX6: set ipu2_clk parent from pll2_pfd_400M
authorWayne Zou <b36644@freescale.com>
Fri, 27 Apr 2012 06:31:55 +0000 (14:31 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:39 +0000 (14:11 +0200)
On mx6dl, set ipu2_clk's parent from pll2_pfd_400M.
On mx6q, ipu2_clk's parent from mmdc_ch0_axi_clk, and it is 264MHz by default.

Signed-off-by: Wayne Zou <b36644@freescale.com>
arch/arm/mach-mx6/clock.c

index 7ee0f3e9c6435a020ea40601c8e402da7f34348c..33f75c0965abe8e5aa355f045641f4e27cc38881 100644 (file)
@@ -5320,11 +5320,6 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc,
        if (cpu_is_mx6dl())
                clk_set_parent(&mlb150_clk, &pll3_sw_clk);
 
-
-       /* pxp & epdc */
-       clk_set_parent(&ipu2_clk, &pll2_pfd_400M);
-       clk_set_rate(&ipu2_clk, 200000000);
-
        if (mx6q_revision() == IMX_CHIP_REVISION_1_0) {
                gpt_clk[0].parent = &ipg_perclk;
                gpt_clk[0].get_rate = NULL;
@@ -5335,6 +5330,9 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc,
        }
 
        if (cpu_is_mx6dl()) {
+               /* pxp & epdc */
+               clk_set_parent(&ipu2_clk, &pll2_pfd_400M);
+               clk_set_rate(&ipu2_clk, 200000000);
                if (epdc_enabled)
                        clk_set_parent(&ipu2_di_clk[1], &pll5_video_main_clk);
                else