Skip to content

Commit 9f32784

Browse files
Haibo Chenstorulf
authored andcommitted
mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
Currently for DDR50 card, it need tuning in default. We meet tuning fail issue for DDR50 card and some data CRC error when DDR50 sd card works. This is because the default pad I/O drive strength can't make sure DDR50 card work stable. So increase the pad I/O drive strength for DDR50 card, and use pins_100mhz. This fixes DDR50 card support for IMX since DDR50 tuning was enabled from commit 9faac7b ("mmc: sdhci: enable tuning for DDR50") Tested-and-reported-by: Tim Harvey <[email protected]> Signed-off-by: Haibo Chen <[email protected]> Cc: [email protected] # v4.4+ Acked-by: Dong Aisheng <[email protected]> Acked-by: Adrian Hunter <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent a6db2c8 commit 9f32784

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
@@ -830,6 +830,7 @@ static int esdhc_change_pinstate(struct sdhci_host *host,
830830

831831
switch (uhs) {
832832
case MMC_TIMING_UHS_SDR50:
833+
case MMC_TIMING_UHS_DDR50:
833834
pinctrl = imx_data->pins_100mhz;
834835
break;
835836
case MMC_TIMING_UHS_SDR104:

0 commit comments

Comments
 (0)