mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +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>
51 lines
1.7 KiB
Diff
51 lines
1.7 KiB
Diff
From a6593a1bc8708f73c424c05c64d49d3868e1bdd5 Mon Sep 17 00:00:00 2001
|
|
From: Serge Schneider <serge@raspberrypi.org>
|
|
Date: Tue, 2 Oct 2018 17:13:48 +0100
|
|
Subject: [PATCH] overlays: add overrides for PoE HAT fan control
|
|
|
|
Signed-off-by: Serge Schneider <serge@raspberrypi.org>
|
|
---
|
|
arch/arm/boot/dts/overlays/README | 13 ++++++++++---
|
|
arch/arm/boot/dts/overlays/rpi-poe-overlay.dts | 10 ++++++++++
|
|
2 files changed, 20 insertions(+), 3 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -1565,9 +1565,16 @@ Params: touchscreen-size-x Touchscr
|
|
|
|
|
|
Name: rpi-poe
|
|
-Info: Raspberry Pi POE HAT
|
|
-Load: dtoverlay=rpi-poe
|
|
-Params: <None>
|
|
+Info: Raspberry Pi PoE HAT fan
|
|
+Load: dtoverlay=rpi-poe,<param>[=<val>]
|
|
+Params: poe_fan_temp0 Temperature (in millicelcius) at which the fan
|
|
+ turns on (default 50000)
|
|
+ poe_fan_temp0_hyst Temperature delta (in millicelcius) at which
|
|
+ the fan turns off (default 5000)
|
|
+ poe_fan_temp1 Temperature (in millicelcius) at which the fan
|
|
+ speeds up (default 55000)
|
|
+ poe_fan_temp1_hyst Temperature delta (in millicelcius) at which
|
|
+ the fan slows down (default 5000)
|
|
|
|
|
|
Name: rpi-proto
|
|
--- a/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
|
|
@@ -50,4 +50,14 @@
|
|
};
|
|
};
|
|
};
|
|
+
|
|
+ fragment@2 {
|
|
+ target-path = "/__overrides__";
|
|
+ __overlay__ {
|
|
+ poe_fan_temp0 = <&trip0>,"temperature:0";
|
|
+ poe_fan_temp0_hyst = <&trip0>,"hysteresis:0";
|
|
+ poe_fan_temp1 = <&trip1>,"temperature:0";
|
|
+ poe_fan_temp1_hyst = <&trip1>,"hysteresis:0";
|
|
+ };
|
|
+ };
|
|
};
|