]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-msm: Read and use DLL Config property from device tree file
authorSarthak Garg <sartgarg@codeaurora.org>
Fri, 22 May 2020 09:32:28 +0000 (15:02 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:22:16 +0000 (11:22 +0200)
commitee2843cb556754f94e6a44f643fb13208fe14a1b
tree09e6c7e1781fa039099f55d9eeff7c99b6148e90
parent0543de93f3f082b62dc00e75dcdbc09f03b60b57
mmc: sdhci-msm: Read and use DLL Config property from device tree file

Certain platforms require different settings in the
SDCC_HC_REG_DLL_CONFIG register. This setting can change from platform
to platform. So the driver should check whether a particular platform
require a different setting by reading the DT file and use it.

Also use msm_cm_dll_set_freq only when DLL not supplied.

Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/1590139950-7288-7-git-send-email-sartgarg@codeaurora.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c