Skip to content

Commit b74ba9d

Browse files
BoughChengregkh
authored andcommitted
mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
commit 9f327845358d3dd0d8a5a7a5436b0aa5c432e757 upstream. 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 <tharvey@gateworks.com> Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Acked-by: Dong Aisheng <aisheng.dong@nxp.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6986d0d commit b74ba9d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,7 @@ static int esdhc_change_pinstate(struct sdhci_host *host,
804804

805805
switch (uhs) {
806806
case MMC_TIMING_UHS_SDR50:
807+
case MMC_TIMING_UHS_DDR50:
807808
pinctrl = imx_data->pins_100mhz;
808809
break;
809810
case MMC_TIMING_UHS_SDR104:

0 commit comments

Comments
 (0)