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

laforge at sita.openmoko.org laforge at sita.openmoko.org
Thu Dec 6 07:53:20 CET 2007


Author: laforge
Date: 2007-12-06 07:53:10 +0100 (Thu, 06 Dec 2007)
New Revision: 3589

Modified:
   branches/src/target/kernel/2.6.24.x/patches/gta02-core.patch
   branches/src/target/kernel/2.6.24.x/patches/smedia-glamo.patch
Log:
GLAMO: LCMs can run under VGA and QVGA mode.  The timing characteristics should be
provided to help driver initialization.  (Chia-I Wu <olv at openmoko.com>)


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	2007-12-06 06:32:14 UTC (rev 3588)
+++ branches/src/target/kernel/2.6.24.x/patches/gta02-core.patch	2007-12-06 06:53:10 UTC (rev 3589)
@@ -2,7 +2,7 @@
 ===================================================================
 --- /dev/null
 +++ linux-2.6/arch/arm/mach-s3c2440/mach-gta02.c
-@@ -0,0 +1,636 @@
+@@ -0,0 +1,643 @@
 +/*
 + * linux/arch/arm/mach-s3c2440/mach-gta02.c
 + *
@@ -513,8 +513,15 @@
 +/* Smedia Glamo 3362 */
 +
 +static struct glamofb_platform_data gta02_glamo_pdata = {
-+	.width		= 480,
-+	.height		= 640,
++	.width		= 43,
++	.height		= 58,
++	.pixclock	= 50 * 1000, /* 50 ns */
++	.left_margin	= 8,
++	.right_margin	= 104,
++	.upper_margin	= 2,
++	.lower_margin	= 16,
++	.hsync_len	= 8,
++	.vsync_len	= 2,
 +	.xres		= {
 +		.min	= 240,
 +		.max	= 480,

Modified: branches/src/target/kernel/2.6.24.x/patches/smedia-glamo.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/smedia-glamo.patch	2007-12-06 06:32:14 UTC (rev 3588)
+++ branches/src/target/kernel/2.6.24.x/patches/smedia-glamo.patch	2007-12-06 06:53:10 UTC (rev 3589)
@@ -2243,7 +2243,7 @@
 ===================================================================
 --- /dev/null
 +++ linux-2.6/include/linux/glamofb.h
-@@ -0,0 +1,29 @@
+@@ -0,0 +1,33 @@
 +#ifndef _LINUX_GLAMOFB_H
 +#define _LINUX_GLAMOFB_H
 +
@@ -2259,6 +2259,10 @@
 +
 +struct glamofb_platform_data {
 +	int width, height;
++	int pixclock;
++	int left_margin, right_margin;
++	int upper_margin, lower_margin;
++	int hsync_len, vsync_len;
 +
 +	struct glamofb_val xres;
 +	struct glamofb_val yres;





More information about the commitlog mailing list