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

Commit 3625c481 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Update skin thermal zone mitigation for ATOLL"

parents d255a6c5 d4b1dd6e
Loading
Loading
Loading
Loading
+54 −15
Original line number Diff line number Diff line
@@ -1116,35 +1116,59 @@
		thermal-sensors = <&pm6150l_adc_tm ADC_AMUX_THM1_PU2>;
		wake-capable-sensor;
		trips {
			skin_gold_trip: gold-trip {
			skin_modem_trip0: modem-trip0 {
				temperature = <48000>;
				hysteresis = <0>;
				hysteresis = <4000>;
				type = "passive";
			};

			skin_cx_trip: skin-cx-trip {
			skin_modem_trip1: modem-trip1 {
				temperature = <50000>;
				hysteresis = <5000>;
				hysteresis = <2000>;
				type = "passive";
			};

			skin_silver_trip: silver-trip {
			skin_gold_hvx_trip: gold-hvx-trip {
				temperature = <50000>;
				hysteresis = <0>;
				type = "passive";
			};

			skin_gpu_trip: skin-gpu-trip {
				temperature = <52000>;
				hysteresis = <4000>;
				type = "passive";
			};

			skin_modem_trip2: modem-trip2 {
				temperature = <52000>;
				hysteresis = <2000>;
				type = "passive";
			};

			skin_silver_trip: silver-trip {
				temperature = <54000>;
				hysteresis = <0>;
				type = "passive";
			};

			skin_modem_trip3: modem-trip3 {
				temperature = <58000>;
				hysteresis = <4000>;
				type = "passive";
			};
		};

		cooling-maps {
			skin_cpu6 {
				trip = <&skin_gold_trip>;
				trip = <&skin_gold_hvx_trip>;
				cooling-device =
					/* throttle from fmax to 1708800KHz */
					<&CPU6 THERMAL_NO_LIMIT
						(THERMAL_MAX_LIMIT-7)>;
			};
			skin_cpu7 {
				trip = <&skin_gold_trip>;
				trip = <&skin_gold_hvx_trip>;
				cooling-device =
					<&CPU7 THERMAL_NO_LIMIT
						(THERMAL_MAX_LIMIT-7)>;
@@ -1181,18 +1205,33 @@
						(THERMAL_MAX_LIMIT-7)>;
			};
			skin_gpu {
				trip = <&skin_cx_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
						(THERMAL_MAX_LIMIT-1)>;
				trip = <&skin_gpu_trip>;
				cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-3)
						(THERMAL_MAX_LIMIT-3)>;
			};
			skin_modem {
				trip = <&skin_cx_trip>;
			skin_modem_proc0 {
				trip = <&skin_modem_trip0>;
				cooling-device = <&modem_proc 1 1>;
			};
			skin_modem_proc1 {
				trip = <&skin_modem_trip3>;
				cooling-device = <&modem_proc 3 3>;
			};
			skin_modem_pa0 {
				trip = <&skin_modem_trip1>;
				cooling-device = <&modem_pa 1 1>;
			};
			skin_modem_pa1 {
				trip = <&skin_modem_trip2>;
				cooling-device = <&modem_pa 2 2>;
			};
			skin_modem_pa2 {
				trip = <&skin_modem_trip3>;
				cooling-device = <&modem_pa 3 3>;
			};
			cdsp_cdev1 {
				trip = <&skin_cx_trip>;
				cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
				trip = <&skin_gold_hvx_trip>;
				cooling-device = <&cdsp_sw THERMAL_NO_LIMIT 4>;
			};
		};
	};