Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb91367b authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Enable GPU thermal zone mitigation for SDMMAGPIE



Enable high temperature GPU thermal zone mitigation and cold
temperature GPU VDD restriction configuration for SDMMAGPIE.

Change-Id: I074187846cbc85d057b7a48ebe03c863f6a41b01
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 79301893
Loading
Loading
Loading
Loading
+73 −1
Original line number Diff line number Diff line
@@ -694,7 +694,7 @@

	gpuss-max-step {
		polling-delay-passive = <10>;
		polling-delay = <0>;
		polling-delay = <100>;
		thermal-governor = "step_wise";
		trips {
			gpu_trip: gpu-trip {
@@ -703,6 +703,13 @@
				type = "passive";
			};
		};
		cooling-maps {
			gpu_cdev {
				trip = <&gpu_trip>;
				cooling-device = <&msm_gpu THERMAL_NO_LIMIT
							THERMAL_NO_LIMIT>;
			};
		};
	};

	cpu-0-max-step {
@@ -973,6 +980,11 @@
				trip = <&aoss0_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&aoss0_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&aoss0_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1018,6 +1030,11 @@
				trip = <&cpu_0_0_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&cpu_0_0_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&cpu_0_0_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1063,6 +1080,11 @@
				trip = <&cpu_1_0_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&cpu_1_0_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&cpu_1_0_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1108,6 +1130,11 @@
				trip = <&gpuss_0_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&gpuss_0_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&gpuss_0_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1153,6 +1180,11 @@
				trip = <&cwlan_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&cwlan_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&cwlan_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1198,6 +1230,11 @@
				trip = <&audio_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&audio_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&audio_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1243,6 +1280,11 @@
				trip = <&ddr_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&ddr_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&ddr_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1288,6 +1330,11 @@
				trip = <&q6_hvx_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&q6_hvx_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&q6_hvx_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1333,6 +1380,11 @@
				trip = <&camera_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&camera_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&camera_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1378,6 +1430,11 @@
				trip = <&mdm_core_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&mdm_core_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&mdm_core_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1423,6 +1480,11 @@
				trip = <&mdm_dsp_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&mdm_dsp_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&mdm_dsp_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1468,6 +1530,11 @@
				trip = <&npu_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&npu_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&npu_trip>;
				cooling-device = <&cx_cdev 0 0>;
@@ -1513,6 +1580,11 @@
				trip = <&video_trip>;
				cooling-device = <&CPU6 4 4>;
			};
			gpu_vdd_cdev {
				trip = <&video_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
							(THERMAL_MAX_LIMIT-3)>;
			};
			cx_vdd_cdev {
				trip = <&video_trip>;
				cooling-device = <&cx_cdev 0 0>;