From: Krzysztof Kozlowski <krzk@kernel.org>
To: Gregory CLEMENT <gregory.clement@bootlin.com>
Cc: "Vladimir Kondratiev" <vladimir.kondratiev@mobileye.com>,
"Benoît Monin" <benoit.monin@bootlin.com>,
"Théo Lebrun" <theo.lebrun@bootlin.com>,
"Thomas Gleixner" <tglx@kernel.org>,
"Radu Rendec" <radu@rendec.net>, "Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: interrupt-controller: add Mobileye EyeQ5 PCIe MSI controller
Date: Thu, 29 Oct 2026 08:35:12 +0100 [thread overview]
Message-ID: <20261029-positive-unbreakable-zebu-d4484c@quoll> (raw)
In-Reply-To: <20261028-eyeq5_msi-v1-1-c464752fb55f@bootlin.com>
On Wed, Oct 28, 2026 at 04:58:48PM +0100, Gregory CLEMENT wrote:
> Add binding for the Mobileye EyeQ5 PCIe MSI controller.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
> ---
> .../interrupt-controller/mobileye,eyeq5-msi.yaml | 120 +++++++++++++++++++++
> 1 file changed, 120 insertions(+)
>
There are some build/check failures here, so limited review.
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/mobileye,eyeq5-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller/mobileye,eyeq5-msi.yaml
> new file mode 100644
> index 0000000000000..919af55fc8a60
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/interrupt-controller/mobileye,eyeq5-msi.yaml
> @@ -0,0 +1,120 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/interrupt-controller/mobileye,eyeq5-msi.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Mobileye EyeQ5 PCIe MSI controller
> +
> +maintainers:
> + - Gregory CLEMENT <gregory.clement@bootlin.com>
> +
> +description: |
> + The Mobileye EyeQ5 PCIe MSI controller snoops the MSI write TLPs of a
> + PCIe port. The controller signals the parent interrupt controller when a
> + vector is pending. The memory-region property gives the base address of
> + the doorbell window. A port supports a maximum of 4 MSI vectors.
> +
> + This node is both an MSI parent for the PCIe port and a chained interrupt
> + controller.
> +
> +allOf:
> + - $ref: /schemas/interrupt-controller/msi-controller.yaml#
> +
> +properties:
> + compatible:
> + const: mobileye,eyeq5-msi
> +
> + reg:
> + items:
> + - description: GCSR block of the PCIe port
> + - description: MSI vector control block
> +
> + interrupts:
> + maxItems: 1
> +
> + interrupt-controller: true
> +
> + '#interrupt-cells':
> + const: 1
> +
> + msi-controller: true
> +
> + '#msi-cells':
> + const: 0
> +
> + label:
> + $ref: /schemas/types.yaml#/definitions/string
> + description: Name of the MSI domain. If omitted, the node name is used.
> +
> + memory-region:
> + maxItems: 1
> + description:
> + Reserved-memory region. The hardware uses its base address as the MSI
> + doorbell window.
> +
> + num-vectors:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description: Number of MSI vectors that the port supports.
> + minimum: 1
> + maximum: 4
So your SoC has multiple blocks with different number of vectors?
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - interrupt-controller
> + - '#interrupt-cells'
> + - msi-controller
> + - '#msi-cells'
> + - memory-region
> + - num-vectors
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/mips-gic.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
From here...
> + / {
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + gic: interrupt-controller {
> + compatible = "mti,cpu-interrupt-controller";
> + interrupt-controller;
> + #interrupt-cells = <3>;
> + };
> +
> + reserved-memory {
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> +
> + pci0_msi_reserved: pci0-msi@806000000 {
> + reg = <0x8 0x06000000 0x0 0x100000>;
> + };
> + };
> +
.. to here drop everything. This causes warnings.
> + soc {
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> +
> + msi0: msi-controller@5840000 {
Drop unused DT label.
> + compatible = "mobileye,eyeq5-msi";
> + reg = <0x0 0x05840000 0x0 0x10>,
> + <0x0 0x05840040 0x0 0x20>;
> + label = "port0-msi";
> + interrupt-parent = <&gic>;
> + interrupts = <GIC_SHARED 7 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-controller;
> + #interrupt-cells = <1>;
> + msi-controller;
> + #msi-cells = <0>;
> + memory-region = <&pci0_msi_reserved>;
> + num-vectors = <4>;
> + };
> + };
> + };
>
> --
> 2.53.0
>
next prev parent reply other threads:[~2026-10-29 7:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 15:58 [PATCH 0/4] irqchip: add " Gregory CLEMENT
2026-10-28 15:58 ` [PATCH 1/4] dt-bindings: interrupt-controller: add Mobileye " Gregory CLEMENT
2026-10-29 7:35 ` Krzysztof Kozlowski [this message]
2026-11-02 15:55 ` Gregory CLEMENT
2026-10-28 15:58 ` [PATCH 2/4] irqchip: irq-eyeq5-msi: add EyeQ5 PCIe MSI controller driver Gregory CLEMENT
2026-10-28 20:05 ` Thomas Gleixner
2026-11-02 16:17 ` Gregory CLEMENT
2026-10-28 15:58 ` [PATCH 3/4] MIPS: dts: eyeq5: add MSI controllers Gregory CLEMENT
2026-10-29 7:36 ` Krzysztof Kozlowski
2026-10-28 15:58 ` [PATCH 4/4] MAINTAINERS: add EyeQ5 MSI controller entry Gregory CLEMENT
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=20261029-positive-unbreakable-zebu-d4484c@quoll \
--to=krzk@kernel.org \
--cc=benoit.monin@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregory.clement@bootlin.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=radu@rendec.net \
--cc=robh@kernel.org \
--cc=tglx@kernel.org \
--cc=theo.lebrun@bootlin.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=tsbogend@alpha.franken.de \
--cc=vladimir.kondratiev@mobileye.com \
/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®