From: Fabio Estevam <festevam@xxxxxxx> Document the possible values for the 'critical-action' property to make it more readable in the devicetree. Signed-off-by: Fabio Estevam <festevam@xxxxxxx> --- include/dt-bindings/thermal/thermal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/thermal/thermal.h b/include/dt-bindings/thermal/thermal.h index bc7babb1a67c..f433b6b0ffb7 100644 --- a/include/dt-bindings/thermal/thermal.h +++ b/include/dt-bindings/thermal/thermal.h @@ -12,5 +12,9 @@ /* On cooling devices upper and lower limits */ #define THERMAL_NO_LIMIT (~0) +/* Possible values for the 'critical-action' property */ +#define THERMAL_CRITICAL_ACTION_SHUTDOWN 0 +#define THERMAL_CRITICAL_ACTION_REBOOT 1 + #endif -- 2.34.1