summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@nxp.com>2017-04-10 16:16:20 +0800
committerAnson Huang <Anson.Huang@nxp.com>2017-06-09 22:18:29 +0800
commitaa365df34d83541cd2c4a85e0b32a94de7a710c7 (patch)
tree08a578c834a30cee6ca5a8cee0152ed2c0f0255b /include
parent5619467aedd00e44279a7d6a6dc3dd2c3d8de981 (diff)
MLK-14539 mmc: sdhci: make no-1-8-v also work for DDR52 mode
MMC SDHCI maintainer Adrian Hunter Introduce SDHCI flags for signal voltage support and set them based on the supported transfer modes, except in the case where 3V DDR52 is supported but 1.8V is not. This patch add the support to make eMMC DDR52 only work at 3.3v when property 'no-1-8-v' defined. Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 2eddfa93e09a..71676e56c8eb 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -313,6 +313,7 @@ struct mmc_host {
#define MMC_CAP2_NO_SD (1 << 21) /* Do not send SD commands during initialization */
#define MMC_CAP2_NO_MMC (1 << 22) /* Do not send (e)MMC commands during initialization */
#define MMC_CAP2_CD_POST (1 << 23) /* post card rescan, let client driver to start */
+#define MMC_CAP2_DDR52_3_3V (1 << 24) /* Only supprot eMMC DDR52 at 3.3v */
mmc_pm_flag_t pm_caps; /* supported pm features */