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

Commit a2239fe9 authored by Minghao Zhang's avatar Minghao Zhang
Browse files

ARM: dts: qcom: thermal zones definition for thermistors on Lahaina HHG

On Lahaina HHG quiet-therm-usr uses PM8350 AMUX2 channel, qtm-w-therm-usr
uses PM8350 AMUX4 channel and qtm-n-therm-usr uses PM8350 GPIO1 channel.
Meanwhile disable camera-therm-usr, rear-cam-therm-usr and tof-therm-usr
using these channels.

Change-Id: I4bf20074e2c4f8ef815667ff2e8c3e5574522e47
parent 57ff53a3
Loading
Loading
Loading
Loading
+57 −0
Original line number Diff line number Diff line
@@ -301,4 +301,61 @@
	gpu-skin-avg-step {
		disable-thermal-zone;
	};

	camera-therm-usr {
		disable-thermal-zone;
	};

	rear-cam-therm-usr {
		disable-thermal-zone;
	};

	tof-therm-usr {
		disable-thermal-zone;
	};

	quiet-therm-usr {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "user_space";
		thermal-sensors = <&pmk8350_adc_tm PM8350_ADC7_AMUX_THM2_100K_PU>;
		wake-capable-sensor;
		trips {
			active-config0 {
				temperature = <125000>;
				hysteresis = <1000>;
				type = "passive";
			};
		};
	};

	qtm-w-therm-usr {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "user_space";
		thermal-sensors = <&pmk8350_adc_tm PM8350_ADC7_AMUX_THM4_100K_PU>;
		wake-capable-sensor;
		trips {
			active-config0 {
				temperature = <125000>;
				hysteresis = <1000>;
				type = "passive";
			};
		};
	};

	qtm-n-therm-usr {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "user_space";
		thermal-sensors = <&pmk8350_adc_tm PM8350_ADC7_AMUX_THM5_100K_PU>;
		wake-capable-sensor;
		trips {
			active-config0 {
				temperature = <125000>;
				hysteresis = <1000>;
				type = "passive";
			};
		};
	};
};