mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
7d7aa2fd92
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
68 lines
1.6 KiB
Diff
68 lines
1.6 KiB
Diff
From 018b90a28a06e351dc67db043e9889eeed33120c Mon Sep 17 00:00:00 2001
|
|
From: Serge Schneider <serge@raspberrypi.org>
|
|
Date: Wed, 26 Sep 2018 19:44:59 +0100
|
|
Subject: [PATCH] hwmon: adjust rpi-poe-fan overlay trip points
|
|
|
|
Signed-off-by: Serge Schneider <serge@raspberrypi.org>
|
|
---
|
|
.../arm/boot/dts/overlays/rpi-poe-overlay.dts | 26 +++++++------------
|
|
1 file changed, 9 insertions(+), 17 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
|
|
@@ -14,9 +14,9 @@
|
|
compatible = "raspberrypi,rpi-poe-fan";
|
|
firmware = <&firmware>;
|
|
cooling-min-state = <0>;
|
|
- cooling-max-state = <3>;
|
|
+ cooling-max-state = <2>;
|
|
#cooling-cells = <2>;
|
|
- cooling-levels = <0 50 150 255>;
|
|
+ cooling-levels = <0 150 255>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
@@ -26,35 +26,27 @@
|
|
target = <&cpu_thermal>;
|
|
__overlay__ {
|
|
trips {
|
|
- threshold: trip-point@0 {
|
|
- temperature = <45000>;
|
|
- hysteresis = <5000>;
|
|
- type = "active";
|
|
- };
|
|
- target: trip-point@1 {
|
|
+ trip0: trip0 {
|
|
temperature = <50000>;
|
|
- hysteresis = <2000>;
|
|
+ hysteresis = <5000>;
|
|
type = "active";
|
|
};
|
|
- cpu_hot: cpu_hot@0 {
|
|
+ trip1: trip1 {
|
|
+
|
|
temperature = <55000>;
|
|
- hysteresis = <2000>;
|
|
+ hysteresis = <5000>;
|
|
type = "active";
|
|
};
|
|
};
|
|
cooling-maps {
|
|
map0 {
|
|
- trip = <&threshold>;
|
|
+ trip = <&trip0>;
|
|
cooling-device = <&fan0 0 1>;
|
|
};
|
|
map1 {
|
|
- trip = <&target>;
|
|
+ trip = <&trip1>;
|
|
cooling-device = <&fan0 1 2>;
|
|
};
|
|
- map2 {
|
|
- trip = <&cpu_hot>;
|
|
- cooling-device = <&fan0 2 3>;
|
|
- };
|
|
};
|
|
};
|
|
};
|