diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-qt2410.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-qt2410.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/mach-qt2410.c b/arch/arm/mach-s3c2410/mach-qt2410.c index 03ea5d7b2a17..0c1ff0a41a99 100644 --- a/arch/arm/mach-s3c2410/mach-qt2410.c +++ b/arch/arm/mach-s3c2410/mach-qt2410.c | |||
@@ -123,12 +123,15 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = { | |||
123 | S3C2410_LCDCON5_HWSWP, | 123 | S3C2410_LCDCON5_HWSWP, |
124 | }, | 124 | }, |
125 | 125 | ||
126 | .type = S3C2410_LCDCON1_TFT, | ||
126 | .width = 640, | 127 | .width = 640, |
127 | .height = 480, | 128 | .height = 480, |
128 | 129 | ||
129 | .xres = 640, | 130 | .xres = 640, |
130 | .yres = 480, | 131 | .yres = 480, |
131 | .bpp = 16, | 132 | .bpp = 16, |
133 | .left_margin = 44, | ||
134 | .right_margin = 116, | ||
132 | }, | 135 | }, |
133 | { | 136 | { |
134 | /* Configuration for 480x640 toppoly TD028TTEC1 */ | 137 | /* Configuration for 480x640 toppoly TD028TTEC1 */ |
@@ -157,11 +160,14 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = { | |||
157 | S3C2410_LCDCON5_HWSWP, | 160 | S3C2410_LCDCON5_HWSWP, |
158 | }, | 161 | }, |
159 | 162 | ||
163 | .type = S3C2410_LCDCON1_TFT, | ||
160 | .width = 480, | 164 | .width = 480, |
161 | .height = 640, | 165 | .height = 640, |
162 | .xres = 480, | 166 | .xres = 480, |
163 | .yres = 640, | 167 | .yres = 640, |
164 | .bpp = 16, | 168 | .bpp = 16, |
169 | .left_margin = 8, | ||
170 | .right_margin = 24, | ||
165 | }, | 171 | }, |
166 | { | 172 | { |
167 | /* Config for 240x320 LCD */ | 173 | /* Config for 240x320 LCD */ |
@@ -190,11 +196,14 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = { | |||
190 | S3C2410_LCDCON5_HWSWP, | 196 | S3C2410_LCDCON5_HWSWP, |
191 | }, | 197 | }, |
192 | 198 | ||
199 | .type = S3C2410_LCDCON1_TFT, | ||
193 | .width = 240, | 200 | .width = 240, |
194 | .height = 320, | 201 | .height = 320, |
195 | .xres = 240, | 202 | .xres = 240, |
196 | .yres = 320, | 203 | .yres = 320, |
197 | .bpp = 16, | 204 | .bpp = 16, |
205 | .left_margin = 13, | ||
206 | .right_margin = 8, | ||
198 | }, | 207 | }, |
199 | }; | 208 | }; |
200 | 209 | ||