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

Commit 74ee9c02 authored by Anji Jonnala's avatar Anji Jonnala
Browse files

ARM: dts: msm: Add thermal sensor information for msmferrum



Add sensor information devicetree for msmferrum. This
will have all necessary information about thermal
sensors on a target such as its type, name, alias
and scalling factor.

Change-Id: I69647aac193d17d1d62e0bbfa6a41992a590bfdd
Signed-off-by: default avatarAnji Jonnala <anjir@codeaurora.org>
parent 8df7fb8c
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
@@ -262,6 +262,42 @@
		qcom,sensor-id = <0 1 2 3 4>;
	};

	qcom,sensor-information {
		compatible = "qcom,sensor-information";
		sensor_information0: qcom,sensor-information@0 {
			qcom,sensor-type = "tsens";
			qcom,sensor-name = "tsens_tz_sensor0";
		};

		sensor_information1: qcom,sensor-information@1 {
			qcom,sensor-type =  "tsens";
			qcom,sensor-name = "tsens_tz_sensor1";
			qcom,alias-name = "cpu0-2";
		};

		sensor_information2: qcom,sensor-information@2 {
			qcom,sensor-type =  "tsens";
			qcom,sensor-name = "tsens_tz_sensor2";
			qcom,alias-name = "cpu1-3";
		};

		sensor_information3: qcom,sensor-information@3 {
			qcom,sensor-type =  "tsens";
			qcom,sensor-name = "tsens_tz_sensor3";
			qcom,alias-name = "pop_mem";
		};

		sensor_information4: qcom,sensor-information@4 {
			qcom,sensor-type = "tsens";
			qcom,sensor-name = "tsens_tz_sensor4";
		};

		sensor_information5: qcom,sensor-information@5 {
			qcom,sensor-type = "adc";
			qcom,sensor-name = "pa_therm0";
		};
	};

	qcom,msm-thermal {
		compatible = "qcom,msm-thermal";
		qcom,sensor-id = <1>;