Changeset 3603
- Timestamp:
- 12/06/07 14:08:01 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/src/target/kernel/2.6.24.x/patches/gta01-core.patch
r3592 r3603 32 32 --- /dev/null 33 33 +++ linux-2.6/arch/arm/mach-s3c2410/mach-gta01.c 34 @@ -0,0 +1,7 60@@34 @@ -0,0 +1,783 @@ 35 35 +/* 36 36 + * linux/arch/arm/mach-s3c2410/mach-gta01.c … … 309 309 +/* LCD driver info */ 310 310 + 311 +/* Configuration for 480x640 toppoly TD028TTEC1 */ 312 +static struct s3c2410fb_display gta01_displays[] __initdata = { 311 +/* Configuration for 480x640 toppoly TD028TTEC1. 312 + * Do not mark this as __initdata or it will break! */ 313 +static struct s3c2410fb_display gta01_displays[] = { 313 314 + { 314 315 + .type = S3C2410_LCDCON1_TFT, 315 + .width = 4 80,316 + .height = 640,316 + .width = 43, 317 + .height = 58, 317 318 + .xres = 480, 318 319 + .yres = 640, … … 323 324 + .right_margin = 8, 324 325 + .hsync_len = 8, 325 + .upper_margin = 16,326 + .lower_margin = 2,326 + .upper_margin = 2, 327 + .lower_margin = 16, 327 328 + .vsync_len = 2, 328 329 + .lcdcon5 = S3C2410_LCDCON5_FRM565 | … … 335 336 + { 336 337 + .type = S3C2410_LCDCON1_TFT, 337 + .width = 240, 338 + .height = 320, 338 + .width = 43, 339 + .height = 58, 340 + .xres = 480, 341 + .yres = 640, 342 + .bpp = 32, 343 + 344 + .pixclock = 40000, /* HCLK/4 */ 345 + .left_margin = 104, 346 + .right_margin = 8, 347 + .hsync_len = 8, 348 + .upper_margin = 2, 349 + .lower_margin = 16, 350 + .vsync_len = 2, 351 + .lcdcon5 = S3C2410_LCDCON5_FRM565 | 352 + S3C2410_LCDCON5_INVVCLK | 353 + S3C2410_LCDCON5_INVVLINE | 354 + S3C2410_LCDCON5_INVVFRAME | 355 + S3C2410_LCDCON5_PWREN | 356 + S3C2410_LCDCON5_HWSWP, 357 + }, 358 + { 359 + .type = S3C2410_LCDCON1_TFT, 360 + .width = 43, 361 + .height = 58, 339 362 + .xres = 240, 340 363 + .yres = 320,
Note: See TracChangeset
for help on using the changeset viewer.
