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

Commit 11bff690 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 pm8953_tz sensor in pm8953"

parents d36678e0 7b7304eb
Loading
Loading
Loading
Loading
+28 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
			};
		};

		pm8953_temp_alarm: qcom,temp-alarm@2400 {
		pm8953_tz: qcom,temp-alarm@2400 {
			compatible = "qcom,qpnp-temp-alarm";
			reg = <0x2400 0x100>;
			interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
@@ -57,6 +57,7 @@
			qcom,channel-num = <8>;
			qcom,threshold-set = <0>;
			qcom,temp_alarm-vadc = <&pm8953_vadc>;
			#thermal-sensor-cells = <0>;
		};

		pm8953_coincell: qcom,coincell@2800 {
@@ -302,3 +303,29 @@
		};
	};
};

&thermal_zones {
	pm8953_tz {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-sensors = <&pm8953_tz>;

		trips {
			pm8953_trip0: pm8953-trip0 {
				temperature = <105000>;
				hysteresis = <0>;
				type = "passive";
			};
			pm8953_trip1: pm8953-trip1 {
				temperature = <125000>;
				hysteresis = <0>;
				type = "passive";
			};
			pm8953_trip2: pm8953-trip2 {
				temperature = <145000>;
				hysteresis = <0>;
				type = "passive";
			};
		};
	};
};