diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 04:29:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:17 -0400 |
commit | 93d11f5a15020a514e522e678b2b3e7a1bc01f86 (patch) | |
tree | f70e94a82e8a43ab5308f36b9658ce6aa0a06a70 /arch/arm/mach-s3c2410/mach-bast.c | |
parent | 3c9ffd0501157b38599b5bb7711366913f633f88 (diff) |
s3c2410fb: add pulse length fields to s3c2410fb_display
This patch adds synchronization pulse lenght fields to
the s3c2410fb_display structure and makes use of them
in the driver.
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 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index 7b54f3c2a2d7..e9c9df078925 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c | |||
@@ -477,8 +477,10 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
477 | .yres = 240, | 477 | .yres = 240, |
478 | .left_margin = 40, | 478 | .left_margin = 40, |
479 | .right_margin = 20, | 479 | .right_margin = 20, |
480 | .hsync_len = 88, | ||
480 | .upper_margin = 30, | 481 | .upper_margin = 30, |
481 | .lower_margin = 32, | 482 | .lower_margin = 32, |
483 | .vsync_len = 3, | ||
482 | 484 | ||
483 | .bpp = 4, | 485 | .bpp = 4, |
484 | 486 | ||
@@ -497,8 +499,10 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
497 | .bpp = 4, | 499 | .bpp = 4, |
498 | .left_margin = 40, | 500 | .left_margin = 40, |
499 | .right_margin = 20, | 501 | .right_margin = 20, |
502 | .hsync_len = 88, | ||
500 | .upper_margin = 30, | 503 | .upper_margin = 30, |
501 | .lower_margin = 32, | 504 | .lower_margin = 32, |
505 | .vsync_len = 3, | ||
502 | 506 | ||
503 | .lcdcon1 = 0x00000176, | 507 | .lcdcon1 = 0x00000176, |
504 | .lcdcon2 = 0x1d77c7c2, | 508 | .lcdcon2 = 0x1d77c7c2, |
@@ -515,8 +519,10 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
515 | .bpp = 4, | 519 | .bpp = 4, |
516 | .left_margin = 40, | 520 | .left_margin = 40, |
517 | .right_margin = 20, | 521 | .right_margin = 20, |
522 | .hsync_len = 88, | ||
518 | .upper_margin = 30, | 523 | .upper_margin = 30, |
519 | .lower_margin = 32, | 524 | .lower_margin = 32, |
525 | .vsync_len = 3, | ||
520 | 526 | ||
521 | .lcdcon1 = 0x00000176, | 527 | .lcdcon1 = 0x00000176, |
522 | .lcdcon2 = 0x1d77c7c2, | 528 | .lcdcon2 = 0x1d77c7c2, |
@@ -533,8 +539,10 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
533 | .bpp = 8, | 539 | .bpp = 8, |
534 | .left_margin = 40, | 540 | .left_margin = 40, |
535 | .right_margin = 20, | 541 | .right_margin = 20, |
542 | .hsync_len = 88, | ||
536 | .upper_margin = 30, | 543 | .upper_margin = 30, |
537 | .lower_margin = 32, | 544 | .lower_margin = 32, |
545 | .vsync_len = 3, | ||
538 | 546 | ||
539 | .lcdcon1 = 0x00000176, | 547 | .lcdcon1 = 0x00000176, |
540 | .lcdcon2 = 0x1d77c7c2, | 548 | .lcdcon2 = 0x1d77c7c2, |
@@ -551,8 +559,10 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
551 | .bpp = 8, | 559 | .bpp = 8, |
552 | .left_margin = 40, | 560 | .left_margin = 40, |
553 | .right_margin = 20, | 561 | .right_margin = 20, |
562 | .hsync_len = 88, | ||
554 | .upper_margin = 30, | 563 | .upper_margin = 30, |
555 | .lower_margin = 32, | 564 | .lower_margin = 32, |
565 | .vsync_len = 3, | ||
556 | 566 | ||
557 | .lcdcon1 = 0x00000176, | 567 | .lcdcon1 = 0x00000176, |
558 | .lcdcon2 = 0x1d77c7c2, | 568 | .lcdcon2 = 0x1d77c7c2, |
@@ -569,8 +579,10 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
569 | .bpp = 8, | 579 | .bpp = 8, |
570 | .left_margin = 40, | 580 | .left_margin = 40, |
571 | .right_margin = 20, | 581 | .right_margin = 20, |
582 | .hsync_len = 88, | ||
572 | .upper_margin = 30, | 583 | .upper_margin = 30, |
573 | .lower_margin = 32, | 584 | .lower_margin = 32, |
585 | .vsync_len = 3, | ||
574 | 586 | ||
575 | .lcdcon1 = 0x00000176, | 587 | .lcdcon1 = 0x00000176, |
576 | .lcdcon2 = 0x1d77c7c2, | 588 | .lcdcon2 = 0x1d77c7c2, |
@@ -587,8 +599,10 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
587 | .bpp = 16, | 599 | .bpp = 16, |
588 | .left_margin = 40, | 600 | .left_margin = 40, |
589 | .right_margin = 20, | 601 | .right_margin = 20, |
602 | .hsync_len = 88, | ||
590 | .upper_margin = 30, | 603 | .upper_margin = 30, |
591 | .lower_margin = 32, | 604 | .lower_margin = 32, |
605 | .vsync_len = 3, | ||
592 | 606 | ||
593 | .lcdcon1 = 0x00000176, | 607 | .lcdcon1 = 0x00000176, |
594 | .lcdcon2 = 0x1d77c7c2, | 608 | .lcdcon2 = 0x1d77c7c2, |
@@ -605,8 +619,10 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
605 | .bpp = 16, | 619 | .bpp = 16, |
606 | .left_margin = 40, | 620 | .left_margin = 40, |
607 | .right_margin = 20, | 621 | .right_margin = 20, |
622 | .hsync_len = 88, | ||
608 | .upper_margin = 30, | 623 | .upper_margin = 30, |
609 | .lower_margin = 32, | 624 | .lower_margin = 32, |
625 | .vsync_len = 3, | ||
610 | 626 | ||
611 | .lcdcon1 = 0x00000176, | 627 | .lcdcon1 = 0x00000176, |
612 | .lcdcon2 = 0x1d77c7c2, | 628 | .lcdcon2 = 0x1d77c7c2, |
@@ -623,8 +639,10 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { | |||
623 | .bpp = 16, | 639 | .bpp = 16, |
624 | .left_margin = 40, | 640 | .left_margin = 40, |
625 | .right_margin = 20, | 641 | .right_margin = 20, |
642 | .hsync_len = 88, | ||
626 | .upper_margin = 30, | 643 | .upper_margin = 30, |
627 | .lower_margin = 32, | 644 | .lower_margin = 32, |
645 | .vsync_len = 3, | ||
628 | 646 | ||
629 | .lcdcon1 = 0x00000176, | 647 | .lcdcon1 = 0x00000176, |
630 | .lcdcon2 = 0x1d77c7c2, | 648 | .lcdcon2 = 0x1d77c7c2, |