r2072 - trunk/src/target/kernel/patches

roh at sita.openmoko.org roh at sita.openmoko.org
Wed May 23 22:22:01 CEST 2007


Author: roh
Date: 2007-05-23 22:22:01 +0200 (Wed, 23 May 2007)
New Revision: 2072

Modified:
   trunk/src/target/kernel/patches/gta01-power_control.patch
Log:
fix for setting up the gps 1.5V correctly on gta01bv03/04
is PCF50606_REGULATOR_D2REG should be PCF50606_REGULATOR_DCD
thanks to sean_c


Modified: trunk/src/target/kernel/patches/gta01-power_control.patch
===================================================================
--- trunk/src/target/kernel/patches/gta01-power_control.patch	2007-05-23 16:00:21 UTC (rev 2071)
+++ trunk/src/target/kernel/patches/gta01-power_control.patch	2007-05-23 20:22:01 UTC (rev 2072)
@@ -228,9 +228,9 @@
 +	case GTA01Bv4_SYSTEM_REV:
 +		if (on)
 +			pcf50606_voltage_set(pcf50606_global,
-+					     PCF50606_REGULATOR_D2REG, 1500);
++					     PCF50606_REGULATOR_DCD, 1500);
 +		pcf50606_onoff_set(pcf50606_global,
-+				   PCF50606_REGULATOR_D2REG, on);
++				   PCF50606_REGULATOR_DCD, on);
 +		break;
 +	}
 +}
@@ -249,9 +249,9 @@
 +	case GTA01Bv3_SYSTEM_REV:
 +	case GTA01Bv4_SYSTEM_REV:
 +		if (pcf50606_onoff_get(pcf50606_global,
-+				       PCF50606_REGULATOR_D2REG) &&
++				       PCF50606_REGULATOR_DCD) &&
 +		    pcf50606_voltage_get(pcf50606_global,
-+					 PCF50606_REGULATOR_D2REG) == 1500)
++					 PCF50606_REGULATOR_DCD) == 1500)
 +			ret = 1;
 +		break;
 +	}





More information about the commitlog mailing list