diff options
Diffstat (limited to 'arch/arm/mach-exynos/mach-nuri.c')
-rw-r--r-- | arch/arm/mach-exynos/mach-nuri.c | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-nuri.c index 972983e392bc..656f8fc9addd 100644 --- a/arch/arm/mach-exynos/mach-nuri.c +++ b/arch/arm/mach-exynos/mach-nuri.c | |||
@@ -237,25 +237,29 @@ static struct exynos_drm_fimd_pdata drm_fimd_pdata = { | |||
237 | #else | 237 | #else |
238 | /* Frame Buffer */ | 238 | /* Frame Buffer */ |
239 | static struct s3c_fb_pd_win nuri_fb_win0 = { | 239 | static struct s3c_fb_pd_win nuri_fb_win0 = { |
240 | .win_mode = { | ||
241 | .left_margin = 64, | ||
242 | .right_margin = 16, | ||
243 | .upper_margin = 64, | ||
244 | .lower_margin = 1, | ||
245 | .hsync_len = 48, | ||
246 | .vsync_len = 3, | ||
247 | .xres = 1024, | ||
248 | .yres = 600, | ||
249 | .refresh = 60, | ||
250 | }, | ||
251 | .max_bpp = 24, | 240 | .max_bpp = 24, |
252 | .default_bpp = 16, | 241 | .default_bpp = 16, |
242 | .xres = 1024, | ||
243 | .yres = 600, | ||
253 | .virtual_x = 1024, | 244 | .virtual_x = 1024, |
254 | .virtual_y = 2 * 600, | 245 | .virtual_y = 2 * 600, |
255 | }; | 246 | }; |
256 | 247 | ||
248 | static struct fb_videomode nuri_lcd_timing = { | ||
249 | .left_margin = 64, | ||
250 | .right_margin = 16, | ||
251 | .upper_margin = 64, | ||
252 | .lower_margin = 1, | ||
253 | .hsync_len = 48, | ||
254 | .vsync_len = 3, | ||
255 | .xres = 1024, | ||
256 | .yres = 600, | ||
257 | .refresh = 60, | ||
258 | }; | ||
259 | |||
257 | static struct s3c_fb_platdata nuri_fb_pdata __initdata = { | 260 | static struct s3c_fb_platdata nuri_fb_pdata __initdata = { |
258 | .win[0] = &nuri_fb_win0, | 261 | .win[0] = &nuri_fb_win0, |
262 | .vtiming = &nuri_lcd_timing, | ||
259 | .vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB | | 263 | .vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB | |
260 | VIDCON0_CLKSEL_LCD, | 264 | VIDCON0_CLKSEL_LCD, |
261 | .vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC, | 265 | .vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC, |