diff options
author | Dong Aisheng <b29396@freescale.com> | 2013-10-18 19:48:43 +0800 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2013-10-21 15:57:58 -0400 |
commit | 6e9fd28e1f2422e8e5ad3c9871c952aad6a7e5ca (patch) | |
tree | 0dd686b2c1988ca94a4f9a963fb5eb4ec3367775 /drivers/mmc/host/sdhci.c | |
parent | f47c4bbfa283df2dfd23c422c53f96d12005bbf6 (diff) | |
download | lwn-6e9fd28e1f2422e8e5ad3c9871c952aad6a7e5ca.tar.gz lwn-6e9fd28e1f2422e8e5ad3c9871c952aad6a7e5ca.zip |
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 <b29396@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
0 files changed, 0 insertions, 0 deletions