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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux