aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/interrupt-controller
diff options
context:
space:
mode:
authorGravatar Jean-Philippe Brucker <jean-philippe@linaro.org> 2022-08-22 16:22:24 +0100
committerGravatar Rob Herring <robh@kernel.org> 2022-08-23 10:41:45 -0500
commitf1bd8b2e89cc755b2d1b07058b8afbae2fa302dd (patch)
tree31e7165dd0d1221bd67e8a5ede7da97b87c6bede /Documentation/devicetree/bindings/interrupt-controller
parentdt-bindings: interrupt-controller: arm,gic-v3: Make 'interrupts' optional (diff)
downloadlinux-f1bd8b2e89cc755b2d1b07058b8afbae2fa302dd.tar.gz
linux-f1bd8b2e89cc755b2d1b07058b8afbae2fa302dd.tar.bz2
linux-f1bd8b2e89cc755b2d1b07058b8afbae2fa302dd.zip
dt-bindings: interrupt-controller: arm,gic: Support two address and size cells
It should be valid for a GICv2m node, child of a GICv2 node, to use two cells per reg address and size. The QEMU virt device-tree currently fails validation because the schema imposes a single address and size cell. Amend the rule. Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220822152224.507497-4-jean-philippe@linaro.org
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller')
-rw-r--r--Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml
index 62219a5c21c5..220256907461 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml
@@ -64,9 +64,9 @@ properties:
interrupt-controller: true
"#address-cells":
- enum: [ 0, 1 ]
+ enum: [ 0, 1, 2 ]
"#size-cells":
- const: 1
+ enum: [ 1, 2 ]
"#interrupt-cells":
const: 3