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-qt2410.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-qt2410.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-qt2410.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/mach-qt2410.c b/arch/arm/mach-s3c2410/mach-qt2410.c index 0a746f7f639f..98fbca2b7c20 100644 --- a/arch/arm/mach-s3c2410/mach-qt2410.c +++ b/arch/arm/mach-s3c2410/mach-qt2410.c | |||
@@ -125,6 +125,8 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = { | |||
125 | .bpp = 16, | 125 | .bpp = 16, |
126 | .left_margin = 44, | 126 | .left_margin = 44, |
127 | .right_margin = 116, | 127 | .right_margin = 116, |
128 | .upper_margin = 19, | ||
129 | .lower_margin = 11, | ||
128 | }, | 130 | }, |
129 | { | 131 | { |
130 | /* Configuration for 480x640 toppoly TD028TTEC1 */ | 132 | /* Configuration for 480x640 toppoly TD028TTEC1 */ |
@@ -154,6 +156,8 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = { | |||
154 | .bpp = 16, | 156 | .bpp = 16, |
155 | .left_margin = 8, | 157 | .left_margin = 8, |
156 | .right_margin = 24, | 158 | .right_margin = 24, |
159 | .upper_margin = 2, | ||
160 | .lower_margin = 4, | ||
157 | }, | 161 | }, |
158 | { | 162 | { |
159 | /* Config for 240x320 LCD */ | 163 | /* Config for 240x320 LCD */ |
@@ -183,6 +187,8 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = { | |||
183 | .bpp = 16, | 187 | .bpp = 16, |
184 | .left_margin = 13, | 188 | .left_margin = 13, |
185 | .right_margin = 8, | 189 | .right_margin = 8, |
190 | .upper_margin = 2, | ||
191 | .lower_margin = 7, | ||
186 | }, | 192 | }, |
187 | }; | 193 | }; |
188 | 194 | ||