diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2011-03-08 05:51:09 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-10 05:17:29 -0500 |
commit | 12b90f8a2ce4d913d9080dcd6b6c329db00cbbeb (patch) | |
tree | 3ab4f0b922619261e82de02ea4dbe7e318780e19 /arch/arm/mach-mxs/clock-mx28.c | |
parent | 47be6b92c37a27837d73f4807684ce423aed796d (diff) |
ARM: mx28: set proper parent for lcdif clock
Most likely, the LCD panel on mx28 platform will require a pixel
clock higher than ref_xtal_clk (24 MHz), so the patch initializes
the parent of lcdif clock as ref_pix_clk.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/clock-mx28.c')
-rw-r--r-- | arch/arm/mach-mxs/clock-mx28.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/clock-mx28.c b/arch/arm/mach-mxs/clock-mx28.c index a350f9576019..5e489a2b2023 100644 --- a/arch/arm/mach-mxs/clock-mx28.c +++ b/arch/arm/mach-mxs/clock-mx28.c | |||
@@ -750,6 +750,8 @@ int __init mx28_clocks_init(void) | |||
750 | clk_enable(&emi_clk); | 750 | clk_enable(&emi_clk); |
751 | clk_enable(&uart_clk); | 751 | clk_enable(&uart_clk); |
752 | 752 | ||
753 | clk_set_parent(&lcdif_clk, &ref_pix_clk); | ||
754 | |||
753 | clkdev_add_table(lookups, ARRAY_SIZE(lookups)); | 755 | clkdev_add_table(lookups, ARRAY_SIZE(lookups)); |
754 | 756 | ||
755 | mxs_timer_init(&clk32k_clk, MX28_INT_TIMER0); | 757 | mxs_timer_init(&clk32k_clk, MX28_INT_TIMER0); |