Skip to content

Commit 4ee17bd

Browse files
eichenbergersre
authored andcommitted
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>
1 parent b16d9f4 commit 4ee17bd

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ description: >
1818
Finally the operating system assumes the power off failed if
1919
the system is still running after waiting some time (timeout-ms).
2020
21+
allOf:
22+
- $ref: restart-handler.yaml#
23+
2124
properties:
2225
compatible:
2326
const: gpio-poweroff
@@ -40,6 +43,9 @@ properties:
4043
default: 100
4144
description: Delay to wait after driving gpio inactive
4245

46+
priority:
47+
default: 0
48+
4349
timeout-ms:
4450
default: 3000
4551
description: Time to wait before assuming the power off sequence failed.

0 commit comments

Comments
 (0)