summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/mmc-twl4030.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/mmc-twl4030.c')
-rw-r--r--arch/arm/mach-omap2/mmc-twl4030.c22
1 files changed, 20 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/mmc-twl4030.c b/arch/arm/mach-omap2/mmc-twl4030.c
index 3a119aa09c83..21de7929d1a7 100644
--- a/arch/arm/mach-omap2/mmc-twl4030.c
+++ b/arch/arm/mach-omap2/mmc-twl4030.c
@@ -483,6 +483,20 @@ static int twl_mmc23_set_sleep(struct device *dev, int slot, int sleep, int vdd,
return regulator_set_mode(c->vcc_aux, mode);
}
+/* TODO: Regulator Settings for MMC5 */
+static int twl_mmc5_set_power(struct device *dev, int slot, int power_on,
+ int vdd)
+{
+ return 0;
+}
+
+/* TODO: Needs to Update for MMC5 */
+static int twl_mmc5_set_sleep(struct device *dev, int slot, int sleep, int vdd,
+ int cardsleep)
+{
+ return 0;
+}
+
static struct omap_mmc_platform_data *hsmmc_data[OMAP44XX_NR_MMC] __initdata;
#ifdef CONFIG_TIWLAN_SDIO
@@ -657,11 +671,15 @@ void __init twl4030_mmc_init(struct twl4030_hsmmc_info *controllers)
c->wires = 4;
/* FALLTHROUGH */
case 3:
- case 4:
- case 5:
/* off-chip level shifting, or none */
mmc->slots[0].set_power = twl_mmc23_set_power;
mmc->slots[0].set_sleep = twl_mmc23_set_sleep;
+ break;
+ case 4:
+ case 5:
+ /* FIXME :Adding dummy functions */
+ mmc->slots[0].set_power = twl_mmc5_set_power;
+ mmc->slots[0].set_sleep = twl_mmc5_set_sleep;
#ifdef CONFIG_TIWLAN_SDIO
mmc->slots[0].ocr_mask = MMC_VDD_165_195;
#endif