Skip to content

Commit 8fbc16d

Browse files
geertuMarc Zyngier
authored andcommitted
dt-bindings: interrupt-controller: sifive,plic: Fix number of interrupts
The number of interrupts lacks an upper bound, thus assuming one, causing properly grouped "interrupts-extended" properties to be flagged as an error by "make dtbs_check". Fix this by adding the missing "maxItems", using the architectural maximum of 15872 interrupts. Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Rob Herring <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/f73a0aead89e1426b146c4c64f797aa035868bf0.1643360419.git.geert@linux-m68k.org
1 parent e8cc7a5 commit 8fbc16d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ properties:
6161

6262
interrupts-extended:
6363
minItems: 1
64+
maxItems: 15872
6465
description:
6566
Specifies which contexts are connected to the PLIC, with "-1" specifying
6667
that a context is not present. Each node pointed to should be a

0 commit comments

Comments
 (0)