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

Commit 29e3c117 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

ARM: dts: msm: Remove TSENS QFPROM address and slope data



TSENS (Temperature sensor) driver does not need to map the
QFPROM region to obtain the gain and offset since these are
programmed in the boot initialization to the controller.
This removes the dependency for the application TSENS driver
to map the QFPROM physical region. Hence remove this property
as its optional. Also remove the default slope values that
are used in cases where the application TSENS driver uses it
for calibrationless mode.

Change-Id: Id6893729f5b37a862f3621b8c7897eb767490cd7
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 546c5318
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -2061,27 +2061,22 @@

	tsens0: tsens@10aa000 {
		compatible = "qcom,msmcobalt-tsens";
		reg = <0x10aa000 0x2000>,
			<0x74230 0x1000>;
		reg-names = "tsens_physical", "tsens_eeprom_physical";
		reg = <0x10aa000 0x2000>;
		reg-names = "tsens_physical";
		interrupts = <0 458 0>, <0 445 0>;
		interrupt-names = "tsens-upper-lower", "tsens-critical";
		qcom,sensors = <14>;
		qcom,slope = <2901 2846 3200 3200 3200 3200 3200 3200 3200
						3200 3200 3200 3200 3200>;
	};

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

	qcom,sensor-information {