From 6e3a06d5823cf6241c363e84fe6fdb502da6e14f Mon Sep 17 00:00:00 2001 From: Priyansh Jain Date: Sun, 31 Oct 2021 12:45:42 +0530 Subject: [PATCH] ARM: dts: msm: map cdev in amberjeck die temp and enable thermal overlay map cdev in amberjeck die temp thermal zone and enable thermal overlay in qrd. Change-Id: Ic203b5134a6274d215a1942238cacedee6906f50 --- qcom/diwali-qrd.dtsi | 2 +- qcom/diwali-thermal-overlay.dtsi | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/qcom/diwali-qrd.dtsi b/qcom/diwali-qrd.dtsi index fc6c9f13..366fcad9 100644 --- a/qcom/diwali-qrd.dtsi +++ b/qcom/diwali-qrd.dtsi @@ -2,7 +2,7 @@ #include #include "diwali-pmic-overlay.dtsi" - +#include "diwali-thermal-overlay.dtsi" &soc { qcom,userspace-cdev { display-fps { diff --git a/qcom/diwali-thermal-overlay.dtsi b/qcom/diwali-thermal-overlay.dtsi index b452a344..b01712e8 100644 --- a/qcom/diwali-thermal-overlay.dtsi +++ b/qcom/diwali-thermal-overlay.dtsi @@ -218,4 +218,23 @@ }; }; }; + + pm7325_tz { + cooling-maps { + pm7325_cpu4_freq { + trip = <&pm7325_trip0>; + cooling-device = <&CPU4 10 THERMAL_NO_LIMIT>; + }; + + pm7325_cpu7_freq { + trip = <&pm7325_trip0>; + cooling-device = <&CPU7 12 THERMAL_NO_LIMIT>; + }; + + pm7325_apc1 { + trip = <&pm7325_trip0>; + cooling-device = <&APC1_pause 1 1>; + }; + }; + }; };