aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/mach-smdkv210.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-smdkv210.c')
-rw-r--r--arch/arm/mach-s5pv210/mach-smdkv210.c24
1 files changed, 14 insertions, 10 deletions
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c
index 91d4ad8bcc73..5e0c9559d4b3 100644
--- a/arch/arm/mach-s5pv210/mach-smdkv210.c
+++ b/arch/arm/mach-s5pv210/mach-smdkv210.c
@@ -189,22 +189,26 @@ static struct platform_device smdkv210_lcd_lte480wv = {
189}; 189};
190 190
191static struct s3c_fb_pd_win smdkv210_fb_win0 = { 191static struct s3c_fb_pd_win smdkv210_fb_win0 = {
192 .win_mode = {
193 .left_margin = 13,
194 .right_margin = 8,
195 .upper_margin = 7,
196 .lower_margin = 5,
197 .hsync_len = 3,
198 .vsync_len = 1,
199 .xres = 800,
200 .yres = 480,
201 },
202 .max_bpp = 32, 192 .max_bpp = 32,
203 .default_bpp = 24, 193 .default_bpp = 24,
194 .xres = 800,
195 .yres = 480,
196};
197
198static struct fb_videomode smdkv210_lcd_timing = {
199 .left_margin = 13,
200 .right_margin = 8,
201 .upper_margin = 7,
202 .lower_margin = 5,
203 .hsync_len = 3,
204 .vsync_len = 1,
205 .xres = 800,
206 .yres = 480,
204}; 207};
205 208
206static struct s3c_fb_platdata smdkv210_lcd0_pdata __initdata = { 209static struct s3c_fb_platdata smdkv210_lcd0_pdata __initdata = {
207 .win[0] = &smdkv210_fb_win0, 210 .win[0] = &smdkv210_fb_win0,
211 .vtiming = &smdkv210_lcd_timing,
208 .vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB, 212 .vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB,
209 .vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC, 213 .vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC,
210 .setup_gpio = s5pv210_fb_gpio_setup_24bpp, 214 .setup_gpio = s5pv210_fb_gpio_setup_24bpp,