From: "Álvaro Fernández Rojas" <noltari@gmail.com>
To: "Thomas Gleixner" <tglx@linutronix.de>,
"Marc Zyngier" <maz@kernel.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Florian Fainelli" <f.fainelli@gmail.com>,
"Fernández Rojas" <noltari@gmail.com>,
"Jonas Gorski" <jonas.gorski@gmail.com>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
bcm-kernel-feedback-list@broadcom.com,
linux-mips@vger.kernel.org
Subject: [PATCH 1/2] dt-bindings: interrupt-controller: document BCM6345 external interrupt controller
Date: Tue, 23 Feb 2021 19:08:39 +0100 [thread overview]
Message-ID: <20210223180840.28771-2-noltari@gmail.com> (raw)
In-Reply-To: <20210223180840.28771-1-noltari@gmail.com>
Document the binding for the BCM6345 external interrupt controller.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
---
.../brcm,bcm6345-ext-intc.yaml | 61 +++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/brcm,bcm6345-ext-intc.yaml
diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm6345-ext-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm6345-ext-intc.yaml
new file mode 100644
index 000000000000..9cc29fa03968
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm6345-ext-intc.yaml
@@ -0,0 +1,61 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/interrupt-controller/brcm,brcm6345-ext-intc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom BCM6345 external interrupt controller
+
+maintainers:
+ - Álvaro Fernández Rojas <noltari@gmail.com>
+ - Jonas Gorski <jonas.gorski@gmail.com>
+
+properties:
+ compatible:
+ enum:
+ - brcm,bcm6318-ext-intc
+ - brcm,bcm6345-ext-intc
+
+ interrupt-parent:
+ description: Specifies the phandle to the parent interrupt controller
+ this one is cascaded from.
+
+ "#interrupt-cells":
+ const: 2
+
+ reg:
+ maxItems: 1
+
+ "#address-cells":
+ const: 0
+
+ interrupt-controller: true
+
+ interrupts:
+ description: Specifies the interrupt line(s) in the interrupt-parent
+ controller node, valid values depend on the type of parent interrupt
+ controller.
+ maxItems: 4
+
+required:
+ - compatible
+ - interrupt-parent
+ - "#interrupt-cells"
+ - reg
+ - "#address-cells"
+ - interrupt-controller
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ ext_intc: interrupt-controller@10000018 {
+ compatible = "brcm,bcm6345-ext-intc";
+ interrupt-parent = <&periph_intc>;
+ #interrupt-cells = <2>;
+ reg = <0x10000018 0x4>;
+ #address-cells = <0>;
+ interrupt-controller;
+ interrupts = <24>, <25>, <26>, <27>;
+ };
--
2.20.1
next prev parent reply other threads:[~2021-02-23 18:09 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-23 18:08 [PATCH 0/2] irqchip: add support for BCM6345 interrupt controller Álvaro Fernández Rojas
2021-02-23 18:08 ` Álvaro Fernández Rojas [this message]
2021-02-23 19:34 ` [PATCH 1/2] dt-bindings: interrupt-controller: document BCM6345 external " Rob Herring
2021-02-24 9:35 ` kernel test robot
2021-02-24 9:35 ` kernel test robot
2021-02-24 9:35 ` kernel test robot
2021-02-23 18:08 ` [PATCH 2/2] irqchip: add support for BCM6345 " Álvaro Fernández Rojas
2021-02-24 1:38 ` kernel test robot
2021-02-24 1:38 ` kernel test robot
2021-02-23 20:43 ` [PATCH v2 0/2] " Álvaro Fernández Rojas
2021-02-23 20:43 ` [PATCH v2 1/2] dt-bindings: interrupt-controller: document BCM6345 external " Álvaro Fernández Rojas
2021-02-24 3:39 ` Florian Fainelli
2021-02-24 3:49 ` Rob Herring
2021-02-23 20:43 ` [PATCH v2 2/2] irqchip: add support for " Álvaro Fernández Rojas
2021-02-24 3:43 ` Florian Fainelli
2021-02-24 7:08 ` Álvaro Fernández Rojas
2021-02-24 7:56 ` [PATCH v2 0/2] irqchip: add support for BCM6345 " Álvaro Fernández Rojas
2021-02-24 7:56 ` [PATCH v2 1/2] dt-bindings: interrupt-controller: document BCM6345 external " Álvaro Fernández Rojas
2021-03-06 20:14 ` Rob Herring
2021-03-07 10:12 ` Álvaro Fernández Rojas
2021-03-10 17:21 ` Rob Herring
2021-02-24 7:56 ` [PATCH v2 2/2] irqchip: add support for " Álvaro Fernández Rojas
2021-03-09 10:58 ` Marc Zyngier
2021-02-24 7:58 ` [PATCH v2 0/2] irqchip: add support for BCM6345 " Álvaro Fernández Rojas
2021-02-24 10:03 ` Marc Zyngier
2021-02-27 6:49 ` Álvaro Fernández Rojas
2021-03-06 20:11 ` Rob Herring
-- strict thread matches above, loose matches on Subject: below --
2021-02-24 7:42 [PATCH 1/2] dt-bindings: interrupt-controller: document BCM6345 external " kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210223180840.28771-2-noltari@gmail.com \
--to=noltari@gmail.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=jonas.gorski@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=maz@kernel.org \
--cc=robh+dt@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.