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

Commit 6a75defe 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 pmi8998_tz sensor in PMI8998" into msm-4.9

parents 2755021a 9920cf08
Loading
Loading
Loading
Loading
+26 −1
Original line number Diff line number Diff line
@@ -31,11 +31,12 @@
			reg = <0x800 0x100>;
		};

		qcom,temp-alarm@2400 {
		pmi8998_tz: qcom,temp-alarm@2400 {
			compatible = "qcom,qpnp-temp-alarm";
			reg = <0x2400 0x100>;
			interrupts = <0x2 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
			label = "pmi8998_tz";
			#thermal-sensor-cells = <0>;
		};

		pmi8998_gpios: pinctrl@c000 {
@@ -796,4 +797,28 @@
			};
		};
	};

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

		trips {
			pmi8998_trip0: pmi8998-trip0 {
				temperature = <105000>;
				hysteresis = <0>;
				type = "passive";
			};
			 pmi8998_trip1: pmi8998-trip1 {
				temperature = <125000>;
				hysteresis = <0>;
				type = "passive";
			};
			 pmi8998_trip2: pmi8998-trip2 {
				temperature = <145000>;
				hysteresis = <0>;
				type = "critical";
			};
		};
	};
};