diff --git a/patch/kernel/archive/sunxi-6.1/patches.megous/ARM-dts-sun8i-a83t-Add-missing-GPU-trip-point.patch b/patch/kernel/archive/sunxi-6.1/patches.megous/ARM-dts-sun8i-a83t-Add-missing-GPU-trip-point.patch new file mode 100644 index 000000000000..cba342a5c189 --- /dev/null +++ b/patch/kernel/archive/sunxi-6.1/patches.megous/ARM-dts-sun8i-a83t-Add-missing-GPU-trip-point.patch @@ -0,0 +1,35 @@ +From ff6f100b72e096027dbcfd78c4aa8dce00400a71 Mon Sep 17 00:00:00 2001 +From: Ondrej Jirman +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 +--- + 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 + diff --git a/patch/kernel/archive/sunxi-6.1/series.conf b/patch/kernel/archive/sunxi-6.1/series.conf index 17e68e29f5dc..57ec9987df39 100644 --- a/patch/kernel/archive/sunxi-6.1/series.conf +++ b/patch/kernel/archive/sunxi-6.1/series.conf @@ -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 ################### # diff --git a/patch/kernel/archive/sunxi-6.1/series.megous b/patch/kernel/archive/sunxi-6.1/series.megous index dbeb5542db22..24a0abdc77ea 100644 --- a/patch/kernel/archive/sunxi-6.1/series.megous +++ b/patch/kernel/archive/sunxi-6.1/series.megous @@ -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