Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: sdhci-esdhc-imx: add MMC_CAP_1_8V_DDR for mx6

The i.MX6 supports 1.8v/3.3v eMMC DDR mode, so add this flag.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>

authored by

Dong Aisheng and committed by
Chris Ball
e2997c94 e526003b

+1
+1
drivers/mmc/host/sdhci-esdhc-imx.c
··· 1025 1025 if (esdhc_is_usdhc(imx_data)) { 1026 1026 writel(0x08100810, host->ioaddr + ESDHC_WTMK_LVL); 1027 1027 host->quirks2 |= SDHCI_QUIRK2_PRESET_VALUE_BROKEN; 1028 + host->mmc->caps |= MMC_CAP_1_8V_DDR; 1028 1029 } 1029 1030 1030 1031 if (imx_data->socdata->flags & ESDHC_FLAG_MAN_TUNING)