]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-msm: Update DDR_CONFIG as per device tree file
authorSarthak Garg <sartgarg@codeaurora.org>
Fri, 22 May 2020 09:32:27 +0000 (15:02 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:22:16 +0000 (11:22 +0200)
commit8131e1daa2037aaba27bea8a7a5050a57760e375
treed06c7387e777ca42c631f51ad97502a6d22be9b7
parentb6a19610ed7036ac2bdd2161f915eaa64d09d61b
mmc: sdhci-msm: Update DDR_CONFIG as per device tree file

Certain platforms require different settings in the
SDCC_HC_REG_DDR_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 device tree file and use it.

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-6-git-send-email-sartgarg@codeaurora.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c