From: Dong Aisheng Date: Fri, 18 Oct 2013 11:48:43 +0000 (+0800) Subject: mmc: sdhci-esdhc-imx: add std tuning support for mx6sl X-Git-Tag: v3.13-rc1~50^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e9fd28e1f2422e8e5ad3c9871c952aad6a7e5ca;p=pandora-kernel.git mmc: sdhci-esdhc-imx: add std tuning support for mx6sl The mx6sl supports standard sdhci tuning, then esdhc_executing_tuning is only needed for mx6q/dl. We introduce is_imx6_usdhc() and is_imx6sl_usdhc() to handle the difference. The standard tuning is enabled by setting ESDHC_TUNE_CTRL_STD_TUNING_EN bit in new register ESDHC_TUNE_CTRL and operates with new tuning bits defined in SDHCI_ACMD12_ERR register. Note: mx6sl can also work on the old manually tuning mode as mx6q/dl if not enable standard tuning mode. Signed-off-by: Dong Aisheng Acked-by: Shawn Guo Signed-off-by: Chris Ball --- Reading git-diff-tree failed