aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/mach-ux500/include/mach/mmc.h1
-rw-r--r--arch/arm/mach-ux500/mop500-sdi.c6
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/include/mach/mmc.h b/arch/arm/mach-ux500/include/mach/mmc.h
index 115f16ea741..a3bdcc35d61 100755
--- a/arch/arm/mach-ux500/include/mach/mmc.h
+++ b/arch/arm/mach-ux500/include/mach/mmc.h
@@ -365,6 +365,7 @@ struct mmc_board {
int is_sdio; /* To check if the bus is SD/MMC or sdio */
#ifdef CONFIG_REGULATOR
const char *supply;
+ int supply_voltage;
#endif
};
diff --git a/arch/arm/mach-ux500/mop500-sdi.c b/arch/arm/mach-ux500/mop500-sdi.c
index 8a5e683821d..5370621a724 100644
--- a/arch/arm/mach-ux500/mop500-sdi.c
+++ b/arch/arm/mach-ux500/mop500-sdi.c
@@ -128,7 +128,8 @@ static struct mmc_board mmc_data = {
.caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SD_HIGHSPEED |
MMC_CAP_MMC_HIGHSPEED,
#ifdef CONFIG_REGULATOR
- .supply = "v-MMC-SD" /* tying to VAUX3 regulator */
+ .supply = "v-MMC-SD", /* tying to VAUX3 regulator */
+ .supply_voltage = 2900000 /* 2.9V */
#endif
};
@@ -245,7 +246,8 @@ static struct mmc_board emmc_data = {
.dma_fifo_dev_type_tx = DMA_DEV_SD_MM4_TX,
.caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA | MMC_CAP_MMC_HIGHSPEED,
#ifdef CONFIG_REGULATOR
- .supply = "v-eMMC" /* tying to VAUX1 regulator */
+ .supply = "v-eMMC", /* tying to VAUX1 regulator */
+ .supply_voltage = 2900000 /* 2.9V */
#endif
};