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

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


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 1f57b1cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -299,7 +299,7 @@ linux,cma {
	thermal-zones {
		skin-temp-thermal {
			polling-delay-passive = <250>;
			polling-delay = <0>;

			thermal-sensors = <&pmk8280_adc_tm 5>;

			trips {
+2 −2
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ / {
	thermal-zones {
		pm8280_1_thermal: pm8280-1-thermal {
			polling-delay-passive = <100>;
			polling-delay = <0>;

			thermal-sensors = <&pm8280_1_temp_alarm>;

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

		pm8280_2_thermal: pm8280-2-thermal {
			polling-delay-passive = <100>;
			polling-delay = <0>;

			thermal-sensors = <&pm8280_2_temp_alarm>;

			trips {
+0 −13
Original line number Diff line number Diff line
@@ -5879,7 +5879,6 @@ sound: sound {
	thermal-zones {
		cpu0-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 1>;

@@ -5894,7 +5893,6 @@ cpu-crit {

		cpu1-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 2>;

@@ -5909,7 +5907,6 @@ cpu-crit {

		cpu2-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 3>;

@@ -5924,7 +5921,6 @@ cpu-crit {

		cpu3-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 4>;

@@ -5939,7 +5935,6 @@ cpu-crit {

		cpu4-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 5>;

@@ -5954,7 +5949,6 @@ cpu-crit {

		cpu5-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 6>;

@@ -5969,7 +5963,6 @@ cpu-crit {

		cpu6-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 7>;

@@ -5984,7 +5977,6 @@ cpu-crit {

		cpu7-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 8>;

@@ -5999,7 +5991,6 @@ cpu-crit {

		cluster0-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 9>;

@@ -6013,9 +6004,6 @@ cpu-crit {
		};

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

			thermal-sensors = <&tsens2 2>;

			trips {
@@ -6029,7 +6017,6 @@ gpu-crit {

		mem-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens1 15>;