dt-bindings: gpio: sifive,gpio: Group interrupt tuples
Subsystems (4)
PATCH 1/1 dt-bindings: gpio: sifive,gpio: Group interrupt tuples
To improve human readability and enable automatic validation, the tuples in "interrupts" properties should be grouped using angle brackets.
--- Documentation/devicetree/bindings/gpio/sifive,gpio.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/gpio/sifive,gpio.yaml +2 -1
@@ -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;
Signature · 7 lines
2.25.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 4 lines · Geert Uytterhoeven
To improve human readability and enable automatic validation, the tuples in "interrupts" properties should be grouped using angle brackets.
Signed-off-by Geert Uytterhoeven <[email protected]>
(...)
Documentation/devicetree/bindings/gpio/sifive,gpio.yaml examples: · line 81
Quoted 3 lines
Documentation/devicetree/bindings/gpio/sifive,gpio.yaml +2
-1- 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>;
Tuples? Hm they look single. Like singletons?
Anyway:
Yours,
Linus Walleij
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Hi Linus,
Quoted 4 lines · Linus Walleij
Quoted 3 lines · Geert Uytterhoeven
To improve human readability and enable automatic validation, the tuples in "interrupts" properties should be grouped using angle brackets.
Quoted 8 lines
Quoted 1 line
Signed-off-by Geert Uytterhoeven <[email protected]>(...)
Documentation/devicetree/bindings/gpio/sifive,gpio.yaml examples: · line 81
Quoted 3 lines
Documentation/devicetree/bindings/gpio/sifive,gpio.yaml +2
-1- 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>;Tuples? Hm they look single. Like singletons?
Yeah, plic has #interrupt-cells = <1>.
Quoted 2 lines
Anyway:
Acked-by Linus Walleij <[email protected]>
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Bartosz Golaszewski
AppliedQuoted 24 lines · Geert Uytterhoeven
To improve human readability and enable automatic validation, the tuples in "interrupts" properties should be grouped using angle brackets.
Signed-off-by Geert Uytterhoeven <[email protected]>--- Documentation/devicetree/bindings/gpio/sifive,gpio.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/gpio/sifive,gpio.yaml +2
-2@@ -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; --
Quoted 2 lines
2.25.1
Applied, thanks!
Bart