[PATCH v2 1/3] dt-bindings: reset: syscon-reboot: Add priority property
Arnd Bergmann
arnd at arndb.de
Wed Aug 31 17:26:17 AEST 2022
On Wed, Aug 31, 2022, at 1:00 AM, Pali Rohár wrote:
> a/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml
> b/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml
> index da2509724812..4c8b0d0a0111 100644
> --- a/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml
> +++ b/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml
> @@ -42,6 +42,11 @@ properties:
> $ref: /schemas/types.yaml#/definitions/uint32
> description: The reset value written to the reboot register (32
> bit access).
>
> + priority:
> + $ref: /schemas/types.yaml#/definitions/int32
> + description: Priority level of this syscon reset device.
> + default: 192
> +
My first thought was that this is looks very Linux specific and
probably should be documented as such. However I see there is
already precedent in
Documentation/devicetree/bindings/power/reset/gpio-restart.yaml,
which defines the same thing with a more detailed description.
Since this is an optional property for both, and it has the
same meaning here, is it possible to move the description
to a common place where it either gets included from both,
or from all reboot bindings?
Arnd
More information about the Linuxppc-dev
mailing list