mediatek: fix version tag in thermal patches
[openwrt/staging/stintel.git] / target / linux / mediatek / patches-6.1 / 022-arm64-dts-mt7986-change-thermal-trips-on-BPI-R3.patch
1 From 6ddf23526955b8dbedfeaa57e691261fd73f9d4e Mon Sep 17 00:00:00 2001
2 From: Frank Wunderlich <frank-w@public-files.de>
3 Date: Sun, 20 Aug 2023 17:31:35 +0200
4 Subject: [PATCH 22/22] arm64: dts: mt7986: change thermal trips on BPI-R3
5
6 Apply new naming after mt7986 thermal trips were changed.
7
8 Fixes: c26f779a2295 ("arm64: dts: mt7986: add pwm-fan and cooling-maps to BPI-R3 dts")
9 Suggested-by: Daniel Golle <daniel@makrotopia.org>
10 Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
11 ---
12 .../boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 10 +++++-----
13 1 file changed, 5 insertions(+), 5 deletions(-)
14
15 --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
16 +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
17 @@ -152,16 +152,16 @@
18 trip = <&cpu_trip_active_high>;
19 };
20
21 - cpu-active-low {
22 + cpu-active-med {
23 /* active: set fan to cooling level 1 */
24 cooling-device = <&fan 1 1>;
25 - trip = <&cpu_trip_active_low>;
26 + trip = <&cpu_trip_active_med>;
27 };
28
29 - cpu-passive {
30 - /* passive: set fan to cooling level 0 */
31 + cpu-active-low {
32 + /* active: set fan to cooling level 0 */
33 cooling-device = <&fan 0 0>;
34 - trip = <&cpu_trip_passive>;
35 + trip = <&cpu_trip_active_low>;
36 };
37 };
38 };