aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <[email protected]>2023-10-06 10:04:27 -0300
committerSebastian Reichel <[email protected]>2023-10-13 02:22:36 +0200
commit4ee17bd30788496a279ceaabc7ecaaf39f61cfc4 (patch)
treeb1aabf12bcb5ade79402a552939c3bbb6d91fbb4
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 <[email protected]> Signed-off-by: Francesco Dolcini <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
-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.