[PATCH] arm64: dts: mt8183-kukui: Add trip points to each thermal zone
Hsin-Te Yuan
yuanhsinte at chromium.org
Thu Aug 8 02:09:25 PDT 2024
Add trip points to the tboard1 and tboard2 thermal zones to ensure they
are registered successfully.
Signed-off-by: Hsin-Te Yuan <yuanhsinte at chromium.org>
---
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
index 6345e969efae..1593ea14f81f 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
@@ -978,12 +978,38 @@ tboard1 {
polling-delay = <1000>; /* milliseconds */
polling-delay-passive = <0>; /* milliseconds */
thermal-sensors = <&tboard_thermistor1>;
+ trips {
+ tboard1_alert: trip-alert {
+ temperature = <85000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+
+ tboard1_crit: trip-crit {
+ temperature = <100000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
};
tboard2 {
polling-delay = <1000>; /* milliseconds */
polling-delay-passive = <0>; /* milliseconds */
thermal-sensors = <&tboard_thermistor2>;
+ trips {
+ tboard2_alert: trip-alert {
+ temperature = <85000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+
+ tboard2_crit: trip-crit {
+ temperature = <100000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
};
};
---
base-commit: 21b136cc63d2a9ddd60d4699552b69c214b32964
change-id: 20240801-kukui_trip-6625c0a54c50
Best regards,
--
Hsin-Te Yuan <yuanhsinte at chromium.org>
More information about the linux-arm-kernel
mailing list