]> www.infradead.org Git - users/dwmw2/linux.git/commit
clk: qcom: gpucc-sa8775p: Park RCG's clk source at XO during disable
authorTaniya Das <quic_tdas@quicinc.com>
Wed, 12 Jun 2024 11:08:25 +0000 (16:38 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sun, 23 Jun 2024 22:14:05 +0000 (17:14 -0500)
commitdff68b2f74547617dbb75d0d12f404877ec8f8ce
tree87f471c04e45a76235182fcedc4adda624eabae7
parente69386d4a42afa5da6bfdcd4ac5ec61e1db04c61
clk: qcom: gpucc-sa8775p: Park RCG's clk source at XO during disable

The RCG's clk src has to be parked at XO while disabling as per the
HW recommendation, hence use clk_rcg2_shared_ops to achieve the same.
Also gpu_cc_cb_clk is recommended to be kept always ON, hence use
clk_branch2_aon_ops to keep the clock always ON.

Fixes: 0afa16afc36d ("clk: qcom: add the GPUCC driver for sa8775p")
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240612-sa8775p-v2-gcc-gpucc-fixes-v2-5-adcc756a23df@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gpucc-sa8775p.c