]> git.baikalelectronics.ru Git - kernel.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)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 28 Oct 2020 10:07:01 +0000 (11:07 +0100)
commitb39277af702e3e39ac6b963c75408f3ace7f2d91
tree32eb5b755edc7802a913b984e1ed027792d9a8fe
parent3abc707dd4df7eefda0f2d7253d42ab585b6484c
mmc: sdhci-of-esdhc: make sure delay chain locked for HS400

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: 65ac3175c2bd ("mmc: sdhci-of-esdhc: add hs400 mode support")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc.h
drivers/mmc/host/sdhci-of-esdhc.c