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

Commit 351526f3 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

ARM: dts: msm: Enable CDSP cooling devices for Lahaina

Enable CDSP cooling devices like cdsp_sw and cdsp_hw for applying CDSP
thermal mitigation over QMI for Lahaina.

Change-Id: Ieaa26bff09286ae68f24aa322aff53396d5853e3
parent 17e32820
Loading
Loading
Loading
Loading
+68 −70
Original line number Diff line number Diff line
&soc {
	qmi-tmd-devices {
		compatible = "qcom,qmi-cooling-devices";

&qmi_tmd {
	modem {
		qcom,instance-id = <QMI_MODEM_INST_ID>;

@@ -87,6 +84,7 @@
	};
};

&soc {
	qmi_sensor: qmi-ts-sensors {
		compatible = "qcom,qmi-sensors";
		#thermal-sensor-cells = <1>;
+16 −0
Original line number Diff line number Diff line
#include <dt-bindings/thermal/thermal_qti.h>
#include "lahaina-thermal-modem.dtsi"

&qmi_tmd {
	cdsp {
		qcom,instance-id = <QMI_CDSP_INST_ID>;

		cdsp_sw: cdsp {
			qcom,qmi-dev-name = "cdsp_sw";
			#cooling-cells = <2>;
		};

		cdsp_hw: cdsp_hw {
			qcom,qmi-dev-name = "cdsp_hw";
			#cooling-cells = <2>;
		};
	};
};

&cpufreq_hw {
	qcom,cpu-isolation {
		compatible = "qcom,cpu-isolate";
+4 −0
Original line number Diff line number Diff line
@@ -2662,6 +2662,10 @@
	thermal_zones: thermal-zones {
	};

	qmi_tmd: qmi-tmd-devices {
		compatible = "qcom,qmi-cooling-devices";
	};

	cache-controller@9200000 {
		compatible = "qcom,lahaina-llcc", "qcom,llcc-v2";
		reg = <0x9200000 0x1d0000> , <0x9600000 0x50000>;