aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.10/950-0737-overlays-rpi-poe-plus-Improve-the-cooling-levels.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-5.10/950-0737-overlays-rpi-poe-plus-Improve-the-cooling-levels.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.10/950-0737-overlays-rpi-poe-plus-Improve-the-cooling-levels.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.10/950-0737-overlays-rpi-poe-plus-Improve-the-cooling-levels.patch b/target/linux/bcm27xx/patches-5.10/950-0737-overlays-rpi-poe-plus-Improve-the-cooling-levels.patch
new file mode 100644
index 0000000000..76998f71b7
--- /dev/null
+++ b/target/linux/bcm27xx/patches-5.10/950-0737-overlays-rpi-poe-plus-Improve-the-cooling-levels.patch
@@ -0,0 +1,29 @@
+From 2a30b8254d34a2656d798931f46af157afd152c0 Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.com>
+Date: Wed, 18 Aug 2021 17:26:49 +0100
+Subject: [PATCH] overlays: rpi-poe-plus: Improve the cooling levels
+
+The PoE HAT cooling levels are not well suited for the PoE+ HAT - the
+fan fails to come on until the temperature reaches the third trip point
+(50C).
+
+Give the rpi-poe-plus overlay a different set of cooling levels -
+0 32 64 128 255, as suggested by @chris-kai-in.
+
+See: https://github.com/raspberrypi/firmware/issues/1607
+
+Signed-off-by: Phil Elwell <phil@raspberrypi.com>
+---
+ arch/arm/boot/dts/overlays/rpi-poe-plus-overlay.dts | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/arch/arm/boot/dts/overlays/rpi-poe-plus-overlay.dts
++++ b/arch/arm/boot/dts/overlays/rpi-poe-plus-overlay.dts
+@@ -17,3 +17,7 @@
+ };
+ };
+ };
++
++&fan0 {
++ cooling-levels = <0 32 64 128 255>;
++};