summaryrefslogtreecommitdiff
path: root/qcom/kona-qrd.dtsi
diff options
context:
space:
mode:
authorRam Chandrasekar <rkumbako@quicinc.com>2019-12-11 16:51:27 -0700
committerRam Chandrasekar <rkumbako@quicinc.com>2019-12-11 16:58:41 -0700
commit6db80b97d9245dc1abba6362f398e36074cafe2a (patch)
treeec01ce49ab31e49546d8ffe9c6b089813b16df1a /qcom/kona-qrd.dtsi
parentf7da4a27aa2e00c5e235000bbf12187cd40f3d18 (diff)
downloaddevicetree-6db80b97d9245dc1abba6362f398e36074cafe2a.tar.gz
ARM: dts: qcom: Add gpu-skin-avg-step thermal zone for kona qrd
Add gpu-skin-avg-step thermal zone definition for kona. This thermal zone will monitor the virtual sensor and mitigate GPU when threshold is reached. Change-Id: Ie9c3138f3d15707c4b3170d288315d09d0e31880
Diffstat (limited to 'qcom/kona-qrd.dtsi')
-rw-r--r--qcom/kona-qrd.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/qcom/kona-qrd.dtsi b/qcom/kona-qrd.dtsi
index 9c8dc075..f5dec118 100644
--- a/qcom/kona-qrd.dtsi
+++ b/qcom/kona-qrd.dtsi
@@ -734,6 +734,26 @@
};
};
};
+
+ gpu-skin-avg-step {
+ polling-delay-passive = <1000>;
+ polling-delay = <5000>;
+ thermal-governor = "step_wise";
+ trips {
+ virt_trip: virt-trip {
+ temperature = <64600>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+ };
+
+ cooling-maps {
+ gpu_cdev {
+ trip = <&virt_trip>;
+ cooling-device = <&msm_gpu 0 1>;
+ };
+ };
+ };
};
&sdhc_2 {