Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b42f7112 authored by keqili's avatar keqili
Browse files

ARM: dts: msm: Disable thermal sensor polling on Rome



Disable thermal sensor polling action on Rome board
since it can be triggered by interrupt once crossing
threshold.

Change-Id: I3bca7830e583613b9fc86e845f7e3127710e4a5a
Signed-off-by: default avatarkeqili <keqili@codeaurora.org>
parent 859b1624
Loading
Loading
Loading
Loading
+81 −0
Original line number Diff line number Diff line
@@ -237,6 +237,87 @@
		pinctrl-0 = <&cdc_reset_active>;
		pinctrl-1 = <&cdc_reset_sleep>;
	};
	thermal-zones {
		xo-therm-buf-adc {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&pm8916_vadc 0x3c>;
			thermal-governor = "user_space";

			trips {
				active-config0 {
					temperature = <65000>;
					hysteresis = <1000>;
					type = "passive";
				};
			};
		};

		xo-therm-adc {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&pm8916_vadc 0x32>;
			thermal-governor = "user_space";

			trips {
				active-config0 {
					temperature = <65000>;
					hysteresis = <1000>;
					type = "passive";
				};
			};
		};

		pa-therm0-adc {
			polling-delay-passive = <0>;
			polling-delay = <0>;
			thermal-sensors = <&pm8916_vadc 0x36>;
			thermal-governor = "user_space";

			trips {
				active-config0 {
					temperature = <65000>;
					hysteresis = <1000>;
					type = "passive";
				};
			};
		};
		mdm-lowf {
			cooling-maps {
				cx_vdd_cdev {
					cooling-device = <&pm8916_cx_cdev 0 0>;
				};
			};
		};
		camera-lowf {
			cooling-maps {
				cx_vdd_cdev {
					cooling-device = <&pm8916_cx_cdev 0 0>;
				};
			};
		};
		gpu-lowf {
			cooling-maps {
				cx_vdd_cdev {
					cooling-device = <&pm8916_cx_cdev 0 0>;
				};
			};
		};
		cpu0-2-lowf {
			cooling-maps {
				cx_vdd_cdev {
					cooling-device = <&pm8916_cx_cdev 0 0>;
				};
			};
		};
		cpu1-3-lowf {
			cooling-maps {
				cx_vdd_cdev {
					cooling-device = <&pm8916_cx_cdev 0 0>;
				};
			};
		};
	};
};

&wcnss {