dt-bindings: power: reset: gpio-poweroff: Add priority property
authorStefan Eichenberger <stefan.eichenberger@toradex.com>
Fri, 6 Oct 2023 13:04:27 +0000 (10:04 -0300)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 13 Oct 2023 00:22:36 +0000 (02:22 +0200)
Add the priority property to the gpio-poweroff bindings description.

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231006130428.11259-4-francesco@dolcini.it
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml

index b54ec003a1e033f827ba3ff1e173e4adc7f81419..a4b437fce37cf439a18c980604c2d4cece92681f 100644 (file)
@@ -18,6 +18,9 @@ description: >
   Finally the operating system assumes the power off failed if
   the system is still running after waiting some time (timeout-ms).
 
+allOf:
+  - $ref: restart-handler.yaml#
+
 properties:
   compatible:
     const: gpio-poweroff
@@ -40,6 +43,9 @@ properties:
     default: 100
     description: Delay to wait after driving gpio inactive
 
+  priority:
+    default: 0
+
   timeout-ms:
     default: 3000
     description: Time to wait before assuming the power off sequence failed.