36 lines
974 B
Diff
36 lines
974 B
Diff
|
From 0f4651720db8cdc2944c140d3aa0966eea054db9 Mon Sep 17 00:00:00 2001
|
||
|
From: Ondrej Jirman <megi@xff.cz>
|
||
|
Date: Mon, 13 Mar 2023 06:02:46 +0100
|
||
|
Subject: [PATCH 197/464] 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 0e3101af4b56..7edd3be7e180 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
|
||
|
|