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

Commit 267ba64f authored by Sagar Chormale's avatar Sagar Chormale Committed by Sivasri Kumar Vanka
Browse files

ARM: dts: qcom: Add thermal tsens node support for mdm9607



Add device tree register Property "tsens_srot_physical", to
identify the right srot register.
Also rename the register "tsens_tm_physical" to
align with the  current thermal core naming convention.

Add "thermal-sensor-cells" device tree property to support
sensor cells.

Change-Id: I2d80796b106c86c6a97f35a162da33ca809ff512
Signed-off-by: default avatarSagar Chormale <schormal@codeaurora.org>
parent 652771c4
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -889,18 +889,22 @@

	 tsens: tsens@4a8000 {
		compatible = "qcom,mdm9607-tsens";
		reg = <0x4a8000 0x2000>,
			<0xa4000  0x1000>;
		reg-names = "tsens_physical", "tsens_eeprom_physical";
		reg = <0x004A8000 0x1000>,
			<0x004A9000 0x1000>,
			<0x000A4000  0x1000>;
		reg-names ="tsens_srot_physical",
			"tsens_tm_physical",
			"tsens_eeprom_physical";
		interrupts = <0 184 0>;
		interrupt-names = "tsens-upper-lower";
		qcom,sensors = <5>;
		qcom,slope = <3000 3000 3000 3000 3000>;
		qcom,sensor-id = <0 1 2 3 4>;
		qcom,temp1-offset = <1 (-4) 4 (-3) (-4)>;
		qcom,temp2-offset = <1 (-2) 8 (-5) (-4)>;
		#thermal-sensor-cells = <1>;
	};

	thermal_zones: thermal-zones {};

	wcd9xxx_intc: wcd9xxx-irq {
		compatible = "qcom,wcd9xxx-irq";
		interrupt-controller;