mmc: sdhci-of-esdhc: add support for signal voltage switch
authoryangbo lu <yangbo.lu@nxp.com>
Thu, 20 Apr 2017 08:14:41 +0000 (16:14 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:42:25 +0000 (21:42 +0200)
commitea35645a3c66a74af92d3bbb4eb131220fc3e58a
tree34a5caeec1bb499cd1b6da46864a4a2706cf4204
parent19c3a0ef65adf090cb592dfe3e575f40322c88d8
mmc: sdhci-of-esdhc: add support for signal voltage switch

eSDHC supports signal voltage switch from 3.3v to 1.8v by
eSDHC_PROCTL[VOLT_SEL] bit. This bit changes the value of output
signal SDHC_VS, and there must be a control circuit out of eSDHC
to change the signal voltage according to SDHC_VS output signal.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc.h
drivers/mmc/host/sdhci-of-esdhc.c