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

Commit 9bd36437 authored by Shyam Kumar Thella's avatar Shyam Kumar Thella
Browse files

ARM: dts: msm: Add thermal zones for pm2250

Add thermal zones required for temp-alarm driver for pm2250

Change-Id: Ib5f8de6df281fa026f01dccbfaac3762b338ab9e
parent 6a22e59e
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -370,3 +370,33 @@
		};
	};
};

&thermal_zones {
	pm2250_tz {
		polling-delay-passive = <100>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&pm2250_tz>;
		wake-capable-sensor;

		trips {
			pm2250_trip0: trip0 {
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};

			pm2250_trip1: trip1 {
				temperature = <115000>;
				hysteresis = <0>;
				type = "critical";
			};

			trip2 {
				temperature = <145000>;
				hysteresis = <0>;
				type = "critical";
			};
		};
	};
};
+2 −0
Original line number Diff line number Diff line
@@ -446,6 +446,8 @@
		qcom,guard-memory;
	};

	thermal_zones: thermal-zones { };

	qfprom: qfprom@1b40000 {
		compatible = "qcom,qfprom";
		reg = <0x1b40000 0x7000>;