blob: 1c0f25eba1d143b6c94064e36e2f05bec5df4b84 [file] [log] [blame]
Andrew Geisslerea144b02023-01-27 16:03:57 -06001From c4a7b9b587ca1bb4678d48d8be7132492b23a81c Mon Sep 17 00:00:00 2001
2From: Cristian Marussi <cristian.marussi@arm.com>
3Date: Fri, 28 Oct 2022 15:08:33 +0100
4Subject: [PATCH] arm64: dts: juno: Add thermal critical trip points
5
6When thermnal zones are defined, trip points definitions are mandatory.
7Define a couple of critical trip points for monitoring of existing
8PMIC and SOC thermal zones.
9
10This was lost between txt to yaml conversion and was re-enforced recently
11via the commit 8c596324232d ("dt-bindings: thermal: Fix missing required property")
12
13Cc: Rob Herring <robh+dt@kernel.org>
14Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
15Cc: devicetree@vger.kernel.org
16Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
17Fixes: f7b636a8d83c ("arm64: dts: juno: add thermal zones for scpi sensors")
18Link: https://lore.kernel.org/r/20221028140833.280091-8-cristian.marussi@arm.com
19Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
20
21Signed-off-by: Jon Mason <jon.mason@arm.com>
22Upstream-Status: Backport
23---
24 arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++++++++
25 1 file changed, 14 insertions(+)
26
27diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
28index 2f27619d8abd..8b4d280b1e7e 100644
29--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
30+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
31@@ -751,12 +751,26 @@ pmic {
32 polling-delay = <1000>;
33 polling-delay-passive = <100>;
34 thermal-sensors = <&scpi_sensors0 0>;
35+ trips {
36+ pmic_crit0: trip0 {
37+ temperature = <90000>;
38+ hysteresis = <2000>;
39+ type = "critical";
40+ };
41+ };
42 };
43
44 soc {
45 polling-delay = <1000>;
46 polling-delay-passive = <100>;
47 thermal-sensors = <&scpi_sensors0 3>;
48+ trips {
49+ soc_crit0: trip0 {
50+ temperature = <80000>;
51+ hysteresis = <2000>;
52+ type = "critical";
53+ };
54+ };
55 };
56
57 big_cluster_thermal_zone: big-cluster {
58--
592.30.2
60