mmc: sdhci-esdhc-imx: add eMMC HS200 mode support
authorDong Aisheng <b29396@freescale.com>
Wed, 30 Oct 2013 14:10:42 +0000 (22:10 +0800)
committerChris Ball <chris@printf.net>
Mon, 13 Jan 2014 17:48:06 +0000 (12:48 -0500)
Add support for eMMC 4.5 cards to work on hs200 mode.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c

index baa27c75b7710b99136dcdad1756db16ef90b849..d4ba277b572de6d41b76ce94e94fe7380ce6e8f7 100644 (file)
@@ -825,6 +825,7 @@ static int esdhc_change_pinstate(struct sdhci_host *host,
                pinctrl = imx_data->pins_100mhz;
                break;
        case MMC_TIMING_UHS_SDR104:
+       case MMC_TIMING_MMC_HS200:
                pinctrl = imx_data->pins_200mhz;
                break;
        default:
@@ -852,6 +853,7 @@ static int esdhc_set_uhs_signaling(struct sdhci_host *host, unsigned int uhs)
                imx_data->uhs_mode = SDHCI_CTRL_UHS_SDR50;
                break;
        case MMC_TIMING_UHS_SDR104:
+       case MMC_TIMING_MMC_HS200:
                imx_data->uhs_mode = SDHCI_CTRL_UHS_SDR104;
                break;
        case MMC_TIMING_UHS_DDR50: