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

Commit 351930d2 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: Enable TSENS driver for qcs405" into msm-4.14

parents c82bc68f fc8a47dd
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -25,10 +25,12 @@ Required properties:
	       for the corresponding SoC.
- reg : offset and length of the TSENS registers with associated property in reg-names
	as "tsens_srot_physical" for TSENS SROT physical address region. TSENS TM
	physical address region as "tsens_tm_physical".
	physical address region as "tsens_tm_physical", and "tsens_eeprom_physical" for the
	TSENS calibration fuse register region.
- reg-names : resource names used for the physical address of the TSENS
	      registers. Should be "tsens_srot_physical" for physical address of the TSENS
	      SROT region and "tsens_tm_physical" for physical address of the TM region.
	      SROT region, "tsens_tm_physical" for physical address of the TM region and
		  "tsens_eeprom_physical" for the TSENS calibration fuse register region.
- interrupts : TSENS interrupt to notify Upper/Lower and Critical temperature threshold.
- interrupt-names: Should be "tsens-upper-lower" for temperature threshold.
		   Add "tsens-critical" for Critical temperature threshold notification
@@ -42,7 +44,8 @@ tsens@fc4a8000 {
	reg = <0xfc4a8000 0x10>,
		<0xfc4b8000 0x1ff>;
	reg-names = "tsens_srot_physical",
		    "tsens_tm_physical";
		    "tsens_tm_physical",
			"tsens_eeprom_physical",
	interrupts = <0 184 0>;
	interrupt-names = "tsens-upper-lower";
};
+13 −0
Original line number Diff line number Diff line
@@ -210,4 +210,17 @@
			reg = <0x94c 200>;
		};
	};

	tsens0: tsens@4a8000 {
		compatible = "qcom,qcs405-tsens";
		reg = <0x4a8000 0x1000>,
			<0x4a9000 0x1000>,
			<0xa4000  0x1000>;
		reg-names = "tsens_srot_physical",
			"tsens_tm_physical",
			"tsens_eeprom_physical";
		interrupts = <0 184 0>;
		interrupt-names = "tsens-upper-lower";
		#thermal-sensor-cells = <1>;
	};
};