openwrt/target/linux/bcm27xx/patches-5.10/950-0737-overlays-rpi-poe-plus-Improve-the-cooling-levels.patch
Álvaro Fernández Rojas 8299d1f057 bcm27xx: add kernel 5.10 support
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted
patches, wireless patches and defconfig patches.

bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 4B v1.1 4G
bcm2711: boot tested on RPi 4B v1.1 4G

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-08-21 19:07:07 +02:00

30 lines
894 B
Diff

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>;
+};