Skip to content

Commit

Permalink
sunxi-6.1: Add missing GPU trip point
Browse files Browse the repository at this point in the history
  • Loading branch information
The-going authored and igorpecovnik committed Jul 9, 2024
1 parent 11d11cf commit 7a054c6
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
From ff6f100b72e096027dbcfd78c4aa8dce00400a71 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <[email protected]>
Date: Mon, 13 Mar 2023 06:02:27 +0100
Subject: [PATCH] ARM: dts: sun8i-a83t: Add missing GPU trip point

Without this, thermal sensor driver fails to probe.

Signed-off-by: Ondrej Jirman <[email protected]>
---
arch/arm/boot/dts/sun8i-a83t.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi
index 4e36bf198..399561321 100644
--- a/arch/arm/boot/dts/sun8i-a83t.dtsi
+++ b/arch/arm/boot/dts/sun8i-a83t.dtsi
@@ -1290,6 +1290,15 @@ gpu_thermal: gpu-thermal {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&ths 2>;
+
+ trips {
+ gpu_crit: gpu-crit {
+ /* milliCelsius */
+ temperature = <100000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
};
};
};
--
2.35.3

1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-6.1/series.conf
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@
patches.megous/ASoC-codec-rt5640-Resolve-failure-to-set-DMIC-clock-after-playb.patch
patches.megous/media-ov5640-Fix-sensor-probe-with-the-anti-click-patch.patch
- patches.megous/arm64-dts-rockchip-rk3399-pinebook-pro-Fix-VDO-display-output.patch
patches.megous/ARM-dts-sun8i-a83t-Add-missing-GPU-trip-point.patch

########### Fixes applied after megous patches ###################
#
Expand Down
1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-6.1/series.megous
Original file line number Diff line number Diff line change
Expand Up @@ -393,3 +393,4 @@
patches.megous/ASoC-codec-rt5640-Resolve-failure-to-set-DMIC-clock-after-playb.patch
patches.megous/media-ov5640-Fix-sensor-probe-with-the-anti-click-patch.patch
- patches.megous/arm64-dts-rockchip-rk3399-pinebook-pro-Fix-VDO-display-output.patch
patches.megous/ARM-dts-sun8i-a83t-Add-missing-GPU-trip-point.patch

0 comments on commit 7a054c6

Please sign in to comment.