Commit 190f7435 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sm6115-*: Remove thermal zone polling delays



All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.

Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-22-436ca4218da2@linaro.org


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 2e58dbea
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@ / {
	thermal-zones {
		pmi632-thermal {
			polling-delay-passive = <100>;
			polling-delay = <0>;

			thermal-sensors = <&pmi632_temp>;

+0 −32
Original line number Diff line number Diff line
@@ -3013,8 +3013,6 @@ cpufreq_hw: cpufreq@f521000 {

	thermal-zones {
		mapss-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 0>;

			trips {
@@ -3033,8 +3031,6 @@ trip-point1 {
		};

		cdsp-hvx-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 1>;

			trips {
@@ -3053,8 +3049,6 @@ trip-point1 {
		};

		wlan-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 2>;

			trips {
@@ -3073,8 +3067,6 @@ trip-point1 {
		};

		camera-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 3>;

			trips {
@@ -3093,8 +3085,6 @@ trip-point1 {
		};

		video-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 4>;

			trips {
@@ -3113,8 +3103,6 @@ trip-point1 {
		};

		modem1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 5>;

			trips {
@@ -3133,8 +3121,6 @@ trip-point1 {
		};

		cpu4-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 6>;

			trips {
@@ -3159,8 +3145,6 @@ cpu4_crit: cpu-crit {
		};

		cpu5-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 7>;

			trips {
@@ -3185,8 +3169,6 @@ cpu5_crit: cpu-crit {
		};

		cpu6-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 8>;

			trips {
@@ -3211,8 +3193,6 @@ cpu6_crit: cpu-crit {
		};

		cpu7-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 9>;

			trips {
@@ -3237,8 +3217,6 @@ cpu7_crit: cpu-crit {
		};

		cpu45-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 10>;

			trips {
@@ -3263,8 +3241,6 @@ cpu45_crit: cpu-crit {
		};

		cpu67-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 11>;

			trips {
@@ -3289,8 +3265,6 @@ cpu67_crit: cpu-crit {
		};

		cpu0123-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 12>;

			trips {
@@ -3315,8 +3289,6 @@ cpu0123_crit: cpu-crit {
		};

		modem0-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 13>;

			trips {
@@ -3335,8 +3307,6 @@ trip-point1 {
		};

		display-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 14>;

			trips {
@@ -3355,8 +3325,6 @@ trip-point1 {
		};

		gpu-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&tsens0 15>;

			cooling-maps {