-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hello list,
This patch does correctly power on GSM modem of GTA02 reflecting the
changes of PMU pcf50633 controls.
Thanks,
- -jserv
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHCyVw0Wz/dZh2kkkRAqTZAKDTSi15U1lLz5Ax3gLFsFWN25SrRACg1iL9
hFweQvkbO6GhumvD/eD15/8=
=EJdh
-----END PGP SIGNATURE-----
Correctly power on GSM modem of GTA02.
Index: linux-2.6.22.5/arch/arm/common/gta01_pm_gsm.c
===================================================================
--- linux-2.6.22.5.orig/arch/arm/common/gta01_pm_gsm.c 2007-10-09 14:07:26.000000000 +0800
+++ linux-2.6.22.5/arch/arm/common/gta01_pm_gsm.c 2007-10-09 14:18:05.000000000 +0800
@@ -20,6 +20,7 @@
#include <asm/hardware.h>
#include <asm/mach-types.h>
+#include <linux/pcf50633.h>
#include <asm/arch/gta01.h>
#include <asm/arch/gta02.h>
@@ -81,7 +82,9 @@
if (gta01_gsm.gpio_ngsm_en)
s3c2410_gpio_setpin(gta01_gsm.gpio_ngsm_en, 0);
-
+ else
+ /* GTA02v[12] */
+ pcf50633_gpio2_output_set(pcf50633_global, 1);
s3c2410_gpio_setpin(GTA01_GPIO_MODEM_ON, 1);
} else {
s3c2410_gpio_setpin(GTA01_GPIO_MODEM_ON, 0);