linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: arm,cci-400: Add interrupt controller to example
@ 2022-01-26 23:11 Rob Herring
  2022-01-31 14:27 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2022-01-26 23:11 UTC (permalink / raw)
  To: Lorenzo Pieralisi; +Cc: linux-arm-kernel, devicetree, linux-kernel

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.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/arm/arm,cci-400.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/arm,cci-400.yaml b/Documentation/devicetree/bindings/arm/arm,cci-400.yaml
index f8530a50863a..1706134b75a3 100644
--- a/Documentation/devicetree/bindings/arm/arm,cci-400.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,cci-400.yaml
@@ -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.
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: arm,cci-400: Add interrupt controller to example
  2022-01-26 23:11 [PATCH] dt-bindings: arm,cci-400: Add interrupt controller to example Rob Herring
@ 2022-01-31 14:27 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-01-31 14:27 UTC (permalink / raw)
  To: Rob Herring; +Cc: linux-arm-kernel, Lorenzo Pieralisi, devicetree, linux-kernel

On Wed, 26 Jan 2022 17:11:46 -0600, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/arm/arm,cci-400.yaml | 5 +++++
>  1 file changed, 5 insertions(+)
> 

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-31 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 23:11 [PATCH] dt-bindings: arm,cci-400: Add interrupt controller to example Rob Herring
2022-01-31 14:27 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).