Skip to content

Commit e2997c9

Browse files
Dong Aishengcjb
authored andcommitted
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 <[email protected]> Acked-by: Shawn Guo <[email protected]> Signed-off-by: Chris Ball <[email protected]>
1 parent e526003 commit e2997c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mmc/host/sdhci-esdhc-imx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,7 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev)
10251025
if (esdhc_is_usdhc(imx_data)) {
10261026
writel(0x08100810, host->ioaddr + ESDHC_WTMK_LVL);
10271027
host->quirks2 |= SDHCI_QUIRK2_PRESET_VALUE_BROKEN;
1028+
host->mmc->caps |= MMC_CAP_1_8V_DDR;
10281029
}
10291030

10301031
if (imx_data->socdata->flags & ESDHC_FLAG_MAN_TUNING)

0 commit comments

Comments
 (0)