diff options
author | Pali Rohár <pali@kernel.org> | 2022-12-26 12:45:11 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2023-02-03 13:10:34 +0100 |
commit | d7544cbe04e74e9dd33a94481ffe9b2e63222cd6 (patch) | |
tree | e44251d377ceba4a076abe6947ac2c4a4e00c943 /Documentation/devicetree/bindings | |
parent | 6adaa9a4ece44e22e0c4d2e9dbce175679383cc5 (diff) |
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 <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>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml b/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml index da2509724812..75061124d9a8 100644 --- a/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml +++ b/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml @@ -42,6 +42,9 @@ 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 @@ -49,6 +52,7 @@ required: additionalProperties: false allOf: + - $ref: restart-handler.yaml# - if: not: required: |