arm64: dts: qcom: sm8650: harmonize all unregulated thermal trip points

While the CPUs thermal is handled by the LMH, and GPU has a passive
cooldowm via the HLOS DCVS, all the other thermal blocks only have
hot and critical and no passive/active trip points.

Passive or active thermal management for those blocks should
be either defined if somehow we can express those in DT or
in the board definition if there's an active cooling device
available.

The tsens MAX_THRESHOLD is set to 120C on those platforms, so set
the hot to 110C to leave a chance to HLOS to react and critical to
115C to avoid the monitor thermal shutdown.

In the case a passive or active cooling device would be
available, the downstream reference implementation uses
the 95C "tj" trip point, as we already use for the
gpuss thermal blocks.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250203-topic-sm8650-thermal-cpu-idle-v4-3-65e35f307301@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Neil Armstrong
2025-02-03 14:23:19 +01:00
committed by Bjorn Andersson
parent 2250f65b32
commit c516beb248

View File

@@ -6786,14 +6786,14 @@ aoss0-thermal {
thermal-sensors = <&tsens0 0>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
aoss0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
aoss0-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -6804,14 +6804,14 @@ cpuss0-thermal {
thermal-sensors = <&tsens0 1>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
cpuss0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
cpuss0-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -6822,14 +6822,14 @@ cpuss1-thermal {
thermal-sensors = <&tsens0 2>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
cpuss1-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
cpuss1-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -6840,14 +6840,14 @@ cpuss2-thermal {
thermal-sensors = <&tsens0 3>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
cpuss2-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
cpuss2-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -6858,14 +6858,14 @@ cpuss3-thermal {
thermal-sensors = <&tsens0 4>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
cpuss3-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
cpuss3-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -6996,14 +6996,14 @@ aoss1-thermal {
thermal-sensors = <&tsens1 0>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
aoss1-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
aoss1-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7076,14 +7076,14 @@ nsphvx0-thermal {
thermal-sensors = <&tsens2 6>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
nsphvx0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
nsphvx1-critical {
temperature = <110000>;
nsphvx0-critical {
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7096,14 +7096,14 @@ nsphvx1-thermal {
thermal-sensors = <&tsens2 7>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
nsphvx1-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
nsphvx1-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7116,14 +7116,14 @@ nsphmx0-thermal {
thermal-sensors = <&tsens2 8>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
nsphmx0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
nsphmx0-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7136,14 +7136,14 @@ nsphmx1-thermal {
thermal-sensors = <&tsens2 9>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
nsphmx1-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
nsphmx1-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7156,14 +7156,14 @@ nsphmx2-thermal {
thermal-sensors = <&tsens2 10>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
nsphmx2-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
nsphmx2-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7176,14 +7176,14 @@ nsphmx3-thermal {
thermal-sensors = <&tsens2 11>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
nsphmx3-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
nsphmx3-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7196,14 +7196,14 @@ video-thermal {
thermal-sensors = <&tsens1 12>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
video-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
video-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7216,14 +7216,14 @@ ddr-thermal {
thermal-sensors = <&tsens1 13>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
ddr-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
ddr-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7234,14 +7234,14 @@ camera0-thermal {
thermal-sensors = <&tsens1 14>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
camera0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
camera0-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7252,14 +7252,14 @@ camera1-thermal {
thermal-sensors = <&tsens1 15>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
camera1-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
camera1-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7270,14 +7270,14 @@ aoss2-thermal {
thermal-sensors = <&tsens2 0>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
aoss2-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
aoss2-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7552,14 +7552,14 @@ modem0-thermal {
thermal-sensors = <&tsens2 9>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
modem0-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
modem0-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7570,14 +7570,14 @@ modem1-thermal {
thermal-sensors = <&tsens2 10>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
modem1-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
modem1-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7588,14 +7588,14 @@ modem2-thermal {
thermal-sensors = <&tsens2 11>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
modem2-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
modem2-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};
@@ -7606,14 +7606,14 @@ modem3-thermal {
thermal-sensors = <&tsens2 12>;
trips {
trip-point0 {
temperature = <90000>;
hysteresis = <2000>;
modem3-hot {
temperature = <110000>;
hysteresis = <1000>;
type = "hot";
};
modem3-critical {
temperature = <110000>;
temperature = <115000>;
hysteresis = <0>;
type = "critical";
};