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

Commit 12b219b4 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

ARM: dts: msm: Add modem thermal sensors for SM8150 fusion



Add configuration related to modem thermal sensors for SM8150 fusion. This
will allow these sensors to be monitored by APSS.

Change-Id: Ib566b530beb1831c7d11b6c4ef26c179aa233fc2
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent c29fbab5
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
@@ -198,6 +198,49 @@
			};
		};
	};

	qmi_sensor: qmi-ts-sensors {
		compatible = "qcom,qmi-sensors";
		#thermal-sensor-cells = <1>;

		modem {
			qcom,instance-id = <0x0>;
			qcom,qmi-sensor-names = "pa",
						"pa_1",
						"qfe_pa0",
						"qfe_wtr0";
		};
	};
};

&thermal_zones {
	modem0-pa0-usr {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "user_space";
		thermal-sensors = <&qmi_sensor 0>;
		trips {
			active-config0 {
				temperature = <125000>;
				hysteresis = <1000>;
				type = "passive";
			};
		};
	};

	modem0-pa1-usr {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "user_space";
		thermal-sensors = <&qmi_sensor 1>;
		trips {
			active-config0 {
				temperature = <125000>;
				hysteresis = <1000>;
				type = "passive";
			};
		};
	};
};

&reserved_memory {