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

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

Merge "ARM: dts: msm: Update NSP and skin sensor thermal config for YUPIK"

parents ebb17f4e 2b3b5592
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
@@ -264,6 +264,41 @@
			};
		};
	};

	quiet-therm-step {
		polling-delay-passive = <2000>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&pmk8350_adc_tm PM7325_ADC7_AMUX_THM1_100K_PU>;

		trips {
			quiet_cx_trip: quiet-cx-trip {
				temperature = <55000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};

		cooling-maps {
			gpu-cdev {
				trip = <&quiet_cx_trip>;
				/* throttle to 315000000Hz */
				cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
						THERMAL_MAX_LIMIT>;
			};

			cdsp-cdev {
				trip = <&quiet_cx_trip>;
				cooling-device = <&cdsp_sw (THERMAL_MAX_LIMIT-2)
							(THERMAL_MAX_LIMIT-2)>;
			};

			modem-pa-cdev {
				trip = <&quiet_cx_trip>;
				cooling-device = <&modem_pa 3 3>;
			};
		};
	};
};

&apps_rsc {
+6 −4
Original line number Diff line number Diff line
@@ -1243,12 +1243,13 @@
		cooling-maps {
			cdsp-cdev {
				trip = <&nspss0_trip>;
				cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
						THERMAL_MAX_LIMIT>;
				cooling-device = <&cdsp_sw (THERMAL_MAX_LIMIT-2)
							(THERMAL_MAX_LIMIT-2)>;
			};

			gpu_cdev {
				trip = <&nspss0_trip>;
				/* throttle to 315000000Hz */
				cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};
@@ -1276,12 +1277,13 @@
		cooling-maps {
			cdsp-cdev {
				trip = <&nspss1_trip>;
				cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
						THERMAL_MAX_LIMIT>;
				cooling-device = <&cdsp_sw (THERMAL_MAX_LIMIT-2)
							(THERMAL_MAX_LIMIT-2)>;
			};

			gpu_cdev {
				trip = <&nspss1_trip>;
				/* throttle to 315000000Hz */
				cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
							THERMAL_MAX_LIMIT>;
			};