]> 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)
commit55b4992080a74c1e28ad2054222fb6112d77bd87
tree7cf0f020a6a6b5dc669b45a3a0adfc2a720e84a7
parentfcb42a33202749f8a2f33d352ececd6ac236ffd8
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