clk: qcom: gpucc-sc8280xp: Add runtime PM
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 19 Jun 2023 16:13:17 +0000 (18:13 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 20 Jun 2023 23:31:04 +0000 (16:31 -0700)
commit9bbcb892a7cd06c8156e6de211a8d7d45ee48086
tree2c9b261615efe2c814266a3cb9a81f49b7d0c978
parent4e13c7a55cf752887f2b8d8008711dbbc64ea796
clk: qcom: gpucc-sc8280xp: Add runtime PM

The GPU_CC block on SC8280XP is powered by the GFX rail. We need to
ensure that it's enabled to prevent unwanted power collapse.

Enable runtime PM to keep the power flowing only when necessary.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230619-topic-sc8280xp-clk-rpm-v1-1-1e5e1064cdb2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gpucc-sc8280xp.c