[patch 3/6] mach-gta01: Change CLKVAL in mach-gta01

Stefan Schmidt stefan at openmoko.org
Thu Oct 18 14:05:43 CEST 2007


CLKVAL 5 works fine for both VGA and QVGA mode of the LCM. Also the samsung
datasheet states on p. 15-42 that CLKVAL should be 5 for a frame rate of 60-70Hz

Signed-off-by: Stefan Schmidt <stefan at openmoko.org>

Index: linux-2.6.22.5/arch/arm/mach-s3c2410/mach-gta01.c
===================================================================
--- linux-2.6.22.5.orig/arch/arm/mach-s3c2410/mach-gta01.c	2007-10-18 15:43:23.000000000 +0800
+++ linux-2.6.22.5/arch/arm/mach-s3c2410/mach-gta01.c	2007-10-18 15:43:35.000000000 +0800
@@ -279,7 +279,7 @@
 	.regs	= {
 		.lcdcon1	= S3C2410_LCDCON1_TFT16BPP |
 				  S3C2410_LCDCON1_TFT |
-				  S3C2410_LCDCON1_CLKVAL(0x01),	/* HCLK/4 */
+				  S3C2410_LCDCON1_CLKVAL(0x05),	/* HCLK/4 */
 
 		.lcdcon2	= S3C2410_LCDCON2_VBPD(1) |	/* 2 */
 				  S3C2410_LCDCON2_LINEVAL(639) |/* 640 */

-- 



More information about the neo1973-hardware mailing list