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

Commit 154233c8 authored by Amit Kucheria's avatar Amit Kucheria Committed by Andy Gross
Browse files

arm64: dts: msm8916: Add gpu thermal zone



Initialise the gpu thermal zone to export temperature to userspace.

Signed-off-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Acked-by: default avatarAndy Gross <andy.gross@linaro.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 2b4e5fc0
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -234,6 +234,26 @@
			};
		};

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

			thermal-sensors = <&tsens 2>;

			trips {
				gpu_alert: trip0 {
					temperature = <75000>;
					hysteresis = <2000>;
					type = "passive";
				};
				gpu_crit: trip1 {
					temperature = <95000>;
					hysteresis = <2000>;
					type = "critical";
				};
			};
		};

	};

	cpu_opp_table: cpu_opp_table {