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

Commit f2f5eb94 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

ARM: dts: msm: Support msm8996 TSENS



Enable TSENS controllers to support thermal mitigation
on 8996v3.

Change-Id: I7f4322971515f264df5d7b3ce7ea64d39029ae02
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 77813844
Loading
Loading
Loading
Loading
+22 −0
Original line number Original line Diff line number Diff line
@@ -328,3 +328,25 @@
			< 2150400 5195 >;
			< 2150400 5195 >;
	};
	};
};
};

&soc {
	tsens1: tsens@4ad000 {
		compatible = "qcom,msm8996-tsens";
		reg = <0x4ac000 0x2000>,
			<0x75230 0x1000>;
		reg-names = "tsens_physical", "tsens_eeprom_physical";
		interrupts = <0 184 0>, <0 430 0>;
		interrupt-names = "tsens-upper-lower", "tsens-critical";
		qcom,client-id = <13 14 15 16 17 18 19 20>;
		qcom,sensor-id = <1 6 7 0 2 3 4 5>;
		qcom,sensors = <8>;
		qcom,slope = <2901 2846 3200 3200 3200 3200 3200 3200>;
	};
};

&tsens0 {
	interrupts = <0 458 0>, <0 445 0>;
	qcom,sensors = <13>;
	qcom,slope = <2901 2846 3200 3200 3200 3200 3200 3200 3200
						3200 3200 3200 3200>;
};