summaryrefslogtreecommitdiff
path: root/qcom/lemans-thermal-overlay.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'qcom/lemans-thermal-overlay.dtsi')
-rwxr-xr-xqcom/lemans-thermal-overlay.dtsi69
1 files changed, 69 insertions, 0 deletions
diff --git a/qcom/lemans-thermal-overlay.dtsi b/qcom/lemans-thermal-overlay.dtsi
new file mode 100755
index 00000000..f2db3b80
--- /dev/null
+++ b/qcom/lemans-thermal-overlay.dtsi
@@ -0,0 +1,69 @@
+#include <dt-bindings/thermal/thermal_qti.h>
+
+&thermal_zones {
+ pm8775_1_tz {
+ cooling-maps {
+ pm8775_1_gpu {
+ trip = <&pm8775_1_trip0>;
+ cooling-device = <&msm_gpu 4 THERMAL_NO_LIMIT>;
+ };
+ };
+ };
+
+ pm8775_2_tz {
+ cooling-maps {
+ pm8775_2_cdsp0 {
+ trip = <&pm8775_2_trip0>;
+ cooling-device = <&cdsp_sw0 5 5>;
+ };
+ };
+ };
+
+ pm8775_3_tz {
+ cooling-maps {
+ pm8775_3_cpu1 {
+ trip = <&pm8775_3_trip0>;
+ cooling-device = <&cpu1_pause 1 1>;
+ };
+
+ pm8775_3_cpu2 {
+ trip = <&pm8775_3_trip0>;
+ cooling-device = <&cpu2_pause 1 1>;
+ };
+
+ pm8775_3_cpu3 {
+ trip = <&pm8775_3_trip0>;
+ cooling-device = <&cpu3_pause 1 1>;
+ };
+
+ pm8775_3_cpu4 {
+ trip = <&pm8775_3_trip0>;
+ cooling-device = <&cpu4_pause 1 1>;
+ };
+
+ pm8775_3_cpu5 {
+ trip = <&pm8775_3_trip0>;
+ cooling-device = <&cpu5_pause 1 1>;
+ };
+
+ pm8775_3_cpu6 {
+ trip = <&pm8775_3_trip0>;
+ cooling-device = <&cpu6_pause 1 1>;
+ };
+
+ pm8775_3_cpu7 {
+ trip = <&pm8775_3_trip0>;
+ cooling-device = <&cpu7_pause 1 1>;
+ };
+ };
+ };
+
+ pm8775_4_tz {
+ cooling-maps {
+ pm8775_4_cdsp1 {
+ trip = <&pm8775_4_trip0>;
+ cooling-device = <&cdsp_sw1 5 5>;
+ };
+ };
+ };
+};