mmc: sdhci-msm: Make HS400 tuning follow as per recommeneded HW sequence
authorRitesh Harjani <riteshh@codeaurora.org>
Tue, 10 Jan 2017 07:00:51 +0000 (12:30 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:31 +0000 (13:20 +0100)
commitd7507aa1b988efd788846d62021e581bfca31ace
tree3a35e382f353baa826b43d8322e9be8578f8971e
parent8a8fa8797cea4e49119e437d254dd59b9ade16fd
mmc: sdhci-msm: Make HS400 tuning follow as per recommeneded HW sequence

During tuning execution for HS400 mode, HW sequence recommends
to select MCLK_SEL/2(0x3) in VENDOR_SPEC & sdhc msm clock at GCC
to be 400MHZ (nearest supported clk). Add this change in tuning
sequence during HS400 tuning.

Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Tested-by: Jeremy McNicoll <jeremymc@redhat.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c