diff options
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-goni.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-goni.c | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index f20a97c8e411..bf5087c2b7fe 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -107,25 +107,29 @@ static struct s3c2410_uartcfg goni_uartcfgs[] __initdata = { | |||
107 | 107 | ||
108 | /* Frame Buffer */ | 108 | /* Frame Buffer */ |
109 | static struct s3c_fb_pd_win goni_fb_win0 = { | 109 | static struct s3c_fb_pd_win goni_fb_win0 = { |
110 | .win_mode = { | ||
111 | .left_margin = 16, | ||
112 | .right_margin = 16, | ||
113 | .upper_margin = 2, | ||
114 | .lower_margin = 28, | ||
115 | .hsync_len = 2, | ||
116 | .vsync_len = 1, | ||
117 | .xres = 480, | ||
118 | .yres = 800, | ||
119 | .refresh = 55, | ||
120 | }, | ||
121 | .max_bpp = 32, | 110 | .max_bpp = 32, |
122 | .default_bpp = 16, | 111 | .default_bpp = 16, |
112 | .xres = 480, | ||
113 | .yres = 800, | ||
123 | .virtual_x = 480, | 114 | .virtual_x = 480, |
124 | .virtual_y = 2 * 800, | 115 | .virtual_y = 2 * 800, |
125 | }; | 116 | }; |
126 | 117 | ||
118 | static struct fb_videomode goni_lcd_timing = { | ||
119 | .left_margin = 16, | ||
120 | .right_margin = 16, | ||
121 | .upper_margin = 2, | ||
122 | .lower_margin = 28, | ||
123 | .hsync_len = 2, | ||
124 | .vsync_len = 1, | ||
125 | .xres = 480, | ||
126 | .yres = 800, | ||
127 | .refresh = 55, | ||
128 | }; | ||
129 | |||
127 | static struct s3c_fb_platdata goni_lcd_pdata __initdata = { | 130 | static struct s3c_fb_platdata goni_lcd_pdata __initdata = { |
128 | .win[0] = &goni_fb_win0, | 131 | .win[0] = &goni_fb_win0, |
132 | .vtiming = &goni_lcd_timing, | ||
129 | .vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB | | 133 | .vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB | |
130 | VIDCON0_CLKSEL_LCD, | 134 | VIDCON0_CLKSEL_LCD, |
131 | .vidcon1 = VIDCON1_INV_VCLK | VIDCON1_INV_VDEN | 135 | .vidcon1 = VIDCON1_INV_VCLK | VIDCON1_INV_VDEN |