]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: interrupt-controller: sifive,plic: Group interrupt tuples
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 28 Jan 2022 09:03:58 +0000 (10:03 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 28 Jan 2022 17:27:26 +0000 (17:27 +0000)
To improve human readability and enable automatic validation, the tuples
in "interrupts-extended" properties should be grouped using angle
brackets.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/211705e74a2ce77de43d036c5dea032484119bf7.1643360419.git.geert@linux-m68k.org
Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml

index 5edaa08f576e7e4533245026591d1e4bacaaa2e3..058997c4e3cd487ccbd34b0a60bb9dee056675db 100644 (file)
@@ -90,12 +90,11 @@ examples:
       #interrupt-cells = <1>;
       compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
       interrupt-controller;
-      interrupts-extended = <
-        &cpu0_intc 11
-        &cpu1_intc 11 &cpu1_intc 9
-        &cpu2_intc 11 &cpu2_intc 9
-        &cpu3_intc 11 &cpu3_intc 9
-        &cpu4_intc 11 &cpu4_intc 9>;
+      interrupts-extended = <&cpu0_intc 11>,
+                            <&cpu1_intc 11>, <&cpu1_intc 9>,
+                            <&cpu2_intc 11>, <&cpu2_intc 9>,
+                            <&cpu3_intc 11>, <&cpu3_intc 9>,
+                            <&cpu4_intc 11>, <&cpu4_intc 9>;
       reg = <0xc000000 0x4000000>;
       riscv,ndev = <10>;
     };