diff options
author | Liu Ying <b17645@freescale.com> | 2010-12-10 16:03:10 +0800 |
---|---|---|
committer | Liu Ying <b17645@freescale.com> | 2010-12-16 09:58:44 +0800 |
commit | 00bcc7e6fb772a0d195c997287c6795ed0c58fb4 (patch) | |
tree | c521ddcbf279634d88e102eb858b512f2267f6a6 /drivers/video/ipu_common.c | |
parent | dca35697e3758ac81894ca305c3f206ff552b697 (diff) | |
download | u-boot-imx-00bcc7e6fb772a0d195c997287c6795ed0c58fb4.zip u-boot-imx-00bcc7e6fb772a0d195c997287c6795ed0c58fb4.tar.gz u-boot-imx-00bcc7e6fb772a0d195c997287c6795ed0c58fb4.tar.bz2 |
ENGR00134068 MX51 BBG:Support CLAA WVGA splashimage
1) IOMUX/backlight support for CLAA WVGA LCD panel.
2) Add video mode for CLAA WVGA LCD panel.
3) Support IPU di1 interface for framebuffer.
4) Enhance IPU driver.
5) Add freescale 600x400 8BPP BMP logo.
Signed-off-by: Terry Lv <R65388@freescale.com>
Signed-off-by: Liu Ying <b17645@freescale.com>
Diffstat (limited to 'drivers/video/ipu_common.c')
-rw-r--r-- | drivers/video/ipu_common.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/video/ipu_common.c b/drivers/video/ipu_common.c index 88f6a52..0a47117 100644 --- a/drivers/video/ipu_common.c +++ b/drivers/video/ipu_common.c @@ -162,6 +162,7 @@ int clk_set_parent(struct clk *clk, struct clk *parent) static int clk_ipu_enable(struct clk *clk) { + ipu_clk_enable(); return 0; } @@ -169,7 +170,6 @@ static void clk_ipu_disable(struct clk *clk) { } - static struct clk ipu_clk = { .name = "ipu_clk", .rate = 133000000, @@ -976,8 +976,12 @@ int32_t ipu_enable_channel(ipu_channel_t channel) } if ((channel == MEM_DC_SYNC) || (channel == MEM_BG_SYNC) || - (channel == MEM_FG_SYNC)) + (channel == MEM_FG_SYNC)) { + reg = __raw_readl(IDMAC_WM_EN(in_dma)); + __raw_writel(reg | idma_mask(in_dma), IDMAC_WM_EN(in_dma)); + ipu_dp_dc_enable(channel); + } g_channel_enable_mask |= 1L << IPU_CHAN_ID(channel); |