]> git.itanic.dy.fi Git - linux-stable/commitdiff
dt-bindings: reset: syscon-reboot: Add priority property
authorPali Rohár <pali@kernel.org>
Mon, 26 Dec 2022 11:45:11 +0000 (12:45 +0100)
committerSebastian Reichel <sre@kernel.org>
Fri, 3 Feb 2023 12:10:34 +0000 (13:10 +0100)
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>
Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml

index da25097248128f9a0793b943f1887ad82f436280..75061124d9a8b7d9143a713bbf37d7b45ca52b6e 100644 (file)
@@ -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: