cpufreq: mediatek: Enable clocks and regulators
authorJia-Wei Chang <jia-wei.chang@mediatek.com>
Fri, 8 Apr 2022 04:58:58 +0000 (12:58 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 26 Apr 2022 06:39:10 +0000 (12:09 +0530)
commit4b9ceb757bbb4e8e5769eb1f1ba84bd631e63a43
treec7975bdd57dd62c42a91fe87584a5873dc6e55a4
parentad975857818b0135bf13b72f66045e2699de5ba0
cpufreq: mediatek: Enable clocks and regulators

We need to enable regulators so that the max and min requested values will
be recorded.
The intermediate clock is not always enabled by CCF in different projects,
so we should enable it in the cpufreq driver.

Signed-off-by: Andrew-sh.Cheng <andrew-sh.cheng@mediatek.com>
Signed-off-by: Jia-Wei Chang <jia-wei.chang@mediatek.com>
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/mediatek-cpufreq.c