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

Commit 0b234baf authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: include thermal overlay devicetree for TRINKET QRD platform"

parents b8104056 475ab8f1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/iio/qcom,spmi-vadc.h>
#include <dt-bindings/input/input.h>
#include "trinket-thermal-overlay.dtsi"
#include "trinket-sde-display.dtsi"
#include "trinket-audio-overlay.dtsi"
#include <dt-bindings/clock/qcom,gcc-trinket.h>
+220 −2
Original line number Diff line number Diff line
@@ -80,9 +80,17 @@

	cxip_cdev: cxip-cdev@3ed000 {
		compatible = "qcom,cxip-lm-cooling-device";
		reg = <0x3ed000 0xa008>;
		reg = <0x3ed000 0xc00c>;
		qcom,thermal-client-offset = <0x9000>;
		qcom,bypass-client-list = <0xa004>;
		/* 2nd and 3rd offsets to bypass VICTIM1 */
		qcom,bypass-client-list = <0xa004 0xc004 0xc008>;
		#cooling-cells = <2>;
	};
};

&rpm_bus {
	rpm_smd_cdev: rpm-smd-cdev {
		compatible = "qcom,rpm-smd-cooling-device";
		#cooling-cells = <2>;
	};
};
@@ -842,6 +850,27 @@
		};
	};

	aoss0-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 0>;
		tracks-low;
		trips {
			aoss0_lowc: aoss0-lowc {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			rpm_smd_cdev {
				trip = <&aoss0_lowc>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	cdsp-lowf {
		polling-delay-passive = <0>;
		polling-delay = <0>;
@@ -919,6 +948,27 @@
		};
	};

	cdsp-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 1>;
		tracks-low;
		trips {
			cdsp_lowc: cdsp-lowc {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			rpm_smd_cdev {
				trip = <&cdsp_lowc>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	wlan-lowf {
		polling-delay-passive = <0>;
		polling-delay = <0>;
@@ -996,6 +1046,27 @@
		};
	};

	wlan-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 2>;
		tracks-low;
		trips {
			wlan_lowc: wlan-lowc {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			rpm_smd_cdev {
				trip = <&wlan_lowc>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	camera-lowf {
		polling-delay-passive = <0>;
		polling-delay = <0>;
@@ -1073,6 +1144,27 @@
		};
	};

	camera-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 3>;
		tracks-low;
		trips {
			camera_lowc: camera-lowc {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			rpm_smd_cdev {
				trip = <&camera_lowc>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	video-lowf {
		polling-delay-passive = <0>;
		polling-delay = <0>;
@@ -1150,6 +1242,27 @@
		};
	};

	video-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 4>;
		tracks-low;
		trips {
			video_lowc: video-lowc {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			rpm_smd_cdev {
				trip = <&video_lowc>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	cpu-1-0-lowf {
		polling-delay-passive = <0>;
		polling-delay = <0>;
@@ -1227,6 +1340,27 @@
		};
	};

	cpu-1-0-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 9>;
		tracks-low;
		trips {
			cpu_1_0_lowc: cpu-1-0-lowc {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			rpm_smd_cdev {
				trip = <&cpu_1_0_lowc>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	cpuss-2-lowf {
		polling-delay-passive = <0>;
		polling-delay = <0>;
@@ -1304,6 +1438,27 @@
		};
	};

	cpuss-2-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 8>;
		tracks-low;
		trips {
			cpuss_2_lowc: cpuss-2-lowc {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			rpm_smd_cdev {
				trip = <&cpuss_2_lowc>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	mdm-core-lowf {
		polling-delay-passive = <0>;
		polling-delay = <0>;
@@ -1381,6 +1536,27 @@
		};
	};

	mdm-core-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 13>;
		tracks-low;
		trips {
			mdm_core_lowc: mdm-core-lowc {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			rpm_smd_cdev {
				trip = <&mdm_core_lowc>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	display-lowf {
		polling-delay-passive = <0>;
		polling-delay = <0>;
@@ -1458,6 +1634,27 @@
		};
	};

	display-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 14>;
		tracks-low;
		trips {
			display_lowc: display-lowc {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			rpm_smd_cdev {
				trip = <&display_lowc>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	gpu-lowf {
		polling-delay-passive = <0>;
		polling-delay = <0>;
@@ -1535,6 +1732,27 @@
		};
	};

	gpu-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 15>;
		tracks-low;
		trips {
			gpu_lowc: gpu-lowc {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
		cooling-maps {
			rpm_smd_cdev {
				trip = <&gpu_lowc>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	cdsp-step {
		polling-delay-passive = <10>;
		polling-delay = <0>;