]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: sdhci-of-esdhc: make sure delay chain locked for HS400
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 20 Oct 2020 08:11:16 +0000 (16:11 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:51:52 +0000 (11:51 +0100)
commitbbca4ddb9a766f98372bd3db496b84f3aca598a0
tree3fd0e943f35de65f5e62de06099119e26a18f5ab
parent07e0606650822b9cd5cb997b1d70945c5eb439fa
mmc: sdhci-of-esdhc: make sure delay chain locked for HS400

commit 011fde48394b7dc8dfd6660d1013b26a00157b80 upstream.

For eMMC HS400 mode initialization, the DLL reset is a required step
if DLL is enabled to use previously, like in bootloader.
This step has not been documented in reference manual, but the RM will
be fixed sooner or later.

This patch is to add the step of DLL reset, and make sure delay chain
locked for HS400.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20201020081116.20918-1-yangbo.lu@nxp.com
Fixes: 54e08d9a95ca ("mmc: sdhci-of-esdhc: add hs400 mode support")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-esdhc.h
drivers/mmc/host/sdhci-of-esdhc.c