Re: [PATCH] dt-bindings: gpio: nxp,lpc3220-gpio: Convert to dtschema
From: Krzysztof Kozlowski
Date: Tue Jul 30 2024 - 11:55:29 EST
On 27/07/2024 15:00, Animesh Agarwal wrote:
> Convert the NXP LPC3220 SoC GPIO controller bindings to DT schema format.
>
> Cc: Daniel Baluta <daniel.baluta@xxxxxxx>
> Signed-off-by: Animesh Agarwal <animeshagarwal28@xxxxxxxxx>
>
> --
Not a complete delimiter.
> Changes in v2:
> - Changed the file name to match the compatible string.
> - Removed optional from the description of '#gpio-cells' as it was wrongly
> present.
> ---
...
> + - compatible
> + - reg
> + - gpio-controller
> + - '#gpio-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
Drop include
> +
> + gpio@40028000 {
> + compatible = "nxp,lpc3220-gpio";
> + reg = <0x40028000 0x1000>;
> + gpio-controller;
> + #gpio-cells = <3>; /* bank, pin, flags */
> + };
Best regards,
Krzysztof