mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
7441c2bef6
Refresh patches for Linux 6.1 which no longer apply cleanly after
adding ipq4019 MDIO MDC rate fix pending patches.
Fixes: 53f338be43
("generic: 6.1: add pending patch for ipq4019 MDIO MDC rate fix")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
200 lines
3.7 KiB
Diff
200 lines
3.7 KiB
Diff
From 56d3067cb694ba60d654e7f5ef231b6fabc4697f Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robimarko@gmail.com>
|
|
Date: Wed, 7 Jun 2023 20:44:48 +0200
|
|
Subject: [PATCH] arm64: dts: qcom: ipq8074: add critical thermal trips
|
|
|
|
According to bindings, thermal zones must have associated trips as well.
|
|
Since we currently dont have CPUFreq support and thus no passive cooling
|
|
lets start by defining critical trips to protect the devices against
|
|
severe overheating.
|
|
|
|
Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
|
Link: https://lore.kernel.org/r/20230607184448.2512179-1-robimarko@gmail.com
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 96 +++++++++++++++++++++++++++
|
|
1 file changed, 96 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
@@ -898,6 +898,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 4>;
|
|
+
|
|
+ trips {
|
|
+ nss-top-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
nss0-thermal {
|
|
@@ -905,6 +913,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 5>;
|
|
+
|
|
+ trips {
|
|
+ nss-0-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
nss1-thermal {
|
|
@@ -912,6 +928,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 6>;
|
|
+
|
|
+ trips {
|
|
+ nss-1-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
wcss-phya0-thermal {
|
|
@@ -919,6 +943,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 7>;
|
|
+
|
|
+ trips {
|
|
+ wcss-phya0-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
wcss-phya1-thermal {
|
|
@@ -926,6 +958,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 8>;
|
|
+
|
|
+ trips {
|
|
+ wcss-phya1-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
cpu0_thermal: cpu0-thermal {
|
|
@@ -933,6 +973,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 9>;
|
|
+
|
|
+ trips {
|
|
+ cpu0-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
cpu1_thermal: cpu1-thermal {
|
|
@@ -940,6 +988,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 10>;
|
|
+
|
|
+ trips {
|
|
+ cpu1-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
cpu2_thermal: cpu2-thermal {
|
|
@@ -947,6 +1003,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 11>;
|
|
+
|
|
+ trips {
|
|
+ cpu2-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
cpu3_thermal: cpu3-thermal {
|
|
@@ -954,6 +1018,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 12>;
|
|
+
|
|
+ trips {
|
|
+ cpu3-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
cluster_thermal: cluster-thermal {
|
|
@@ -961,6 +1033,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 13>;
|
|
+
|
|
+ trips {
|
|
+ cluster-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
wcss-phyb0-thermal {
|
|
@@ -968,6 +1048,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 14>;
|
|
+
|
|
+ trips {
|
|
+ wcss-phyb0-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
wcss-phyb1-thermal {
|
|
@@ -975,6 +1063,14 @@
|
|
polling-delay = <1000>;
|
|
|
|
thermal-sensors = <&tsens 15>;
|
|
+
|
|
+ trips {
|
|
+ wcss-phyb1-crit {
|
|
+ temperature = <110000>;
|
|
+ hysteresis = <1000>;
|
|
+ type = "critical";
|
|
+ };
|
|
+ };
|
|
};
|
|
};
|
|
};
|