Skip to content

Commit

Permalink
dt-bindings: reset: syscon-reboot: Add priority property
Browse files Browse the repository at this point in the history
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 <pali@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
[add $ref to existing allOf to fix duplication warning]
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
  • Loading branch information
Pali Rohár authored and Sebastian Reichel committed Feb 3, 2023
1 parent 6adaa9a commit d7544cb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,17 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32
description: The reset value written to the reboot register (32 bit access).

priority:
default: 192

required:
- compatible
- offset

additionalProperties: false

allOf:
- $ref: restart-handler.yaml#
- if:
not:
required:
Expand Down

0 comments on commit d7544cb

Please sign in to comment.