RPMh hosts mx power domain that can be used to warm up the SoC.
Add sub-node to rpmhpd node for mx to be recognized
as thermal warming device on sdm845.

Signed-off-by: Thara Gopinath <thara.gopin...@linaro.org>
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi 
b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 0222f48..0671c8a 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -3788,6 +3788,11 @@
                                                opp-level = 
<RPMH_REGULATOR_LEVEL_TURBO_L1>;
                                        };
                                };
+
+                               mx_cdev: mx {
+                                       #cooling-cells = <2>;
+                                       .name = "mx";
+                               };
                        };
 
                        rsc_hlos: interconnect {
-- 
2.1.4

Reply via email to