]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
dt-bindings: soc: qcom,rpmh-rsc: Require power-domains
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 31 May 2023 13:22:35 +0000 (15:22 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 13 Jun 2023 21:54:10 +0000 (14:54 -0700)
The Linux RPMh implementation refrains from sending some RPMh votes until
the system is about to enter suspend (which is indicated by all CPU cores
entering a low-power state). Lack of the power-domains property will make
it such that these votes are never sent.

Require the power-domains property as discussed in [1].

[1] https://lore.kernel.org/linux-arm-msm/20230512150425.3171122-1-quic_bjorande@quicinc.com/

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230531-topic-rsc-v1-1-b4a985f57b8b@linaro.org
Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml

index a4046ba608466ae7dea969b58c1835bcabc5a90b..af632d0e0355c56748ecac24f528dc2eec7d1193 100644 (file)
@@ -124,6 +124,7 @@ required:
   - qcom,tcs-offset
   - reg
   - reg-names
+  - power-domains
 
 additionalProperties: false
 
@@ -179,6 +180,7 @@ examples:
                           <SLEEP_TCS   1>,
                           <WAKE_TCS    1>,
                           <CONTROL_TCS 0>;
+        power-domains = <&CLUSTER_PD>;
     };
 
   - |