diff options
Diffstat (limited to 'arch/arm/mach-exynos/mach-smdkv310.c')
-rw-r--r-- | arch/arm/mach-exynos/mach-smdkv310.c | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c index 83b91fa777c1..3e482b8c3af8 100644 --- a/arch/arm/mach-exynos/mach-smdkv310.c +++ b/arch/arm/mach-exynos/mach-smdkv310.c | |||
@@ -161,22 +161,26 @@ static struct platform_device smdkv310_lcd_lte480wv = { | |||
161 | }; | 161 | }; |
162 | 162 | ||
163 | static struct s3c_fb_pd_win smdkv310_fb_win0 = { | 163 | static struct s3c_fb_pd_win smdkv310_fb_win0 = { |
164 | .win_mode = { | 164 | .max_bpp = 32, |
165 | .left_margin = 13, | 165 | .default_bpp = 24, |
166 | .right_margin = 8, | 166 | .xres = 800, |
167 | .upper_margin = 7, | 167 | .yres = 480, |
168 | .lower_margin = 5, | 168 | }; |
169 | .hsync_len = 3, | 169 | |
170 | .vsync_len = 1, | 170 | static struct fb_videomode smdkv310_lcd_timing = { |
171 | .xres = 800, | 171 | .left_margin = 13, |
172 | .yres = 480, | 172 | .right_margin = 8, |
173 | }, | 173 | .upper_margin = 7, |
174 | .max_bpp = 32, | 174 | .lower_margin = 5, |
175 | .default_bpp = 24, | 175 | .hsync_len = 3, |
176 | .vsync_len = 1, | ||
177 | .xres = 800, | ||
178 | .yres = 480, | ||
176 | }; | 179 | }; |
177 | 180 | ||
178 | static struct s3c_fb_platdata smdkv310_lcd0_pdata __initdata = { | 181 | static struct s3c_fb_platdata smdkv310_lcd0_pdata __initdata = { |
179 | .win[0] = &smdkv310_fb_win0, | 182 | .win[0] = &smdkv310_fb_win0, |
183 | .vtiming = &smdkv310_lcd_timing, | ||
180 | .vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB, | 184 | .vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB, |
181 | .vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC, | 185 | .vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC, |
182 | .setup_gpio = exynos4_fimd0_gpio_setup_24bpp, | 186 | .setup_gpio = exynos4_fimd0_gpio_setup_24bpp, |