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

Commit 2f82b09c authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Enable rpm_smd cooling device for KHAJE"

parents 5ea71037 efb3c847
Loading
Loading
Loading
Loading
+28 −28
Original line number Diff line number Diff line
@@ -957,6 +957,30 @@
		};
	};

	mapss-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 0>;
		wake-capable-sensor;
		tracks-low;

		trips {
			mapss_cap_trip: mapss-cap-trip {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};

		cooling-maps {
			lmh_cpu_cdev {
				trip = <&mapss_cap_trip>;
				cooling-device = <&lmh_cpu_vdd 1 1>;
			};
		};
	};

	mapss-lowf {
		polling-delay-passive = <0>;
		polling-delay = <0>;
@@ -996,16 +1020,16 @@
		};
	};

	mapss-lowc {
	camera-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 0>;
		thermal-sensors = <&tsens0 3>;
		wake-capable-sensor;
		tracks-low;

		trips {
			mapss_cap_trip: mapss-cap-trip {
			camera_cap_trip: camera-cap-trip {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
@@ -1014,7 +1038,7 @@

		cooling-maps {
			lmh_cpu_cdev {
				trip = <&mapss_cap_trip>;
				trip = <&camera_cap_trip>;
				cooling-device = <&lmh_cpu_vdd 1 1>;
			};
		};
@@ -1059,30 +1083,6 @@
		};
	};

	camera-lowc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "low_limits_cap";
		thermal-sensors = <&tsens0 3>;
		wake-capable-sensor;
		tracks-low;

		trips {
			camera_cap_trip: camera-cap-trip {
				temperature = <5000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};

		cooling-maps {
			lmh_cpu_cdev {
				trip = <&camera_cap_trip>;
				cooling-device = <&lmh_cpu_vdd 1 1>;
			};
		};
	};

	quiet-therm-step {
		polling-delay-passive = <2000>;
		polling-delay = <0>;
+27 −0
Original line number Diff line number Diff line
@@ -4360,3 +4360,30 @@ tpdm_turing_llm: tpdm@8861000 {
&cxip_cdev {
	status = "disabled";
};

&rpm_bus {
	rpm_smd_cdev: rpm-smd-cdev {
		compatible = "qcom,rpm-smd-cooling-device";
		#cooling-cells = <2>;
	};
};

&thermal_zones {
	mapss-lowc {
		cooling-maps {
			rpm_smd_vdd_cdev {
				trip = <&mapss_cap_trip>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};

	camera-lowc {
		cooling-maps {
			rpm_smd_vdd_cdev {
				trip = <&camera_cap_trip>;
				cooling-device = <&rpm_smd_cdev 2 2>;
			};
		};
	};
};