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

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


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

			thermal-sensors = <&pmm8654au_0_temp_alarm>;

			trips {
@@ -30,7 +30,7 @@ trip1 {

		pmm8654au_1_thermal: pm8775-1-thermal {
			polling-delay-passive = <100>;
			polling-delay = <0>;

			thermal-sensors = <&pmm8654au_1_temp_alarm>;

			trips {
@@ -50,7 +50,7 @@ trip1 {

		pmm8654au_2_thermal: pm8775-2-thermal {
			polling-delay-passive = <100>;
			polling-delay = <0>;

			thermal-sensors = <&pmm8654au_2_temp_alarm>;

			trips {
@@ -70,7 +70,7 @@ trip1 {

		pmm8654au_3_thermal: pm8775-3-thermal {
			polling-delay-passive = <100>;
			polling-delay = <0>;

			thermal-sensors = <&pmm8654au_3_temp_alarm>;

			trips {
+0 −82
Original line number Diff line number Diff line
@@ -3511,9 +3511,6 @@ ethernet0: ethernet@23040000 {

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

			thermal-sensors = <&tsens0 0>;

			trips {
@@ -3533,7 +3530,6 @@ trip-point1 {

		cpu-0-0-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 1>;

@@ -3554,7 +3550,6 @@ trip-point1 {

		cpu-0-1-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 2>;

@@ -3575,7 +3570,6 @@ trip-point1 {

		cpu-0-2-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 3>;

@@ -3596,7 +3590,6 @@ trip-point1 {

		cpu-0-3-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 4>;

@@ -3617,7 +3610,6 @@ trip-point1 {

		gpuss-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 5>;

@@ -3638,7 +3630,6 @@ trip-point1 {

		gpuss-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 6>;

@@ -3659,7 +3650,6 @@ trip-point1 {

		gpuss-2-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens0 7>;

@@ -3679,9 +3669,6 @@ trip-point1 {
		};

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

			thermal-sensors = <&tsens0 8>;

			trips {
@@ -3700,9 +3687,6 @@ trip-point1 {
		};

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

			thermal-sensors = <&tsens0 9>;

			trips {
@@ -3721,9 +3705,6 @@ trip-point1 {
		};

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

			thermal-sensors = <&tsens0 10>;

			trips {
@@ -3742,9 +3723,6 @@ trip-point1 {
		};

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

			thermal-sensors = <&tsens0 11>;

			trips {
@@ -3763,9 +3741,6 @@ trip-point1 {
		};

		aoss-1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 0>;

			trips {
@@ -3785,7 +3760,6 @@ trip-point1 {

		cpu-0-0-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 1>;

@@ -3806,7 +3780,6 @@ trip-point1 {

		cpu-0-1-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 2>;

@@ -3827,7 +3800,6 @@ trip-point1 {

		cpu-0-2-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 3>;

@@ -3848,7 +3820,6 @@ trip-point1 {

		cpu-0-3-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 4>;

@@ -3869,7 +3840,6 @@ trip-point1 {

		gpuss-3-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 5>;

@@ -3890,7 +3860,6 @@ trip-point1 {

		gpuss-4-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 6>;

@@ -3911,7 +3880,6 @@ trip-point1 {

		gpuss-5-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 7>;

@@ -3931,9 +3899,6 @@ trip-point1 {
		};

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

			thermal-sensors = <&tsens1 8>;

			trips {
@@ -3952,9 +3917,6 @@ trip-point1 {
		};

		camss-1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 9>;

			trips {
@@ -3973,9 +3935,6 @@ trip-point1 {
		};

		pcie-1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 10>;

			trips {
@@ -3994,9 +3953,6 @@ trip-point1 {
		};

		cpuss-0-1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens1 11>;

			trips {
@@ -4015,9 +3971,6 @@ trip-point1 {
		};

		aoss-2-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 0>;

			trips {
@@ -4037,7 +3990,6 @@ trip-point1 {

		cpu-1-0-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 1>;

@@ -4058,7 +4010,6 @@ trip-point1 {

		cpu-1-1-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 2>;

@@ -4079,7 +4030,6 @@ trip-point1 {

		cpu-1-2-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 3>;

@@ -4100,7 +4050,6 @@ trip-point1 {

		cpu-1-3-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 4>;

@@ -4121,7 +4070,6 @@ trip-point1 {

		nsp-0-0-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 5>;

@@ -4142,7 +4090,6 @@ trip-point1 {

		nsp-0-1-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 6>;

@@ -4163,7 +4110,6 @@ trip-point1 {

		nsp-0-2-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 7>;

@@ -4184,7 +4130,6 @@ trip-point1 {

		nsp-1-0-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 8>;

@@ -4205,7 +4150,6 @@ trip-point1 {

		nsp-1-1-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 9>;

@@ -4226,7 +4170,6 @@ trip-point1 {

		nsp-1-2-0-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 10>;

@@ -4246,9 +4189,6 @@ trip-point1 {
		};

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

			thermal-sensors = <&tsens2 11>;

			trips {
@@ -4267,9 +4207,6 @@ trip-point1 {
		};

		cpuss-1-0-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens2 12>;

			trips {
@@ -4288,9 +4225,6 @@ trip-point1 {
		};

		aoss-3-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 0>;

			trips {
@@ -4310,7 +4244,6 @@ trip-point1 {

		cpu-1-0-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 1>;

@@ -4331,7 +4264,6 @@ trip-point1 {

		cpu-1-1-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 2>;

@@ -4352,7 +4284,6 @@ trip-point1 {

		cpu-1-2-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 3>;

@@ -4373,7 +4304,6 @@ trip-point1 {

		cpu-1-3-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 4>;

@@ -4394,7 +4324,6 @@ trip-point1 {

		nsp-0-0-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 5>;

@@ -4415,7 +4344,6 @@ trip-point1 {

		nsp-0-1-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 6>;

@@ -4436,7 +4364,6 @@ trip-point1 {

		nsp-0-2-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 7>;

@@ -4457,7 +4384,6 @@ trip-point1 {

		nsp-1-0-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 8>;

@@ -4478,7 +4404,6 @@ trip-point1 {

		nsp-1-1-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 9>;

@@ -4499,7 +4424,6 @@ trip-point1 {

		nsp-1-2-1-thermal {
			polling-delay-passive = <10>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 10>;

@@ -4519,9 +4443,6 @@ trip-point1 {
		};

		ddrss-1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 11>;

			trips {
@@ -4540,9 +4461,6 @@ trip-point1 {
		};

		cpuss-1-1-thermal {
			polling-delay-passive = <0>;
			polling-delay = <0>;

			thermal-sensors = <&tsens3 12>;

			trips {