1 From b78f87940a79321a444083aca46ac3e8e53d1a90 Mon Sep 17 00:00:00 2001
2 From: Alexey Charkov <alchark@gmail.com>
3 Date: Mon, 17 Jun 2024 22:28:53 +0400
4 Subject: [PATCH] arm64: dts: rockchip: add passive GPU cooling on RK3588
6 As the GPU support on RK3588 has been merged upstream, along with OPP
7 values, add a corresponding cooling map for passive cooling using the GPU.
9 Signed-off-by: Alexey Charkov <alchark@gmail.com>
10 Link: https://lore.kernel.org/r/20240617-rk-dts-additions-v5-3-c1f5f3267f1e@gmail.com
11 Signed-off-by: Heiko Stuebner <heiko@sntech.de>
13 arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 16 +++++++++++++++-
14 1 file changed, 15 insertions(+), 1 deletion(-)
16 --- a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
17 +++ b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
18 @@ -2493,17 +2493,31 @@
21 gpu_thermal: gpu-thermal {
22 - polling-delay-passive = <0>;
23 + polling-delay-passive = <100>;
25 thermal-sensors = <&tsadc 5>;
28 + gpu_alert: gpu-alert {
29 + temperature = <85000>;
30 + hysteresis = <2000>;
35 temperature = <115000>;
43 + trip = <&gpu_alert>;
45 + <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
50 npu_thermal: npu-thermal {