Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aed26fca authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Ulf Hansson
Browse files

mmc: sunxi: Enable eMMC HS-DDR (MMC_CAP_1_8V_DDR) support



Now that clock delay settings for 8 bit DDR are correct, and vqmmc
support is available, we can enable MMC_CAP_1_8V_DDR support. This
enables MMC HS-DDR at up to 52 MHz, even if signal voltage switching
is not available.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 2a7aa63a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1131,6 +1131,7 @@ static int sunxi_mmc_probe(struct platform_device *pdev)
	mmc->f_min		=   400000;
	mmc->f_max		= 52000000;
	mmc->caps	       |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED |
				  MMC_CAP_1_8V_DDR |
				  MMC_CAP_ERASE | MMC_CAP_SDIO_IRQ;

	ret = mmc_of_parse(mmc);