From: Chuanxiao.Dong Date: Fri, 15 Aug 2014 03:28:07 +0000 (+0800) Subject: mmc: core: Fix sequence for I/O voltage in DDR mode for eMMC X-Git-Tag: fixes-against-v3.18-rc2~127^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=312449efd16bb06a1e4fda94793d3eb8b8bb16f6;p=pandora-kernel.git mmc: core: Fix sequence for I/O voltage in DDR mode for eMMC Even (e)MMC card can support 3.3v to 1.2v vccq in DDR, but not all host controller can support this, like some of the SDHCI host which connect to an eMMC device. Some of these host controller still needs to use 1.8v vccq for supporting DDR mode. So the sequence will be: if (host and device can both support 1.2v IO) use 1.2v IO; else if (host and device can both support 1.8v IO) use 1.8v IO; so if host and device can only support 3.3v IO, this is the last choice. Signed-off-by: Chuanxiao Dong Signed-off-by: Yunpeng Gao Tested-by: Jean-Michel Hautbois Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed