summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
diff options
context:
space:
mode:
authorFrank Wunderlich <frank-w@public-files.de>2023-10-25 19:08:30 +0200
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2023-11-29 10:37:52 +0100
commit1fcda8ceb014aafd56f10b33e0077c93b5dd45d1 (patch)
tree6ed7bda6cb95f8fd0ce2a72cff8e1ac26fbd6802 /arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
parent6413cbc17f89b3a160f3a6f3fad1232b1678fe40 (diff)
arm64: dts: mt7986: change cooling trips
Add Critical and hot trips for emergency system shutdown and limiting system load. Change passive trip to active to make sure fan is activated on the lowest trip. Cc: stable@vger.kernel.org Fixes: 1f5be05132f3 ("arm64: dts: mt7986: add thermal-zones") Fixes: c26f779a2295 ("arm64: dts: mt7986: add pwm-fan and cooling-maps to BPI-R3 dts") Suggested-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20231025170832.78727-4-linux@fw-web.de Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Diffstat (limited to 'arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts')
-rw-r--r--arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
index f9702284607a..b876e501216b 100644
--- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
@@ -152,16 +152,16 @@
trip = <&cpu_trip_active_high>;
};
- cpu-active-low {
+ cpu-active-med {
/* active: set fan to cooling level 1 */
cooling-device = <&fan 1 1>;
- trip = <&cpu_trip_active_low>;
+ trip = <&cpu_trip_active_med>;
};
- cpu-passive {
- /* passive: set fan to cooling level 0 */
+ cpu-active-low {
+ /* active: set fan to cooling level 0 */
cooling-device = <&fan 0 0>;
- trip = <&cpu_trip_passive>;
+ trip = <&cpu_trip_active_low>;
};
};
};