arm64: dts: qcom: sm6350: Flush RSC sleep & wake votes
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 31 May 2023 13:22:41 +0000 (15:22 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 13 Jun 2023 21:54:46 +0000 (14:54 -0700)
The rpmh driver will cache sleep and wake votes until the cluster
power-domain is about to enter idle, to avoid unnecessary writes. So
associate the apps_rsc with the cluster pd, so that it can be notified
about this event.

Without this, only AMC votes are being commited.

Fixes: 5f82b9cda61e ("arm64: dts: qcom: Add SM6350 device tree")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230531-topic-rsc-v1-7-b4a985f57b8b@linaro.org
arch/arm64/boot/dts/qcom/sm6350.dtsi

index a0e64f888de6f695d76b0308a19de06dc5a1b2b8..68e07025aab5984ef76cf10823c1d53035a9df9e 100644 (file)
                        qcom,drv-id = <2>;
                        qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 3>,
                                          <WAKE_TCS 3>, <CONTROL_TCS 1>;
+                       power-domains = <&CLUSTER_PD>;
 
                        rpmhcc: clock-controller {
                                compatible = "qcom,sm6350-rpmh-clk";