From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.84.56 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793638266; b=pe5oqla5Lq88wZG+BxjyRH9jo+J8yBfaCXs3avEYahyUBy+jPONha3wy1+d8OcYJvEZ0 QqEz4qwlRyNRaFSJs1YH57egOTrf2borhVetAwFL8Dnix4jcePs07Rpa7x8QqkdH0FHOK X7+AXm/ZCWTcBQo3THzIhlO9i32oLxbFoPt/LndxiicJxJzmiE1ojCFX5i6wxUEBj4mAv IUis9xVAhUUifgk1PbAIfN7T3HBBIS8uEfHlfvJ2lubzOvD/GjCjCkxonZkJ8leayGf5N sKzUZCklnx7wLTYptzXMUYqyZ3cG9kkNLUu1BKF9Y7umNSU7lX6N9JrMbuo/oeKMxkw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793638266; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:Date: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Last-TLS-Session-Version; bh=4EZlC3lUoFILPCe2jxbw7fZ0vSOSvBXMvw6HNdMhaWk=; b=jttzDqVR64f/peTirwn5YbBlFp0eQoSww5pdte3yVBCal/7SyVdqWVXmnDmAHEpXgU/G fg+z5/6Ygy/3fQL4JnlSMsJdoJzKj22iveAWQXUhFaVeGVEuEpQvWHJmQknJvWGu6D/XZ Ruvnn2RxR1vpAYgZrmN3nGFRuksPvzvdbhhKLjMlpBjmsqZg83l4jlbwcsKMODPymwmHS d3yHnhT8l63i/9nBrHUqaYRmsunlL/Uq8eMy0dTBA9/FdtXk8oV7alhqZS0rIB4voRg8V NRnz9PvfODhcqzKXJZd3FOJDkX98b0FYXPJnbh9csNh41+cp876Sse/WxAobRLeHnNw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b="0HP0C/Qs"; arc=none smtp.remote-ip=185.246.84.56 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 759B4606D82D for ; Mon, 2 Nov 2026 16:51:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 759B4606D82D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=0HP0C/Qs Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id E8E321A1407; Mon, 2 Nov 2026 16:51:03 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id B5E97603D7; Mon, 2 Nov 2026 16:51:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 437EC103291A7; Mon, 2 Nov 2026 17:51:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1793638262; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=4EZlC3lUoFILPCe2jxbw7fZ0vSOSvBXMvw6HNdMhaWk=; b=0HP0C/Qsay4Wt9gfd+WJZKJma0PhAARJFyhjpv71uNsFXVsXug+dd2O/6ZbdI5a4LpTttm nnMARqNz5NbKeTXAgxoBobxyLA9Sx3PihDDx+BaifRXyBGeDyDTeSwk30+064hPVtYZZsN lqSKI967CtogJopdilYDvTu+WYT5tkVoGAUmhhSmL3rejb1TEPtPRO3E+qesAiRzIksoR7 t+ezFC6UdW4ZveuOQSKlT3B3r0ZV01TIRXZvHfQnT0sNMCNFv0AY7dOLgftZh5kw8tYNVe 2dG4O0lgOkZs+tH3H+pln9DoiKMnxMmPFtyFS0R7bOBT+GVP+HFOOOyRqaf6kQ== From: Gregory CLEMENT Date: Mon, 02 Nov 2026 17:50:38 +0100 Subject: [PATCH v2 1/4] dt-bindings: interrupt-controller: add Mobileye EyeQ5 PCIe MSI controller X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261102-eyeq5_msi-v2-1-4aa3d3608064@bootlin.com> References: <20261102-eyeq5_msi-v2-0-4aa3d3608064@bootlin.com> In-Reply-To: <20261102-eyeq5_msi-v2-0-4aa3d3608064@bootlin.com> To: Vladimir Kondratiev , =?utf-8?q?Beno=C3=AEt_Monin?= , =?utf-8?q?Th=C3=A9o_Lebrun?= , Thomas Gleixner , Radu Rendec , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer Cc: Thomas Petazzoni , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Gregory CLEMENT X-Mailer: b4 0.16.0 X-Last-TLS-Session-Version: TLSv1.3 Add binding for the Mobileye EyeQ5 PCIe MSI controller. Signed-off-by: Gregory CLEMENT --- .../interrupt-controller/mobileye,eyeq5-msi.yaml | 90 ++++++++++++++++++++++ 1 file changed, 90 insertions(+) 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..b86698e4f82c7 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/mobileye,eyeq5-msi.yaml @@ -0,0 +1,90 @@ +# 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 + +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. + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - '#interrupt-cells' + - msi-controller + - '#msi-cells' + - memory-region + +additionalProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + msi-controller@5840000 { + compatible = "mobileye,eyeq5-msi"; + reg = <0x0 0x05840000 0x0 0x10>, + <0x0 0x05840040 0x0 0x20>; + label = "port0-msi"; + interrupt-parent = <&gic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + msi-controller; + #msi-cells = <0>; + memory-region = <&pci0_msi_reserved>; + }; + }; -- 2.53.0