]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-msm: Use OPP API to set clk/perf state
authorRajendra Nayak <rnayak@codeaurora.org>
Fri, 17 Apr 2020 14:04:31 +0000 (19:34 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:21:00 +0000 (11:21 +0200)
commit2c7fc9653e1a6dfd4f60cffb24ba2874eb2427c0
tree7cf0f020a6a6b5dc669b45a3a0adfc2a720e84a7
parent76cb09126b27831704fe26f8138c660039200770
mmc: sdhci-msm: Use OPP API to set clk/perf state

On some qualcomm SoCs we need to vote on a performance state of a power
domain depending on the clock rates. Hence move to using OPP api to set
the clock rate and performance state specified in the OPP table.
On platforms without an OPP table, dev_pm_opp_set_rate() is eqvivalent to
clk_set_rate()

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Link: https://lore.kernel.org/r/1587132279-27659-10-git-send-email-rnayak@codeaurora.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c