aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/mach-qt2410.c
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2007-10-16 04:29:00 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:17 -0400
commit93d11f5a15020a514e522e678b2b3e7a1bc01f86 (patch)
treef70e94a82e8a43ab5308f36b9658ce6aa0a06a70 /arch/arm/mach-s3c2410/mach-qt2410.c
parent3c9ffd0501157b38599b5bb7711366913f633f88 (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-qt2410.c')
-rw-r--r--arch/arm/mach-s3c2410/mach-qt2410.c6
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 98fbca2b7c20..50c0939a2492 100644
--- a/arch/arm/mach-s3c2410/mach-qt2410.c
+++ b/arch/arm/mach-s3c2410/mach-qt2410.c
@@ -125,8 +125,10 @@ 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 .hsync_len = 96,
128 .upper_margin = 19, 129 .upper_margin = 19,
129 .lower_margin = 11, 130 .lower_margin = 11,
131 .vsync_len = 15,
130 }, 132 },
131 { 133 {
132 /* Configuration for 480x640 toppoly TD028TTEC1 */ 134 /* Configuration for 480x640 toppoly TD028TTEC1 */
@@ -156,8 +158,10 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = {
156 .bpp = 16, 158 .bpp = 16,
157 .left_margin = 8, 159 .left_margin = 8,
158 .right_margin = 24, 160 .right_margin = 24,
161 .hsync_len = 8,
159 .upper_margin = 2, 162 .upper_margin = 2,
160 .lower_margin = 4, 163 .lower_margin = 4,
164 .vsync_len = 2,
161 }, 165 },
162 { 166 {
163 /* Config for 240x320 LCD */ 167 /* Config for 240x320 LCD */
@@ -187,8 +191,10 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = {
187 .bpp = 16, 191 .bpp = 16,
188 .left_margin = 13, 192 .left_margin = 13,
189 .right_margin = 8, 193 .right_margin = 8,
194 .hsync_len = 4,
190 .upper_margin = 2, 195 .upper_margin = 2,
191 .lower_margin = 7, 196 .lower_margin = 7,
197 .vsync_len = 4,
192 }, 198 },
193}; 199};
194 200