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

Commit db57de30 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi
Browse files

ARM: dts: qcom: update modem thermal zone mitigations for LITO

Update junction temperature and skin temperature modem thermal
zone mitigation rules for LITO based on latest recommendation.

Change-Id: I39fb7a0feddd3bccfbee13b412c5bd9b224d86d2
parent 3534fd5b
Loading
Loading
Loading
Loading
+10 −37
Original line number Diff line number Diff line
@@ -257,30 +257,12 @@
		thermal-sensors = <&pm8150_adc_tm ADC_XO_THERM_PU2>;
		wake-capable-sensor;
		trips {
			modem0_trip: modem0-trip {
				temperature = <48000>;
				hysteresis = <4000>;
				type = "passive";
			};

			modem1_trip: modem1-trip {
				temperature = <50000>;
				hysteresis = <2000>;
				type = "passive";
			};

			gold_plus_trip: gold-plus-trip {
				temperature = <50000>;
				hysteresis = <0>;
				type = "passive";
			};

			modem2_trip: modem2-trip {
				temperature = <52000>;
				hysteresis = <2000>;
				type = "passive";
			};

			gold_trip: gold-trip {
				temperature = <52000>;
				hysteresis = <0>;
@@ -299,11 +281,17 @@
				type = "passive";
			};

			modem_gpu_skin_trip: modem-gpu-skin-trip {
			gpu_skin_trip: gpu-skin-trip {
				temperature = <56000>;
				hysteresis = <4000>;
				type = "passive";
			};

			modem4_skin_trip: modem4-skin-trip {
				temperature = <60000>;
				hysteresis = <4000>;
				type = "passive";
			};
		};

		cooling-maps {
@@ -331,33 +319,18 @@
			};

			skin_gpu {
				trip = <&modem_gpu_skin_trip>;
				trip = <&gpu_skin_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
						(THERMAL_MAX_LIMIT-1)>;
			};

			skin_modem_proc1 {
				trip = <&modem0_trip>;
				cooling-device = <&modem_tj 1 1>;
			};

			skin_modem_pa1 {
				trip = <&modem1_trip>;
				cooling-device = <&modem_pa 1 1>;
			};

			skin_modem_pa2 {
				trip = <&modem2_trip>;
				cooling-device = <&modem_pa 2 2>;
			};

			skin_modem_pa3 {
				trip = <&modem_gpu_skin_trip>;
				trip = <&modem4_skin_trip>;
				cooling-device = <&modem_pa 3 3>;
			};

			skin_modem_proce2 {
				trip = <&modem_gpu_skin_trip>;
				trip = <&modem4_skin_trip>;
				cooling-device = <&modem_tj 3 3>;
			};

+88 −0
Original line number Diff line number Diff line
@@ -1224,6 +1224,94 @@
		};
	};

	mdm-core-0-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-sensors = <&tsens1 10>;
		thermal-governor = "step_wise";
		wake-capable-sensor;
		trips {
			modem_core_0_trip0: modem-core-0-trip0 {
				temperature = <95000>;
				hysteresis = <15000>;
				type = "passive";
			};

			modem_core_0_trip1: modem-core-0-trip1 {
				temperature = <105000>;
				hysteresis = <15000>;
				type = "passive";
			};

			modem_core_0_trip2: modem-core-0-trip2 {
				temperature = <115000>;
				hysteresis = <15000>;
				type = "passive";
			};
		};

		cooling-maps {
			modem_tj1_cdev {
				trip = <&modem_core_0_trip0>;
				cooling-device = <&modem_tj 1 1>;
			};

			modem_tj2_cdev {
				trip = <&modem_core_0_trip1>;
				cooling-device = <&modem_tj 2 2>;
			};

			modem_tj3_cdev {
				trip = <&modem_core_0_trip2>;
				cooling-device = <&modem_tj 3 3>;
			};
		};
	};

	mdm-core-1-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-sensors = <&tsens1 11>;
		thermal-governor = "step_wise";
		wake-capable-sensor;
		trips {
			modem_core_1_trip0: modem-core-1-trip0 {
				temperature = <95000>;
				hysteresis = <15000>;
				type = "passive";
			};

			modem_core_1_trip1: modem-core-1-trip1 {
				temperature = <105000>;
				hysteresis = <15000>;
				type = "passive";
			};

			modem_core_1_trip2: modem-core-1-trip2 {
				temperature = <115000>;
				hysteresis = <15000>;
				type = "passive";
			};
		};

		cooling-maps {
			modem_tj1_cdev {
				trip = <&modem_core_1_trip0>;
				cooling-device = <&modem_tj 1 1>;
			};

			modem_tj2_cdev {
				trip = <&modem_core_1_trip1>;
				cooling-device = <&modem_tj 2 2>;
			};

			modem_tj3_cdev {
				trip = <&modem_core_1_trip2>;
				cooling-device = <&modem_tj 3 3>;
			};
		};
	};

	modem-lte-sub6-pa1 {
		polling-delay-passive = <0>;
		polling-delay = <0>;