From 14fa2dd00f4f996c9583c8fba63bfa03f5025ec3 Mon Sep 17 00:00:00 2001 From: Balaji T K Date: Thu, 8 Sep 2011 06:34:57 +0000 Subject: mmc: omap: config VMMC, MMC1_PBIAS Config VMMC voltage to 3V for MMC/SD card slot and PBIAS settings needed for OMAP4 Fixes MMC/SD detection on boot from eMMC. Signed-off-by: Balaji T K Signed-off-by: Aneesh V Signed-off-by: Sandeep Paulraj --- include/twl6030.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/twl6030.h') diff --git a/include/twl6030.h b/include/twl6030.h index 6ed68a0..a9fcadb 100644 --- a/include/twl6030.h +++ b/include/twl6030.h @@ -33,6 +33,8 @@ #define TWL6030_CHIP_PWM 0x49 /* Slave Address 0x48 */ +#define VMMC_CFG_STATE 0x9A +#define VMMC_CFG_VOLTATE 0x9B #define VUSB_CFG_STATE 0xA2 #define MISC1 0xE4 @@ -130,3 +132,4 @@ void twl6030_start_usb_charging(void); void twl6030_stop_usb_charging(void); int twl6030_get_battery_voltage(void); int twl6030_get_battery_current(void); +void twl6030_power_mmc_init(void); -- cgit v1.1