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=1796310605; b=1Iod9OFoie66UB+sEZLx3F/3vsGoiDkhwcJyNFXJAMIsttgxdz1KsrRa0PLC9BzHWmwA 2aMJrJRJFyPwD9QKvMokz0UYBXpJxo563Sv3SYVCUpZr4v767iaeAZRcerJUdnDRyJqk8 IxnAaxou90m0xreTzQrieKBVOBF2PNguEC+XVBREzoG2lDBozJ8otXY9AwwigV35DwBD2 a/6bW7EIRaehjNjWduoLa52NR8FoJUBGHUbVpUSBf+30uxWr1ExnTLPHaLH/oV5lVgHRF qCq0ofrY3bGiRUYo3LdoZFkBjvDFRfUTvT7Ay7oNgxbzUWr5bupeRGjkhQT2iMxe9mQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796310605; 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=uL8zUdscsuzLSxH3TIBRtn5i906XKgs83xavzgt4D5c=; b=lIEartZav1VVYOlFh/qOXiXrx+6+avY1Pyh6EAZHE+PiMuMZCfg/poJL6Eq3mafxDn+l m1J402GPzYW1tS2z2S97kOV6z1ZgAAJIhNZV0mIrT0rL3KhHPkol9Spp8oT7paFvZvnsa zBJlSuDIevVToTm06hE3NJAPmfPv4XLiAI8RhMQxWyJpnTkGNkt0c8XhVI4badDpk/BT0 EoHmGH/oDvw4XHfZxRZXL/t6lXCFEVm4WrvQWGaIKUfHcexlooZnLrF4BRivjcY1LK5nZ ork6X6SG9yaCSg+AtQ4hj9ojUugqCAZkiO2Hb1eC+KIN3DWt1J10EUO8/DNRht+hs9w== 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="YCNJ/ZqH"; 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 EBAFA606A338 for ; Thu, 3 Dec 2026 15:10:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EBAFA606A338 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) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=YCNJ/ZqH Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id C3AE51A18F3; Thu, 3 Dec 2026 15:10:03 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 91A87604ED; Thu, 3 Dec 2026 15:10:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 60D2011EA18AC; Thu, 03 Dec 2026 16:09:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796310598; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=uL8zUdscsuzLSxH3TIBRtn5i906XKgs83xavzgt4D5c=; b=YCNJ/ZqHk5RceYu4Wkyp3dztzE2AfcEOf3BgBM+YJ09jS2vyHaFinN3ka5f6sPyTIIiN1Y jq9412BP6LZgHBqL71skQSEctKkkjAmhW9pTYnnR2BuGKoF2K54THH3BjDS1vWJwexDsLX KRCtxyZRYMbF9CyBFGe4aE/Y0akJ2LeTFx9qTuy5ELhbLjRK43EJ/LUWekpWgf/jZR05ST Qw4XMLezi1XL3sMywr+tKEghcQm4YvKj3D47GYwanfP5h5cp54JzKvWwM33WS6fVB4rAMQ fixQjtvNPaJLfI5REiNB4EWY5ldiGafN1OggQJnlOwR7aoJAA6XP3WROGPKQmg== From: Gregory CLEMENT Date: Thu, 03 Dec 2026 16:09:45 +0100 Subject: [PATCH v6 1/5] dt-bindings: interrupt-controller: add Mobileye EyeQ5 PCIe MSI controller X-Mailing-List: linux-mips@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: <20261203-eyeq5_msi-v6-1-8ffe74494bd2@bootlin.com> References: <20261203-eyeq5_msi-v6-0-8ffe74494bd2@bootlin.com> In-Reply-To: <20261203-eyeq5_msi-v6-0-8ffe74494bd2@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. Reviewed-by: Rob Herring (Arm) Signed-off-by: Gregory CLEMENT --- .../interrupt-controller/mobileye,eyeq5-msi.yaml | 76 ++++++++++++++++++++++ 1 file changed, 76 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..e41a92aec3b8e --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/mobileye,eyeq5-msi.yaml @@ -0,0 +1,76 @@ +# 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 an MSI parent for the PCIe port. The driver chains the + controller interrupt to the parent 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 + + msi-controller: true + + '#msi-cells': + const: 0 + + memory-region: + maxItems: 1 + description: + Reserved-memory region. The hardware uses its base address as the MSI + doorbell window. + +required: + - compatible + - reg + - interrupts + - 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>; + interrupt-parent = <&gic>; + interrupts = ; + msi-controller; + #msi-cells = <0>; + memory-region = <&pci0_msi_reserved>; + }; + }; -- 2.53.0