summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/reset
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2023-10-06 10:04:27 -0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-10-13 02:22:36 +0200
commit4ee17bd30788496a279ceaabc7ecaaf39f61cfc4 (patch)
treeb1aabf12bcb5ade79402a552939c3bbb6d91fbb4 /Documentation/devicetree/bindings/power/reset
parentb16d9f49735f3d26e23f0ba4a2cf21668fc6b66b (diff)
dt-bindings: power: reset: gpio-poweroff: Add priority property
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>
Diffstat (limited to 'Documentation/devicetree/bindings/power/reset')
-rw-r--r--Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml b/Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml
index b54ec003a1e0..a4b437fce37c 100644
--- a/Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml
+++ b/Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml
@@ -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.