mmc: sdhci-esdhc-imx: change pinctrl state according to uhs mode
authorDong Aisheng <b29396@freescale.com>
Fri, 13 Sep 2013 11:11:35 +0000 (19:11 +0800)
committerChris Ball <cjb@laptop.org>
Thu, 26 Sep 2013 11:57:28 +0000 (07:57 -0400)
commitad93220de7da1f5bd8f9e4be1f1eeefba5eed0ad
tree59112a988cc32fafddc87b36eaa9bd17f180f85b
parent0322191e62984b94d1b2ae5ff322112e1fa1ef1a
mmc: sdhci-esdhc-imx: change pinctrl state according to uhs mode

Without proper pinctrl state, the card may not be able to work
on high speed stablely. e.g. SDR104.

This patch add pinctrl state switch code according to different
uhs mode include 100mhz sate, 200mhz sate and normal state
(50Mhz and below).

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
include/linux/platform_data/mmc-esdhc-imx.h