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)
commit1dfbe3ff81f941bb0b39ea6b9f2e8771ef4cb3ea
treed06c7387e777ca42c631f51ad97502a6d22be9b7
parent04816e672d46a1aabb1a35d73ca5f90d6d252ca3
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