diff options
author | BOUGH CHEN <haibo.chen@nxp.com> | 2019-04-29 08:55:43 +0000 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-05-06 12:33:03 +0200 |
commit | 2eaf5a533afd92709c8df335552b28f9fcd75336 (patch) | |
tree | f8a1d72b93cffb951dbd67ca398c5aaee1effb58 /drivers/mmc/core/sd.c | |
parent | 1c4989b000aeacd3365aa49028612e043b15a506 (diff) | |
download | linux-stable-2eaf5a533afd92709c8df335552b28f9fcd75336.tar.gz linux-stable-2eaf5a533afd92709c8df335552b28f9fcd75336.tar.bz2 linux-stable-2eaf5a533afd92709c8df335552b28f9fcd75336.zip |
mmc: sdhci-esdhc-imx: Add HS400 support for iMX7ULP
Add HS400 support for iMX7ULP B0.
According to IC suggest, need to clear the STROBE_DLL_CTRL_RESET
before any setting of STROBE_DLL_CTRL register.
USDHC has register bits(bit[27~20] of register STROBE_DLL_CTRL)
for slave sel value. If this register bits value is 0, it needs
256 ref_clk cycles to update slave sel value. IC suggest to set
bit[27~20] to 0x4, it only need 4 ref_clk cycle to update slave
sel value. This will short the lock time of slave.
i.MX7ULP B0 will need more time to lock the REF and SLV, so change
to add 5us delay.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/sd.c')
0 files changed, 0 insertions, 0 deletions