36 lines
974 B
Diff
36 lines
974 B
Diff
From 9a1a4de7a7076e3b5802310c14f50f93aed5225a Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megi@xff.cz>
|
|
Date: Mon, 13 Mar 2023 06:02:46 +0100
|
|
Subject: [PATCH 191/469] arm64: dts: sun50i-h5: Add missing GPU trip point
|
|
|
|
Without this, thermal sensor driver fails to probe.
|
|
|
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
|
---
|
|
arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
|
|
index 2159fa336d75..3b2bd698e9c1 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
|
|
@@ -227,6 +227,15 @@ gpu-thermal {
|
|
polling-delay-passive = <0>;
|
|
polling-delay = <0>;
|
|
thermal-sensors = <&ths 1>;
|
|
+
|
|
+ trips {
|
|
+ gpu_crit: gpu-crit {
|
|
+ /* milliCelsius */
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <2000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
};
|
|
};
|
|
--
|
|
2.34.1
|
|
|