From: "tip-bot2 for Jiaxun Yang" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>,
Rob Herring <robh@kernel.org>, Marc Zyngier <maz@kernel.org>,
x86 <x86@kernel.org>, LKML <linux-kernel@vger.kernel.org>
Subject: [tip: irq/core] dt-bindings: interrupt-controller: Add Loongson PCH MSI
Date: Sat, 30 May 2020 07:46:30 -0000 [thread overview]
Message-ID: <159082479072.17951.7141736298495200150.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20200528152757.1028711-7-jiaxun.yang@flygoat.com>
The following commit has been merged into the irq/core branch of tip:
Commit-ID: da10a4b626657387845f32d37141fc7d48ebbdb3
Gitweb: https://git.kernel.org/tip/da10a4b626657387845f32d37141fc7d48ebbdb3
Author: Jiaxun Yang <jiaxun.yang@flygoat.com>
AuthorDate: Thu, 28 May 2020 23:27:54 +08:00
Committer: Marc Zyngier <maz@kernel.org>
CommitterDate: Fri, 29 May 2020 09:42:19 +01:00
dt-bindings: interrupt-controller: Add Loongson PCH MSI
Add binding for Loongson PCH MSI controller.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200528152757.1028711-7-jiaxun.yang@flygoat.com
---
Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml
diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml
new file mode 100644
index 0000000..1a5ebbd
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml
@@ -0,0 +1,62 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/interrupt-controller/loongson,pch-msi.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: Loongson PCH MSI Controller
+
+maintainers:
+ - Jiaxun Yang <jiaxun.yang@flygoat.com>
+
+description:
+ This interrupt controller is found in the Loongson LS7A family of PCH for
+ transforming interrupts from PCIe MSI into HyperTransport vectorized
+ interrupts.
+
+properties:
+ compatible:
+ const: loongson,pch-msi-1.0
+
+ reg:
+ maxItems: 1
+
+ loongson,msi-base-vec:
+ description:
+ u32 value of the base of parent HyperTransport vector allocated
+ to PCH MSI.
+ allOf:
+ - $ref: "/schemas/types.yaml#/definitions/uint32"
+ - minimum: 0
+ maximum: 255
+
+ loongson,msi-num-vecs:
+ description:
+ u32 value of the number of parent HyperTransport vectors allocated
+ to PCH MSI.
+ allOf:
+ - $ref: "/schemas/types.yaml#/definitions/uint32"
+ - minimum: 1
+ maximum: 256
+
+ msi-controller: true
+
+required:
+ - compatible
+ - reg
+ - msi-controller
+ - loongson,msi-base-vec
+ - loongson,msi-num-vecs
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ msi: msi-controller@2ff00000 {
+ compatible = "loongson,pch-msi-1.0";
+ reg = <0x2ff00000 0x4>;
+ msi-controller;
+ loongson,msi-base-vec = <64>;
+ loongson,msi-num-vecs = <64>;
+ interrupt-parent = <&htvec>;
+ };
+...
next prev parent reply other threads:[~2020-05-30 7:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-28 15:27 [PATCH v5 0/6] Three Loongson irqchip support Jiaxun Yang
2020-05-28 15:27 ` [PATCH v5 1/6] irqchip: Add Loongson HyperTransport Vector support Jiaxun Yang
2020-05-29 8:47 ` Marc Zyngier
2020-05-30 7:46 ` [tip: irq/core] " tip-bot2 for Jiaxun Yang
2020-05-28 15:27 ` [PATCH v5 2/6] dt-bindings: interrupt-controller: Add Loongson HTVEC Jiaxun Yang
2020-05-30 7:46 ` [tip: irq/core] " tip-bot2 for Jiaxun Yang
2020-05-28 15:27 ` [PATCH v5 3/6] irqchip: Add Loongson PCH PIC controller Jiaxun Yang
2020-05-30 7:46 ` [tip: irq/core] " tip-bot2 for Jiaxun Yang
2020-05-28 15:27 ` [PATCH v5 4/6] dt-bindings: interrupt-controller: Add Loongson PCH PIC Jiaxun Yang
2020-05-30 7:46 ` [tip: irq/core] " tip-bot2 for Jiaxun Yang
2020-05-28 15:27 ` [PATCH v5 5/6] irqchip: Add Loongson PCH MSI controller Jiaxun Yang
2020-05-30 7:46 ` [tip: irq/core] " tip-bot2 for Jiaxun Yang
2020-05-28 15:27 ` [PATCH v5 6/6] dt-bindings: interrupt-controller: Add Loongson PCH MSI Jiaxun Yang
2020-05-30 7:46 ` tip-bot2 for Jiaxun Yang [this message]
2020-05-29 8:52 ` [PATCH v5 0/6] Three Loongson irqchip support Marc Zyngier
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=159082479072.17951.7141736298495200150.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=maz@kernel.org \
--cc=robh@kernel.org \
--cc=x86@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®