summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/thermal/thermal-zones.yaml
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2024-01-22 11:28:03 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-01-22 11:28:03 +0100
commitf77738a71945f4fc0441627e59484a0999fae2d5 (patch)
tree8832e7668ca2ea1ac849042e2bd9db0fa7923974 /dts/Bindings/thermal/thermal-zones.yaml
parentfb6d5f696388c8bbc4bd16a7b223fca02330e111 (diff)
downloadbarebox-f77738a71945f4fc0441627e59484a0999fae2d5.tar.gz
barebox-f77738a71945f4fc0441627e59484a0999fae2d5.tar.xz
dts: update to v6.8-rc1
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/thermal/thermal-zones.yaml')
-rw-r--r--dts/Bindings/thermal/thermal-zones.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/dts/Bindings/thermal/thermal-zones.yaml b/dts/Bindings/thermal/thermal-zones.yaml
index 4a8dabc481..dbd52620d2 100644
--- a/dts/Bindings/thermal/thermal-zones.yaml
+++ b/dts/Bindings/thermal/thermal-zones.yaml
@@ -75,6 +75,22 @@ patternProperties:
framework and assumes that the thermal sensors in this zone
support interrupts.
+ critical-action:
+ $ref: /schemas/types.yaml#/definitions/string
+ description: |
+ The action the OS should perform after the critical temperature is reached.
+ By default the system will shutdown as a safe action to prevent damage
+ to the hardware, if the property is not set.
+ The shutdown action should be always the default and preferred one.
+ Choose 'reboot' with care, as the hardware may be in thermal stress,
+ thus leading to infinite reboots that may cause damage to the hardware.
+ Make sure the firmware/bootloader will act as the last resort and take
+ over the thermal control.
+
+ enum:
+ - shutdown
+ - reboot
+
thermal-sensors:
$ref: /schemas/types.yaml#/definitions/phandle-array
maxItems: 1