Commit 2aad3fd3 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sm6350-*: 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-24-436ca4218da2@linaro.org


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

			thermal-sensors = <&pm6350_temp>;

+0 −81
Original line number Diff line number Diff line
@@ -2883,9 +2883,6 @@ wifi: wifi@18800000 {

	thermal-zones {
		aoss0-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 0>;

			trips {
@@ -2898,9 +2895,6 @@ aoss0-crit {
		};

		aoss1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 0>;

			trips {
@@ -2913,9 +2907,6 @@ aoss1-crit {
		};

		audio-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 2>;

			trips {
@@ -2928,9 +2919,6 @@ audio-crit {
		};

		camera-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 5>;

			trips {
@@ -2943,9 +2931,6 @@ camera-crit {
		};

		cpu0-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 1>;

			trips {
@@ -2971,9 +2956,6 @@ map0 {
		};

		cpu1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 2>;

			trips {
@@ -2999,9 +2981,6 @@ map0 {
		};

		cpu2-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 3>;

			trips {
@@ -3027,9 +3006,6 @@ map0 {
		};

		cpu3-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 4>;

			trips {
@@ -3055,9 +3031,6 @@ map0 {
		};

		cpu4-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 5>;

			trips {
@@ -3083,9 +3056,6 @@ map0 {
		};

		cpu5-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 6>;

			trips {
@@ -3111,9 +3081,6 @@ map0 {
		};

		cpu6-left-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 9>;

			trips {
@@ -3139,9 +3106,6 @@ map0 {
		};

		cpu6-right-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 10>;

			trips {
@@ -3167,9 +3131,6 @@ map0 {
		};

		cpu7-left-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 11>;

			trips {
@@ -3195,9 +3156,6 @@ map0 {
		};

		cpu7-right-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 12>;

			trips {
@@ -3223,9 +3181,6 @@ map0 {
		};

		cpuss0-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 7>;

			trips {
@@ -3238,9 +3193,6 @@ cpuss0-crit {
		};

		cpuss1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 8>;

			trips {
@@ -3253,9 +3205,6 @@ cpuss1-crit {
		};

		cwlan-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 1>;

			trips {
@@ -3268,9 +3217,6 @@ cwlan-crit {
		};

		ddr-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 3>;

			trips {
@@ -3283,9 +3229,6 @@ ddr-crit {
		};

		gpuss0-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 13>;

			trips {
@@ -3311,9 +3254,6 @@ map0 {
		};

		gpuss1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 14>;

			trips {
@@ -3339,9 +3279,6 @@ map0 {
		};

		modem-core0-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 6>;

			trips {
@@ -3354,9 +3291,6 @@ modem-core0-crit {
		};

		modem-core1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 7>;

			trips {
@@ -3369,9 +3303,6 @@ modem-core1-crit {
		};

		modem-scl-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 9>;

			trips {
@@ -3384,9 +3315,6 @@ modem-scl-crit {
		};

		modem-vec-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 8>;

			trips {
@@ -3399,9 +3327,6 @@ modem-vec-crit {
		};

		npu-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 10>;

			trips {
@@ -3414,9 +3339,6 @@ npu-crit {
		};

		q6-hvx-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 4>;

			trips {
@@ -3429,9 +3351,6 @@ q6-hvx-crit {
		};

		video-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 11>;

			trips {
+0 −4
Original line number Diff line number Diff line
@@ -95,8 +95,6 @@ memory@efe01000 {

	thermal-zones {
		chg-skin-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&pm7250b_adc_tm 0>;

			trips {
@@ -109,8 +107,6 @@ active-config0 {
		};

		conn-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&pm7250b_adc_tm 1>;

			trips {