[PATCH] dt-bindings: gpio: nxp,lpc3220-gpio: Convert to dtschema

Krzysztof Kozlowski krzk at kernel.org
Tue Jul 30 08:55:14 PDT 2024


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 at nxp.com>
> Signed-off-by: Animesh Agarwal <animeshagarwal28 at gmail.com>
> 
> --

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 at 40028000 {
> +        compatible = "nxp,lpc3220-gpio";
> +        reg = <0x40028000 0x1000>;
> +        gpio-controller;
> +        #gpio-cells = <3>; /* bank, pin, flags */
> +    };

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list