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

Commit 2f994ded authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

ARM: dts: msm: Add a test thermal zone for SM8150



Add a sample thermal zone, which mitigates the cooling devices like
modem and display backlight for SM8150. This is a sample thermal zone,
which will be disabled by default.

Change-Id: I866b4c0c0b981960f9579501597d81cf258cd55f
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 5774dd4e
Loading
Loading
Loading
Loading
+47 −0
Original line number Original line Diff line number Diff line
@@ -2197,4 +2197,51 @@
			};
			};
		};
		};
	};
	};

	pop-mem-test {
		polling-delay-passive = <10>;
		polling-delay = <0>;
		thermal-sensors = <&tsens1 3>;
		thermal-governor = "step_wise";
		disable-thermal-zone;
		trips {
			pop_test_trip: pop-test-trip {
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};
		};
		cooling-maps {
			pop_test_cdev0 {
				trip = <&pop_test_trip>;
				cooling-device =
					<&modem_pa THERMAL_NO_LIMIT
						THERMAL_NO_LIMIT>;
			};
			pop_test_cdev1 {
				trip = <&pop_test_trip>;
				cooling-device =
					<&modem_proc THERMAL_NO_LIMIT
						THERMAL_NO_LIMIT>;
			};
			pop_test_cdev2 {
				trip = <&pop_test_trip>;
				cooling-device =
					<&modem_current THERMAL_NO_LIMIT
						THERMAL_NO_LIMIT>;
			};
			pop_test_cdev3 {
				trip = <&pop_test_trip>;
				cooling-device =
					<&modem_skin THERMAL_NO_LIMIT
						THERMAL_NO_LIMIT>;
			};
			pop_test_cdev4 {
				trip = <&pop_test_trip>;
				cooling-device =
					<&mdss_mdp THERMAL_NO_LIMIT
						THERMAL_NO_LIMIT>;
			};
		};
	};
};
};