[PATCH] dt-bindings: gpio: sifive,gpio: Group interrupt tuples
Bartosz Golaszewski
brgl at bgdev.pl
Wed Dec 1 00:31:42 PST 2021
On Thu, Nov 25, 2021 at 4:20 PM Geert Uytterhoeven <geert at linux-m68k.org> wrote:
>
> To improve human readability and enable automatic validation, the tuples
> in "interrupts" properties should be grouped using angle brackets.
>
> Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
> ---
> Documentation/devicetree/bindings/gpio/sifive,gpio.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml b/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
> index c2902aac25145205..e04349567eebb72c 100644
> --- a/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
> +++ b/Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
> @@ -77,7 +77,8 @@ examples:
> gpio at 10060000 {
> compatible = "sifive,fu540-c000-gpio", "sifive,gpio0";
> interrupt-parent = <&plic>;
> - interrupts = <7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22>;
> + interrupts = <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>, <15>, <16>,
> + <17>, <18>, <19>, <20>, <21>, <22>;
> reg = <0x10060000 0x1000>;
> clocks = <&tlclk PRCI_CLK_TLCLK>;
> gpio-controller;
> --
> 2.25.1
>
Applied, thanks!
Bart
More information about the linux-riscv
mailing list