diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 04:28:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:16 -0400 |
commit | 5f20f69beb4983454b2d5ced4cabf90825bb263e (patch) | |
tree | e8e03747f0c5ef87dc9e10b56464acb9c2855aef /arch/arm/mach-s3c2410/mach-bast.c | |
parent | f28ef573ad09596b771b67c276bbc5f49281fa9d (diff) |
s3c2410fb: add vertical margins fields to s3c2410fb_display
This patch adds vertical margins values to all
s3c24xx platform.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-bast.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-bast.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index 6e46c20b648c..7b54f3c2a2d7 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c | |||
@@ -472,10 +472,13 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
472 | .type = S3C2410_LCDCON1_TFT, | 472 | .type = S3C2410_LCDCON1_TFT, |
473 | .width = 640, | 473 | .width = 640, |
474 | .height = 480, | 474 | .height = 480, |
475 | |||
475 | .xres = 320, | 476 | .xres = 320, |
476 | .yres = 240, | 477 | .yres = 240, |
477 | .left_margin = 40, | 478 | .left_margin = 40, |
478 | .right_margin = 20, | 479 | .right_margin = 20, |
480 | .upper_margin = 30, | ||
481 | .lower_margin = 32, | ||
479 | 482 | ||
480 | .bpp = 4, | 483 | .bpp = 4, |
481 | 484 | ||
@@ -494,6 +497,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
494 | .bpp = 4, | 497 | .bpp = 4, |
495 | .left_margin = 40, | 498 | .left_margin = 40, |
496 | .right_margin = 20, | 499 | .right_margin = 20, |
500 | .upper_margin = 30, | ||
501 | .lower_margin = 32, | ||
497 | 502 | ||
498 | .lcdcon1 = 0x00000176, | 503 | .lcdcon1 = 0x00000176, |
499 | .lcdcon2 = 0x1d77c7c2, | 504 | .lcdcon2 = 0x1d77c7c2, |
@@ -510,6 +515,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
510 | .bpp = 4, | 515 | .bpp = 4, |
511 | .left_margin = 40, | 516 | .left_margin = 40, |
512 | .right_margin = 20, | 517 | .right_margin = 20, |
518 | .upper_margin = 30, | ||
519 | .lower_margin = 32, | ||
513 | 520 | ||
514 | .lcdcon1 = 0x00000176, | 521 | .lcdcon1 = 0x00000176, |
515 | .lcdcon2 = 0x1d77c7c2, | 522 | .lcdcon2 = 0x1d77c7c2, |
@@ -526,6 +533,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
526 | .bpp = 8, | 533 | .bpp = 8, |
527 | .left_margin = 40, | 534 | .left_margin = 40, |
528 | .right_margin = 20, | 535 | .right_margin = 20, |
536 | .upper_margin = 30, | ||
537 | .lower_margin = 32, | ||
529 | 538 | ||
530 | .lcdcon1 = 0x00000176, | 539 | .lcdcon1 = 0x00000176, |
531 | .lcdcon2 = 0x1d77c7c2, | 540 | .lcdcon2 = 0x1d77c7c2, |
@@ -542,6 +551,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
542 | .bpp = 8, | 551 | .bpp = 8, |
543 | .left_margin = 40, | 552 | .left_margin = 40, |
544 | .right_margin = 20, | 553 | .right_margin = 20, |
554 | .upper_margin = 30, | ||
555 | .lower_margin = 32, | ||
545 | 556 | ||
546 | .lcdcon1 = 0x00000176, | 557 | .lcdcon1 = 0x00000176, |
547 | .lcdcon2 = 0x1d77c7c2, | 558 | .lcdcon2 = 0x1d77c7c2, |
@@ -558,6 +569,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
558 | .bpp = 8, | 569 | .bpp = 8, |
559 | .left_margin = 40, | 570 | .left_margin = 40, |
560 | .right_margin = 20, | 571 | .right_margin = 20, |
572 | .upper_margin = 30, | ||
573 | .lower_margin = 32, | ||
561 | 574 | ||
562 | .lcdcon1 = 0x00000176, | 575 | .lcdcon1 = 0x00000176, |
563 | .lcdcon2 = 0x1d77c7c2, | 576 | .lcdcon2 = 0x1d77c7c2, |
@@ -574,6 +587,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
574 | .bpp = 16, | 587 | .bpp = 16, |
575 | .left_margin = 40, | 588 | .left_margin = 40, |
576 | .right_margin = 20, | 589 | .right_margin = 20, |
590 | .upper_margin = 30, | ||
591 | .lower_margin = 32, | ||
577 | 592 | ||
578 | .lcdcon1 = 0x00000176, | 593 | .lcdcon1 = 0x00000176, |
579 | .lcdcon2 = 0x1d77c7c2, | 594 | .lcdcon2 = 0x1d77c7c2, |
@@ -590,6 +605,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
590 | .bpp = 16, | 605 | .bpp = 16, |
591 | .left_margin = 40, | 606 | .left_margin = 40, |
592 | .right_margin = 20, | 607 | .right_margin = 20, |
608 | .upper_margin = 30, | ||
609 | .lower_margin = 32, | ||
593 | 610 | ||
594 | .lcdcon1 = 0x00000176, | 611 | .lcdcon1 = 0x00000176, |
595 | .lcdcon2 = 0x1d77c7c2, | 612 | .lcdcon2 = 0x1d77c7c2, |
@@ -606,6 +623,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
606 | .bpp = 16, | 623 | .bpp = 16, |
607 | .left_margin = 40, | 624 | .left_margin = 40, |
608 | .right_margin = 20, | 625 | .right_margin = 20, |
626 | .upper_margin = 30, | ||
627 | .lower_margin = 32, | ||
609 | 628 | ||
610 | .lcdcon1 = 0x00000176, | 629 | .lcdcon1 = 0x00000176, |
611 | .lcdcon2 = 0x1d77c7c2, | 630 | .lcdcon2 = 0x1d77c7c2, |