diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 04:29:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:18 -0400 |
commit | 69816699fa019145dd163949d65a07093af73b67 (patch) | |
tree | 62f882257742edc6edda05349cf75789fb6fabe9 /arch/arm/mach-s3c2410/mach-qt2410.c | |
parent | 9fa7bc016a688630386378c205f9ee0f7b2cc834 (diff) |
s3c2410fb: adds pixclock to s3c2410fb_display
This patch adds pixelclock field to the s3c2410fb_display structure and make
use of it in the driver.
The Bast machine defined 9 modes but pixclock and margin values are defined
only for the 640x480 modes so I removed other modes.
This patch also fixes wrong display type constant for the SMDK2440 board.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/mach-qt2410.c b/arch/arm/mach-s3c2410/mach-qt2410.c index ac94d561b6c9..612f62469525 100644 --- a/arch/arm/mach-s3c2410/mach-qt2410.c +++ b/arch/arm/mach-s3c2410/mach-qt2410.c | |||
@@ -112,6 +112,7 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = { | |||
112 | .width = 640, | 112 | .width = 640, |
113 | .height = 480, | 113 | .height = 480, |
114 | 114 | ||
115 | .pixclock = 40000, /* HCLK/4 */ | ||
115 | .xres = 640, | 116 | .xres = 640, |
116 | .yres = 480, | 117 | .yres = 480, |
117 | .bpp = 16, | 118 | .bpp = 16, |
@@ -137,6 +138,7 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = { | |||
137 | .type = S3C2410_LCDCON1_TFT, | 138 | .type = S3C2410_LCDCON1_TFT, |
138 | .width = 480, | 139 | .width = 480, |
139 | .height = 640, | 140 | .height = 640, |
141 | .pixclock = 40000, /* HCLK/4 */ | ||
140 | .xres = 480, | 142 | .xres = 480, |
141 | .yres = 640, | 143 | .yres = 640, |
142 | .bpp = 16, | 144 | .bpp = 16, |
@@ -162,6 +164,7 @@ static struct s3c2410fb_display qt2410_lcd_cfg[] __initdata = { | |||
162 | .type = S3C2410_LCDCON1_TFT, | 164 | .type = S3C2410_LCDCON1_TFT, |
163 | .width = 240, | 165 | .width = 240, |
164 | .height = 320, | 166 | .height = 320, |
167 | .pixclock = 100000, /* HCLK/10 */ | ||
165 | .xres = 240, | 168 | .xres = 240, |
166 | .yres = 320, | 169 | .yres = 320, |
167 | .bpp = 16, | 170 | .bpp = 16, |