diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 01:28:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:16 -0700 |
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[] = { .type = S3C2410_LCDCON1_TFT, .width = 640, .height = 480, + .xres = 320, .yres = 240, .left_margin = 40, .right_margin = 20, + .upper_margin = 30, + .lower_margin = 32, .bpp = 4, @@ -494,6 +497,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { .bpp = 4, .left_margin = 40, .right_margin = 20, + .upper_margin = 30, + .lower_margin = 32, .lcdcon1 = 0x00000176, .lcdcon2 = 0x1d77c7c2, @@ -510,6 +515,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { .bpp = 4, .left_margin = 40, .right_margin = 20, + .upper_margin = 30, + .lower_margin = 32, .lcdcon1 = 0x00000176, .lcdcon2 = 0x1d77c7c2, @@ -526,6 +533,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { .bpp = 8, .left_margin = 40, .right_margin = 20, + .upper_margin = 30, + .lower_margin = 32, .lcdcon1 = 0x00000176, .lcdcon2 = 0x1d77c7c2, @@ -542,6 +551,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { .bpp = 8, .left_margin = 40, .right_margin = 20, + .upper_margin = 30, + .lower_margin = 32, .lcdcon1 = 0x00000176, .lcdcon2 = 0x1d77c7c2, @@ -558,6 +569,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { .bpp = 8, .left_margin = 40, .right_margin = 20, + .upper_margin = 30, + .lower_margin = 32, .lcdcon1 = 0x00000176, .lcdcon2 = 0x1d77c7c2, @@ -574,6 +587,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { .bpp = 16, .left_margin = 40, .right_margin = 20, + .upper_margin = 30, + .lower_margin = 32, .lcdcon1 = 0x00000176, .lcdcon2 = 0x1d77c7c2, @@ -590,6 +605,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { .bpp = 16, .left_margin = 40, .right_margin = 20, + .upper_margin = 30, + .lower_margin = 32, .lcdcon1 = 0x00000176, .lcdcon2 = 0x1d77c7c2, @@ -606,6 +623,8 @@ static struct s3c2410fb_display __initdata bast_lcd_info[] = { .bpp = 16, .left_margin = 40, .right_margin = 20, + .upper_margin = 30, + .lower_margin = 32, .lcdcon1 = 0x00000176, .lcdcon2 = 0x1d77c7c2, |