Hi Werner and Andy,

Recently, Little Sean and I succeeded to make a phone call on GTA02 with sound state files. Because we have new board GTA02A5, we need to add some definitions in kernel 2.6.24.

Regards,
Willie
Index: linux-2.6.24/arch/arm/plat-s3c24xx/neo1973_pm_gsm.c
===================================================================
--- linux-2.6.24.orig/arch/arm/plat-s3c24xx/neo1973_pm_gsm.c	2008-01-30 16:32:55.000000000 +0800
+++ linux-2.6.24/arch/arm/plat-s3c24xx/neo1973_pm_gsm.c	2008-01-30 17:25:02.000000000 +0800
@@ -98,6 +98,7 @@
 			case GTA02v2_SYSTEM_REV:
 			case GTA02v3_SYSTEM_REV:
 			case GTA02v4_SYSTEM_REV:
+			case GTA02v5_SYSTEM_REV:
 				pcf50633_gpio_set(pcf50633_global,
 						  PCF50633_GPIO2, 1);
 				break;
@@ -113,6 +114,7 @@
 			case GTA02v2_SYSTEM_REV:
 			case GTA02v3_SYSTEM_REV:
 			case GTA02v4_SYSTEM_REV:
+			case GTA02v5_SYSTEM_REV:
 				pcf50633_gpio_set(pcf50633_global,
 						  PCF50633_GPIO2, 0);
 				break;
@@ -205,6 +207,7 @@
 	case GTA02v2_SYSTEM_REV:
 	case GTA02v3_SYSTEM_REV:
 	case GTA02v4_SYSTEM_REV:
+	case GTA02v5_SYSTEM_REV:
 		gta01_gsm.gpio_ngsm_en = 0;
 		break;
 #endif
Index: linux-2.6.24/include/asm/arch-s3c2410/gta02.h
===================================================================
--- linux-2.6.24.orig/include/asm/arch-s3c2410/gta02.h	2008-01-30 16:38:11.000000000 +0800
+++ linux-2.6.24/include/asm/arch-s3c2410/gta02.h	2008-01-30 16:38:37.000000000 +0800
@@ -9,6 +9,7 @@
 #define GTA02v2_SYSTEM_REV	0x00000320
 #define GTA02v3_SYSTEM_REV	0x00000330
 #define GTA02v4_SYSTEM_REV	0x00000340
+#define GTA02v5_SYSTEM_REV	0x00000350
 
 #define GTA02_GPIO_n3DL_GSM	S3C2410_GPA13	/* v1 + v2 + v3 only */
 
Index: linux-2.6.24/arch/arm/mach-s3c2440/mach-gta02.c
===================================================================
--- linux-2.6.24.orig/arch/arm/mach-s3c2440/mach-gta02.c	2008-01-30 17:26:27.000000000 +0800
+++ linux-2.6.24/arch/arm/mach-s3c2440/mach-gta02.c	2008-01-30 17:30:41.000000000 +0800
@@ -255,6 +255,7 @@
 	case GTA02v2_SYSTEM_REV:
 	case GTA02v3_SYSTEM_REV:
 	case GTA02v4_SYSTEM_REV:
+	case GTA02v5_SYSTEM_REV:
 		/* we need to keep the 1.8V going since this is the SDRAM
 		 * self-refresh voltage */
 		gta02_pcf_pdata.rails[PCF50633_REGULATOR_DOWN2].flags =
@@ -693,6 +694,7 @@
 		break;
 	case GTA02v3_SYSTEM_REV:
 	case GTA02v4_SYSTEM_REV:
+	case GTA02v5_SYSTEM_REV:
 /*	case GTA02v5_SYSTEM_REV: */
 		/* depend on pcf50633 driver init */
 		if (!pcf50633_global)

Reply via email to