Skip to content

Commit d7544cb

Browse files
palisre
authored andcommitted
dt-bindings: reset: syscon-reboot: Add priority property
This new optional priority property allows to specify custom priority level of reset device. Prior this change priority level was hardcoded to 192 and not possible to specify or change. Specifying other value is needed for some boards. Default level when not specified stays at 192 as before. Signed-off-by: Pali Rohár <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> [add $ref to existing allOf to fix duplication warning] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 6adaa9a commit d7544cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,17 @@ properties:
4242
$ref: /schemas/types.yaml#/definitions/uint32
4343
description: The reset value written to the reboot register (32 bit access).
4444

45+
priority:
46+
default: 192
47+
4548
required:
4649
- compatible
4750
- offset
4851

4952
additionalProperties: false
5053

5154
allOf:
55+
- $ref: restart-handler.yaml#
5256
- if:
5357
not:
5458
required:

0 commit comments

Comments
 (0)