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

Commit a6916b16 authored by pxiao's avatar pxiao
Browse files

ARM: dts: qcom: Update fan cooling thermal config for HHG

Update venus sensor thermal config threshold to enable fan
cooling work as per latest recommendation.

Change-Id: I6734ad190b07f2ce5fad2fa2aa77b1db43353a3f
parent c918c8a0
Loading
Loading
Loading
Loading
+34 −2
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@

			fan_cpu16_config2: fan-cpu16-config2 {
				temperature = <95000>;
				hysteresis = <0>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
@@ -172,7 +172,7 @@

			fan_cpu17_config2: fan-cpu17-config2 {
				temperature = <95000>;
				hysteresis = <0>;
				hysteresis = <5000>;
				type = "passive";
			};
		};
@@ -273,6 +273,38 @@
		};
	};

	video-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&tsens1 6>;
		trips {
			fan_video_config0: fan-video-config0 {
				temperature = <50000>;
				hysteresis = <2000>;
				type = "passive";
			};

			fan_video_config1: fan-video-config1 {
				temperature = <60000>;
				hysteresis = <2000>;
				type = "passive";
			};
		};

		cooling-maps {
			fan_cdev_0 {
				trip = <&fan_video_config0>;
				cooling-device = <&fancontroller 1 1>;
			};

			fan_cdev_1 {
				trip = <&fan_video_config1>;
				cooling-device = <&fancontroller 2 2>;
			};
		};
	};

	gpu-skin-avg-step {
		disable-thermal-zone;
	};