[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5e8fc1da-b340-4c1f-a904-826685bcbb61@linaro.org>
Date: Sat, 18 May 2024 22:38:09 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Pratik Farkase <pratikfarkase94@...il.com>
Cc: Pratik Farkase <pratik.farkase@...sweden.com>,
Linus Walleij <linus.walleij@...aro.org>, Bartosz Golaszewski
<brgl@...ev.pl>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>, linux-gpio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: gpio: gpio-zevio: convert to dtschema
On 18/05/2024 20:21, Pratik Farkase wrote:
> Convert Zevio GPIO Controller from text to dtschema.
>
> Signed-off-by: Pratik Farkase <pratik.farkase@...sweden.com>
> ---
> .../devicetree/bindings/gpio/gpio-zevio.txt | 16 --------
> .../devicetree/bindings/gpio/gpio-zevio.yaml | 41 +++++++++++++++++++
Use compatible as filename.
> 2 files changed, 41 insertions(+), 16 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-zevio.txt
> create mode 100644 Documentation/devicetree/bindings/gpio/gpio-zevio.yaml
>
..
> +
> + reg:
> + maxItems: 1
> +
> + "#gpio-cells":
> + const: 2
> +
> + gpio-controller: true
> +
> +required:
> + - compatible
> + - reg
> + - "#gpio-cells"
> + - gpio-controller
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + gpio@...00000 {
Misaligned/indented. Just use 4 space indentation for the example.
Best regards,
Krzysztof
Powered by blists - more mailing lists