[PATCH] dt-bindings: serial: uniphier: Add "resets" property as optional

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Mon Mar 28 12:05:36 PDT 2022


On 28/03/2022 03:26, Kunihiko Hayashi wrote:
> UniPhier UART controller has a reset lines from system controller.
> Add "resets" property to fix the following warning.
> 
>   uniphier-ld11-global.dtb: serial at 54006800: 'resets' does not match any of the regexes: 'pinctrl-[0-9]+'
>       From schema: Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml
> 
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko at socionext.com>
> ---
>  .../devicetree/bindings/serial/socionext,uniphier-uart.yaml    | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml b/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml
> index d490c7c4b967..d14d8c9cfe4d 100644
> --- a/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml
> +++ b/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml
> @@ -22,6 +22,9 @@ properties:
>    clocks:
>      minItems: 1

This should be fixed to maxItems as well (separate patch).

>  
> +  resets:
> +    minItems: 1

maxItems

> +
>    auto-flow-control:
>      description: enable automatic flow control support.
>      $ref: /schemas/types.yaml#/definitions/flag


Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list