Skip to content

Commit c89e5eb

Browse files
geertuMarc Zyngier
authored andcommitted
dt-bindings: interrupt-controller: sifive,plic: Group interrupt tuples
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 <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/211705e74a2ce77de43d036c5dea032484119bf7.1643360419.git.geert@linux-m68k.org
1 parent 8fbc16d commit c89e5eb

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,11 @@ examples:
9090
#interrupt-cells = <1>;
9191
compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
9292
interrupt-controller;
93-
interrupts-extended = <
94-
&cpu0_intc 11
95-
&cpu1_intc 11 &cpu1_intc 9
96-
&cpu2_intc 11 &cpu2_intc 9
97-
&cpu3_intc 11 &cpu3_intc 9
98-
&cpu4_intc 11 &cpu4_intc 9>;
93+
interrupts-extended = <&cpu0_intc 11>,
94+
<&cpu1_intc 11>, <&cpu1_intc 9>,
95+
<&cpu2_intc 11>, <&cpu2_intc 9>,
96+
<&cpu3_intc 11>, <&cpu3_intc 9>,
97+
<&cpu4_intc 11>, <&cpu4_intc 9>;
9998
reg = <0xc000000 0x4000000>;
10099
riscv,ndev = <10>;
101100
};

0 commit comments

Comments
 (0)