dt-bindings: gpio: sifive,gpio: Group interrupt tuples
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 25 Nov 2021 15:20:43 +0000 (16:20 +0100)
committerBartosz Golaszewski <brgl@bgdev.pl>
Wed, 1 Dec 2021 08:31:12 +0000 (09:31 +0100)
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@linux-m68k.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Documentation/devicetree/bindings/gpio/sifive,gpio.yaml

index c2902aa..e043495 100644 (file)
@@ -77,7 +77,8 @@ examples:
       gpio@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;