]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00174649 i.mx6dl: clock: set ipu1 clock to 270M, change ldb_di_clk parent
authorWayne Zou <b36644@freescale.com>
Thu, 16 Feb 2012 07:28:11 +0000 (15:28 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:58 +0000 (14:10 +0200)
Set ipu1 clock to 270M, source from pll3_pfd_540M for best performance.
And set ldb_di_clk parent to pll2_pfd_352M.

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

index c23009884da28ec2fc5b4b91f5393952caa3f532..56f78392b785cd53c8e52f1a155bf5a1b4566004 100644 (file)
@@ -5223,6 +5223,11 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc,
                /* on mx6dl gpu2d_axi_clk source from mmdc0 directly */
                clk_set_parent(&gpu2d_axi_clk, &mmdc_ch0_axi_clk[0]);
                gpu2d_axi_clk.secondary = NULL;
+
+               /* 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);