Skip to contentSkip to conversation

dt-bindings: arm,cci-400: Add interrupt controller to example

PATCH Applied Rob Herring 1 participant 2 messages Jan 26, 2022 – Jan 31, 2022 Device tree bindings

lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: arm,cci-400: Add interrupt controller to example

In order to parse the 'interrupts' an interrupt provider node is needed. That is because the example is a full example (starting with root node) and on those we don't guess and generate a fake provider.

---
 Documentation/devicetree/bindings/arm/arm,cci-400.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/arm,cci-400.yaml +5 -0
index f8530a50863a..1706134b75a3 100644
@@ -119,6 +119,11 @@ examples:
           arm,hbi = <0x249>;
           interrupt-parent = <&gic>;
 
+          gic: interrupt-controller {
+              interrupt-controller;
+              #interrupt-cells = <3>;
+          };
+
           /*
            * This CCI node corresponds to a CCI component whose control
            * registers sits at address 0x000000002c090000.
Signature · 1 line
2.32.0
author maintainer Applied
#1 lore raw
Quoted 9 lines · Rob Herring

In order to parse the 'interrupts' an interrupt provider node is needed. That is because the example is a full example (starting with root node) and on those we don't guess and generate a fake provider.

---
 Documentation/devicetree/bindings/arm/arm,cci-400.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Applied, thanks!