r4258 - branches/src/target/kernel/2.6.24.x/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Thu Mar 27 06:18:01 CET 2008


Author: werner
Date: 2008-03-27 06:17:57 +0100 (Thu, 27 Mar 2008)
New Revision: 4258

Modified:
   branches/src/target/kernel/2.6.24.x/patches/gta01-jbt6k74.patch
   branches/src/target/kernel/2.6.24.x/patches/gta02-core.patch
Log:
fix-lcm-flicker.patch

Resolve LCM flicker issue at source by modifying LCM register
to not swap Red / Blue data strobe timing on alternate frames only.

Select instead mode 4 which swaps on alternate lines and frames, so
we take advantage of EMI reduction but do not see the flicker.

Signed-off-by: Andy Green <andy at openmoko.com>

gta02-core.patch:
- arch/arm/mach-s3c2440/mach-gta02.c (gta02_glamo_pdata): clarified description
  of "pixclock"
smedia-glamo.patch:
gta01-jbt6k74.patch:
- jbt_init_regs: switch RGB strobe from alternate each frame to alternate each
  line and frame



Modified: branches/src/target/kernel/2.6.24.x/patches/gta01-jbt6k74.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/gta01-jbt6k74.patch	2008-03-26 18:07:41 UTC (rev 4257)
+++ branches/src/target/kernel/2.6.24.x/patches/gta01-jbt6k74.patch	2008-03-27 05:17:57 UTC (rev 4258)
@@ -6,10 +6,10 @@
 
 Signed-off-by: Harald Welte <laforge at openmoko.org>
 
-Index: linux-2.6.24-rc7/drivers/video/display/Kconfig
+Index: linux-2.6.24/drivers/video/display/Kconfig
 ===================================================================
---- linux-2.6.24-rc7.orig/drivers/video/display/Kconfig
-+++ linux-2.6.24-rc7/drivers/video/display/Kconfig
+--- linux-2.6.24.orig/drivers/video/display/Kconfig
++++ linux-2.6.24/drivers/video/display/Kconfig
 @@ -21,4 +21,15 @@
  comment "Display hardware drivers"
  	depends on DISPLAY_SUPPORT
@@ -26,21 +26,21 @@
 +	  controls power management, display timing and gamma calibration.
 +
  endmenu
-Index: linux-2.6.24-rc7/drivers/video/display/Makefile
+Index: linux-2.6.24/drivers/video/display/Makefile
 ===================================================================
---- linux-2.6.24-rc7.orig/drivers/video/display/Makefile
-+++ linux-2.6.24-rc7/drivers/video/display/Makefile
+--- linux-2.6.24.orig/drivers/video/display/Makefile
++++ linux-2.6.24/drivers/video/display/Makefile
 @@ -3,4 +3,5 @@
  display-objs				:= display-sysfs.o
  
  obj-$(CONFIG_DISPLAY_SUPPORT)		+= display.o
 +obj-$(CONFIG_DISPLAY_JBT6K74)		+= jbt6k74.o
  
-Index: linux-2.6.24-rc7/drivers/video/display/jbt6k74.c
+Index: linux-2.6.24/drivers/video/display/jbt6k74.c
 ===================================================================
 --- /dev/null
-+++ linux-2.6.24-rc7/drivers/video/display/jbt6k74.c
-@@ -0,0 +1,674 @@
++++ linux-2.6.24/drivers/video/display/jbt6k74.c
+@@ -0,0 +1,678 @@
 +/* Linux kernel driver for the tpo JBT6K74-AS LCM ASIC
 + *
 + * Copyright (C) 2006-2007 by OpenMoko, Inc.
@@ -236,7 +236,11 @@
 +	rc |= jbt_reg_write(jbt, JBT_REG_VCOM_VOLTAGE, 0x40);
 +	rc |= jbt_reg_write(jbt, JBT_REG_EXT_DISPL, 0x03);
 +	rc |= jbt_reg_write(jbt, JBT_REG_DCCLK_DCEV, 0x04);
-+	rc |= jbt_reg_write(jbt, JBT_REG_ASW_SLEW, 0x02);
++	/*
++	 * default of 0x02 in JBT_REG_ASW_SLEW responsible for 72Hz requirement
++	 * to avoid red / blue flicker
++	 */
++	rc |= jbt_reg_write(jbt, JBT_REG_ASW_SLEW, 0x04);
 +	rc |= jbt_reg_write(jbt, JBT_REG_DUMMY_DISPLAY, 0x00);
 +
 +	rc |= jbt_reg_write(jbt, JBT_REG_SLEEP_OUT_FR_A, 0x11);
@@ -715,10 +719,10 @@
 +
 +module_init(jbt_init);
 +module_exit(jbt_exit);
-Index: linux-2.6.24-rc7/arch/arm/mach-s3c2410/Kconfig
+Index: linux-2.6.24/arch/arm/mach-s3c2410/Kconfig
 ===================================================================
---- linux-2.6.24-rc7.orig/arch/arm/mach-s3c2410/Kconfig
-+++ linux-2.6.24-rc7/arch/arm/mach-s3c2410/Kconfig
+--- linux-2.6.24.orig/arch/arm/mach-s3c2410/Kconfig
++++ linux-2.6.24/arch/arm/mach-s3c2410/Kconfig
 @@ -107,6 +107,7 @@
  config MACH_QT2410
  	bool "QT2410"

Modified: branches/src/target/kernel/2.6.24.x/patches/gta02-core.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/gta02-core.patch	2008-03-26 18:07:41 UTC (rev 4257)
+++ branches/src/target/kernel/2.6.24.x/patches/gta02-core.patch	2008-03-27 05:17:57 UTC (rev 4258)
@@ -2,7 +2,7 @@
 ===================================================================
 --- /dev/null
 +++ linux-2.6.24/arch/arm/mach-s3c2440/mach-gta02.c
-@@ -0,0 +1,823 @@
+@@ -0,0 +1,824 @@
 +/*
 + * linux/arch/arm/mach-s3c2440/mach-gta02.c
 + *
@@ -647,7 +647,8 @@
 +static struct glamofb_platform_data gta02_glamo_pdata = {
 +	.width		= 43,
 +	.height		= 58,
-+	.pixclock	= 40816, /* 24.5MHz nom, 40.816ns */
++	 /* 24.5MHz --> 40.816ns */
++	.pixclock	= 40816,
 +	.left_margin	= 8,
 +	.right_margin	= 16,
 +	.upper_margin	= 2,





More information about the commitlog mailing list