diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-12-23 13:42:55 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-12-24 18:49:44 +0100 |
commit | 67dcc43f3a22dc3a7ac07a7065971b426feeb043 (patch) | |
tree | 0b647356dce45d2c79fd46cf201daa5089cc0934 /target/linux/brcm2708/patches-4.19/950-0160-overlays-add-overrides-for-PoE-HAT-fan-control.patch | |
parent | 47a93a810f78adce5a130d287f82b28e9b54313c (diff) | |
download | upstream-67dcc43f3a22dc3a7ac07a7065971b426feeb043.tar.gz upstream-67dcc43f3a22dc3a7ac07a7065971b426feeb043.tar.bz2 upstream-67dcc43f3a22dc3a7ac07a7065971b426feeb043.zip |
brcm2708: organize kernel patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.19/950-0160-overlays-add-overrides-for-PoE-HAT-fan-control.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.19/950-0160-overlays-add-overrides-for-PoE-HAT-fan-control.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.19/950-0160-overlays-add-overrides-for-PoE-HAT-fan-control.patch b/target/linux/brcm2708/patches-4.19/950-0160-overlays-add-overrides-for-PoE-HAT-fan-control.patch new file mode 100644 index 0000000000..0ea76db503 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0160-overlays-add-overrides-for-PoE-HAT-fan-control.patch @@ -0,0 +1,50 @@ +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"; ++ }; ++ }; + }; |