clk: qcom: cpu-8996: fix ACD initialization
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 13 Jan 2023 12:05:41 +0000 (14:05 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 19 Jan 2023 04:50:01 +0000 (22:50 -0600)
commit495bc5a7c4a1277d90701cbc1c9c2fd0504db10c
tree3fe63b380b93ee0c20877f2570afe6ca096d2779
parent6fb03dd0b40aa83a3a04390ef539f1547b77ca1d
clk: qcom: cpu-8996: fix ACD initialization

The vendor kernel applies different order while programming SSSCTL and
L2ACDCR registers on power and performance clusters. However it was
demonstrated that doing this upstream results in the board reset. Make
both clusters use the same sequence, which fixes the reset.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113120544.59320-12-dmitry.baryshkov@linaro.org
drivers/clk/qcom/clk-cpu-8996.c