Message ID | 20230916014928.2848737-1-festevam@gmail.com |
---|---|
State | New |
Headers | show |
Series | [v8,1/3] dt-bindings: thermal-zones: Document critical-action | expand |
diff --git a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml index 4f3acdc4dec0..d28f3fe1045d 100644 --- a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml +++ b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml @@ -48,6 +48,14 @@ properties: platform-data regarding temperature thresholds and the mitigation actions to take when the temperature crosses those thresholds. + critical-action: + $ref: /schemas/types.yaml#/definitions/string + description: + The action the OS should perform after the critical temperature is reached. + enum: + - shutdown + - reboot + patternProperties: "^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$": type: object