diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-08-19 14:21:12 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-09-15 22:06:46 -0400 |
commit | 0783a56087e9ecfae2f01f9662ff52081c5b5e25 (patch) | |
tree | da9719b2d2478b123e13aa1cf6ac0bd5b2d7cdaf | |
parent | bad66c3ebdcdb4043bdcfe24ddab4802d5fc4327 (diff) |
ARM: clk-imx6sl: Select appropriate parents for LCDIF clocks
PLL5 is well suited for being the parent of IMX6SL_CLK_LCDIF_PIX_SEL and
PLL2_PFD for IMX6SL_CLK_LCDIF_AXI_SEL.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
-rw-r--r-- | arch/arm/mach-imx/clk-imx6sl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk-imx6sl.c b/arch/arm/mach-imx/clk-imx6sl.c index ba3af22c1266..11908e8bf9ab 100644 --- a/arch/arm/mach-imx/clk-imx6sl.c +++ b/arch/arm/mach-imx/clk-imx6sl.c | |||
@@ -376,6 +376,13 @@ static void __init imx6sl_clocks_init(struct device_node *ccm_node) | |||
376 | /* Audio-related clocks configuration */ | 376 | /* Audio-related clocks configuration */ |
377 | clk_set_parent(clks[IMX6SL_CLK_SPDIF0_SEL], clks[IMX6SL_CLK_PLL3_PFD3]); | 377 | clk_set_parent(clks[IMX6SL_CLK_SPDIF0_SEL], clks[IMX6SL_CLK_PLL3_PFD3]); |
378 | 378 | ||
379 | /* set PLL5 video as lcdif pix parent clock */ | ||
380 | clk_set_parent(clks[IMX6SL_CLK_LCDIF_PIX_SEL], | ||
381 | clks[IMX6SL_CLK_PLL5_VIDEO_DIV]); | ||
382 | |||
383 | clk_set_parent(clks[IMX6SL_CLK_LCDIF_AXI_SEL], | ||
384 | clks[IMX6SL_CLK_PLL2_PFD2]); | ||
385 | |||
379 | /* Set initial power mode */ | 386 | /* Set initial power mode */ |
380 | imx6q_set_lpm(WAIT_CLOCKED); | 387 | imx6q_set_lpm(WAIT_CLOCKED); |
381 | } | 388 | } |