Andrew Geissler | ea144b0 | 2023-01-27 16:03:57 -0600 | [diff] [blame^] | 1 | From c4a7b9b587ca1bb4678d48d8be7132492b23a81c Mon Sep 17 00:00:00 2001 |
| 2 | From: Cristian Marussi <cristian.marussi@arm.com> |
| 3 | Date: Fri, 28 Oct 2022 15:08:33 +0100 |
| 4 | Subject: [PATCH] arm64: dts: juno: Add thermal critical trip points |
| 5 | |
| 6 | When thermnal zones are defined, trip points definitions are mandatory. |
| 7 | Define a couple of critical trip points for monitoring of existing |
| 8 | PMIC and SOC thermal zones. |
| 9 | |
| 10 | This was lost between txt to yaml conversion and was re-enforced recently |
| 11 | via the commit 8c596324232d ("dt-bindings: thermal: Fix missing required property") |
| 12 | |
| 13 | Cc: Rob Herring <robh+dt@kernel.org> |
| 14 | Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> |
| 15 | Cc: devicetree@vger.kernel.org |
| 16 | Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> |
| 17 | Fixes: f7b636a8d83c ("arm64: dts: juno: add thermal zones for scpi sensors") |
| 18 | Link: https://lore.kernel.org/r/20221028140833.280091-8-cristian.marussi@arm.com |
| 19 | Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> |
| 20 | |
| 21 | Signed-off-by: Jon Mason <jon.mason@arm.com> |
| 22 | Upstream-Status: Backport |
| 23 | --- |
| 24 | arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++++++++ |
| 25 | 1 file changed, 14 insertions(+) |
| 26 | |
| 27 | diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi |
| 28 | index 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 | -- |
| 59 | 2.30.2 |
| 60 | |