[PATCH 9/9] add-gta03-bring-sd-card-power-up.patch
Andy Green
andy at openmoko.com
Tue Aug 19 16:56:48 CEST 2008
Signed-off-by: Andy Green <andy at openmoko.com>
---
src/gta03/gta03.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/gta03/gta03.c b/src/gta03/gta03.c
index cd00731..7f88ba8 100644
--- a/src/gta03/gta03.c
+++ b/src/gta03/gta03.c
@@ -124,6 +124,12 @@ void port_init_gta03(void)
* We have to talk to the PMU a little bit
*/
+ /* We need SD Card rail (HCLDO) at 3.0V */
+ i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS, 0x39, 21);
+
+ /* switch HCLDO on */
+ i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS, 0x3a, 1);
+
/* push DOWN1 (CPU Core rail) to 1.7V, allowing 533MHz */
i2c_write_sync(&bb_s3c24xx, PCF50633_I2C_ADS, 0x1e, 0x2b);
More information about the openmoko-kernel
mailing list