meson64: edge/6.2: arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip
This commit is contained in:
parent
27d6592580
commit
0f9e3f7578
@ -0,0 +1,42 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Neil Armstrong <neil.armstrong@linaro.org>
|
||||
Date: Tue, 24 Jan 2023 12:39:08 +0100
|
||||
Subject: arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal
|
||||
trip
|
||||
|
||||
Add an active trip tied to the on-board fan cooling device, which is better
|
||||
than describing it along the passive cooling maps.
|
||||
|
||||
Fixes: 33b14f663df8 ("arm64: dts: meson: add initial device-tree for ODROID-HC4")
|
||||
Reported-by: Ricardo Pardini <ricardo@pardini.net>
|
||||
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
|
||||
---
|
||||
arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts | 10 +++++++++-
|
||||
1 file changed, 9 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts
|
||||
index 7fd4aac142af..9b3d3e7930d1 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts
|
||||
@@ -80,9 +80,17 @@ sound {
|
||||
};
|
||||
|
||||
&cpu_thermal {
|
||||
+ trips {
|
||||
+ cpu_active: cpu-active {
|
||||
+ temperature = <60000>; /* millicelsius */
|
||||
+ hysteresis = <2000>; /* millicelsius */
|
||||
+ type = "active";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
cooling-maps {
|
||||
map {
|
||||
- trip = <&cpu_passive>;
|
||||
+ trip = <&cpu_active>;
|
||||
cooling-device = <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
--
|
||||
Armbian
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user