mmc: sdhci-msm: Don't enable PWRSAVE_DLL for certain sdhc hosts
authorRitesh Harjani <riteshh@codeaurora.org>
Fri, 7 Feb 2020 12:04:28 +0000 (17:34 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Mar 2020 13:35:39 +0000 (14:35 +0100)
commit219c02ca1cf65c457f31ec32523a75972019a862
treec5411e26de5943f79f1976b0213db6ca588f46d2
parent2a2b821607aea16c9c20f9f4d45096dc860fd33a
mmc: sdhci-msm: Don't enable PWRSAVE_DLL for certain sdhc hosts

SDHC core with new 14lpp and later tech DLL should not enable
PWRSAVE_DLL since such controller's internal gating cannot meet
following MCLK requirement:
When MCLK is gated OFF, it is not gated for less than 0.5us and MCLK
must be switched on for at-least 1us before DATA starts coming.

Adding support for this requirement.

Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Reviewed-by: Can Guo <cang@codeaurora.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/1581077075-26011-1-git-send-email-vbadigan@codeaurora.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c