[PATCH 2/3] dt-bindings: arm: Document reboot mode magic

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Mon Nov 20 02:56:08 PST 2023


On 17/11/2023 22:18, Elliot Berman wrote:
> -
> -additionalProperties: false
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            const: arm,psci-1.0
> +    then:
> +      $ref: /schemas/power/reset/reboot-mode.yaml#
> +      properties:
> +        # "mode-normal" is just SYSTEM_RESET
> +        mode-normal: false
> +      patternProperties:
> +        "^mode-.*$":
> +          maxItems: 2

And if you tested the patch, it would tell you it can be max 1 item.

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list