]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-msm: Enable restore_dll_config flag for sc7180 target
authorVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
Thu, 27 Aug 2020 15:21:28 +0000 (20:51 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 7 Sep 2020 07:11:31 +0000 (09:11 +0200)
commita7eebd88f9fc6d51317bed433399cbb5104611cf
treea48f7a8f2a363e8f37fe22f95009de6a16375b9e
parenta0c49b87c5f3937f1ac5035c6b393cb3822a0cc9
mmc: sdhci-msm: Enable restore_dll_config flag for sc7180 target

On sc7180 target, issues are observed with HS400 mode due to a
hardware limitation. If sdcc clock is dynamically gated and ungated,
the very next command is failing with command CRC/timeout errors.

To mitigate this issue, DLL phase has to be restored whenever sdcc
clock is gated dynamically. The restore_dll_config ensures this.
Enabling this flag with this change. And simply re-using the sdm845
target configuration for this flag.

Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/1598541694-15694-1-git-send-email-vbadigan@codeaurora.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c