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

Commit b8a3da42 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: enable thermal zone rule for case_therm ADC for pm8953



Add thermal_zones entries for case_therm ADC channel for pm8953 so
that thermal clients can use this ADC sensor for thermal mitigation.

Change-Id: Ibde01beb519116a5f0bd40a75a7042eccda0c1ba
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 585ef211
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -253,6 +253,21 @@
		};
	};

	case-therm-adc {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-sensors = <&pm8953_vadc 0x13>;
		thermal-governor = "user_space";

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

	gpu1-step {
		polling-delay-passive = <250>;
		polling-delay = <0>;
+1 −0
Original line number Diff line number Diff line
@@ -231,6 +231,7 @@
				qcom,scale-function = <2>;
				qcom,hw-settle-time = <2>;
				qcom,fast-avg-setup = <0>;
				qcom,vadc-thermal-node;
			};
		};