RPMh hosts power domains that can be used to warm up the SoC.
Add nodes for these domains on sdm845 (mx power
domain).

Signed-off-by: Thara Gopinath <[email protected]>
---
v1->v2:
        - Change the dt-entries to reflect the newly introduced
        generic power domain warming device.

 arch/arm64/boot/dts/qcom/sdm845.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi 
b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index f406a43..0a83263 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -3284,6 +3284,13 @@
                };
        };
 
+       thermal_wdev: rpmhpd_mx_wdev {
+               compatible = "thermal-power-domain-wdev";
+               #cooling-cells = <2>;
+               power-domains =  <&rpmhpd SDM845_MX>;
+               power-domain-names = "mx";
+       };
+
        thermal-zones {
                cpu0-thermal {
                        polling-delay-passive = <250>;
-- 
2.1.4

Reply via email to