diff options
author | Robby Cai <R63905@freescale.com> | 2013-08-22 02:35:09 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:01:27 -0400 |
commit | 423273b4437f3df3201856afa93fd93e87d44c67 (patch) | |
tree | 77a8d420848a2d7102cd42bdb7be98c9567db92b /arch | |
parent | d8a07074df2009874fdad284b8ceedb7244a8a18 (diff) |
ENGR00275031-1 mx6sl fb: support lcdif framebuffer on 3.10
re-use the upstreaming mxsfb.c code.
- add the lcdif axi clock for register and dram access
- set the lcdif pix's parent as pll5_video to get most accurate pix clock
- add binding doc for lcdif dts
Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/clk-imx6sl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk-imx6sl.c b/arch/arm/mach-imx/clk-imx6sl.c index 4c367f4711fc..b634990362ab 100644 --- a/arch/arm/mach-imx/clk-imx6sl.c +++ b/arch/arm/mach-imx/clk-imx6sl.c | |||
@@ -280,5 +280,11 @@ static void __init imx6sl_clocks_init(struct device_node *ccm_node) | |||
280 | WARN_ON(!base); | 280 | WARN_ON(!base); |
281 | irq = irq_of_parse_and_map(np, 0); | 281 | irq = irq_of_parse_and_map(np, 0); |
282 | mxc_timer_init(base, irq); | 282 | mxc_timer_init(base, irq); |
283 | |||
284 | /* Initialize Video PLLs to valid frequency (650MHz). */ | ||
285 | clk_set_rate(clks[IMX6SL_CLK_PLL5_VIDEO_DIV], 650000000); | ||
286 | /* set PLL5 video as lcdif pix parent clock */ | ||
287 | clk_set_parent(clks[IMX6SL_CLK_LCDIF_PIX_SEL], | ||
288 | clks[IMX6SL_CLK_PLL5_VIDEO_DIV]); | ||
283 | } | 289 | } |
284 | CLK_OF_DECLARE(imx6sl, "fsl,imx6sl-ccm", imx6sl_clocks_init); | 290 | CLK_OF_DECLARE(imx6sl, "fsl,imx6sl-ccm", imx6sl_clocks_init); |