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

Commit 09d85957 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

ARM: dts: msm: Enable TSENS for sdmshrike



Enable temperature controller (TSENS) on sdmshrike.
Thermal clients can read from TSENS temperature sensors,
set temperature thresholds and receive notification.

Change-Id: Ie0c4dfd172a6055ca74f68f24d945e7e9e9337ed
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 8aa0accf
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -529,6 +529,28 @@
		#clock-cells = <1>;
		#reset-cells = <1>;
	};

	tsens0: tsens@c222000 {
		compatible = "qcom,tsens24xx";
		reg = <0xc222000 0x4>,
			<0xc263000 0x1ff>;
		reg-names = "tsens_srot_physical",
				"tsens_tm_physical";
		interrupts = <0 506 0>, <0 508 0>;
		interrupt-names = "tsens-upper-lower", "tsens-critical";
		#thermal-sensor-cells = <1>;
	};

	tsens1: tsens@c223000 {
		compatible = "qcom,tsens24xx";
		reg = <0xc223000 0x4>,
			<0xc265000 0x1ff>;
		reg-names = "tsens_srot_physical",
			"tsens_tm_physical";
		interrupts = <0 507 0>, <0 509 0>;
		interrupt-names = "tsens-upper-lower", "tsens-critical";
		#thermal-sensor-cells = <1>;
	};
};

&emac_gdsc {