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

Commit 9dbb858b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Define thermal zone for PM8937 temperature sensor"

parents be30befd 814ebb6c
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@
			qcom,channel-num = <8>;
			qcom,threshold-set = <0>;
			qcom,temp_alarm-vadc = <&pm8937_vadc>;
			#thermal-sensor-cells = <0>;
		};

		pm8937_coincell: qcom,coincell@2800 {
@@ -404,4 +405,29 @@
			};
		};
	};

	pm8937_tz {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&pm8937_temp_alarm>;

		trips {
			pm8937_trip0: pm8937-trip0 {
				temperature = <105000>;
				hysteresis = <0>;
				type = "passive";
			};
			pm8937_trip1: pm8937-trip1 {
				temperature = <125000>;
				hysteresis = <0>;
				type = "passive";
			};
			pm8937_trip2: pm8937-trip2 {
				temperature = <145000>;
				hysteresis = <0>;
				type = "passive";
			};
		};
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@
	/delete-node/ xo-therm-buf-adc;
	/delete-node/ case-therm-adc;
	/delete-node/ pa-therm0-adc;
	/delete-node/ pm8937_tz;
};

&int_codec {