summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnamalai Lakshmanan <annamalai.lakshmanan@linaro.org>2012-04-27 14:48:15 +0530
committerTushar Behera <tushar.behera@linaro.org>2012-05-17 10:37:24 +0530
commit3cb71649135b713c38d3395baa6f5599a7f77916 (patch)
tree84b24ceaa41edd097d6b8c541e794762a7d7514e
parent20133f5c426d96ff5b7b8a3687ff606af48fe280 (diff)
ARM: EXYNOS: Added multiple window support for Origen boardtracking-samslt-fb-3.4-2012.05-1tracking-samslt-fb-3.4-2012.05-0
Signed-off-by: Annamalai Lakshmanan <annamalai.lakshmanan@linaro.org>
-rw-r--r--arch/arm/mach-exynos/mach-origen.c32
1 files changed, 26 insertions, 6 deletions
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c
index 3a08954d86cc..56e660915159 100644
--- a/arch/arm/mach-exynos/mach-origen.c
+++ b/arch/arm/mach-exynos/mach-origen.c
@@ -584,12 +584,30 @@ static struct platform_device origen_lcd_hv070wsa = {
};
static struct s3c_fb_pd_win origen_fb_win0 = {
- .xres = 1024,
- .yres = 600,
- .max_bpp = 32,
- .default_bpp = 24,
- .virtual_x = 1024,
- .virtual_y = 2 * 600,
+ .xres = 1024,
+ .yres = 600,
+ .max_bpp = 32,
+ .default_bpp = 32,
+ .virtual_x = 1024,
+ .virtual_y = 2 * 600,
+};
+
+static struct s3c_fb_pd_win origen_fb_win1 = {
+ .xres = 1024,
+ .yres = 600,
+ .max_bpp = 32,
+ .default_bpp = 32,
+ .virtual_x = 1024,
+ .virtual_y = 2 * 600,
+};
+
+static struct s3c_fb_pd_win origen_fb_win2 = {
+ .xres = 1024,
+ .yres = 600,
+ .max_bpp = 32,
+ .default_bpp = 32,
+ .virtual_x = 1024,
+ .virtual_y = 2 * 600,
};
static struct fb_videomode origen_lcd_timing = {
@@ -605,6 +623,8 @@ static struct fb_videomode origen_lcd_timing = {
static struct s3c_fb_platdata origen_lcd_pdata __initdata = {
.win[0] = &origen_fb_win0,
+ .win[1] = &origen_fb_win1,
+ .win[2] = &origen_fb_win2,
.vtiming = &origen_lcd_timing,
.vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB,
.vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC |