]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd50068b095ba00960064a10d19a11e125a3ee209
treec5411e26de5943f79f1976b0213db6ca588f46d2
parent018f2f4c33505a3564b0c5ec1bdaee1ea73a2b13
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