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

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


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent adfb64b7
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -3729,7 +3729,6 @@ sound: sound {
	thermal-zones {
		cpu0-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 3>;

@@ -3750,7 +3749,6 @@ cpu0_crit: cpu-crit {

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

			thermal-sensors = <&tsens0 5>;

@@ -3771,7 +3769,6 @@ cpu1_crit: cpu-crit {

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

			thermal-sensors = <&tsens0 8>;

@@ -3792,7 +3789,6 @@ cpu2_crit: cpu-crit {

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

			thermal-sensors = <&tsens0 10>;

@@ -3813,7 +3809,6 @@ cpu3_crit: cpu-crit {

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

			thermal-sensors = <&tsens1 6>;

@@ -3835,7 +3830,6 @@ map0 {

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

			thermal-sensors = <&tsens1 7>;

@@ -3857,7 +3851,6 @@ map0 {

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

			thermal-sensors = <&tsens0 1>;

@@ -3872,7 +3865,6 @@ m4m_alert0: trip-point0 {

		l3-or-venus-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&tsens0 2>;

@@ -3887,7 +3879,6 @@ l3_or_venus_alert0: trip-point0 {

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

			thermal-sensors = <&tsens0 7>;

@@ -3902,7 +3893,6 @@ cluster0_l2_alert0: trip-point0 {

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

			thermal-sensors = <&tsens0 12>;

@@ -3917,7 +3907,6 @@ cluster1_l2_alert0: trip-point0 {

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

			thermal-sensors = <&tsens1 1>;

@@ -3932,7 +3921,6 @@ camera_alert0: trip-point0 {

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

			thermal-sensors = <&tsens1 2>;

@@ -3947,7 +3935,6 @@ q6_dsp_alert0: trip-point0 {

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

			thermal-sensors = <&tsens1 3>;

@@ -3962,7 +3949,6 @@ mem_alert0: trip-point0 {

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

			thermal-sensors = <&tsens1 4>;

+0 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ / {
	thermal-zones {
		pm8994-thermal {
			polling-delay-passive = <250>;
			polling-delay = <1000>;

			thermal-sensors = <&pm8994_temp>;