From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796390478; b=sOK+VGyQSGPX0gzvQOFUPaT99ISVuY6pRNr/KewulaSttg1nwKK5XeHMdytYCEFa7IBr yU48l/lI9haTDUTiqlZokF8z2A25VBu1b08Yk0SXS2y5kepbfDFsFT7/JMv1jCVFam/1f y2JaRfR4bScqkzfUjWaEsK5S+kFz7QoZsCuKGMbqPNrFwBdoC8voyQYlJrA0Lznc0rH3X ga4v3IcqzXp4AXmSmhaO5AxyTgsj6aw9n7e+wRH1JDagJW75tyA7Cpk7HVScF3d8dV2wY gY3I/plOmlBPLjIVabZrRSs2lEVfyg0Kg8dikpQanvJUJXHsyGov0VtcE8p/ikaV+IQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796390478; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=nVwwpfx0kBD2dJIp/u7py2vWZqtJn1Fo2gUz8w0VnqU=; b=X85DXMGWr3c/jmMG5BC5YwpmzYUGOo2nsCrxTWPxsOsUdHoAbDFHiYR6POTU5dMt6q/+ Qu8AeNcOFbJVKYsh46bNKpbB5KfSZnO299z6b6Pb4RwZPBrPYelSKKJU1IJ/ABMkTxEe1 4uO7shUaX06snsW2wQ0gHtukMycqGFWCqwr2uxKlmXom05Rfw98bMb4RzX7vWvONPSwrv ad65tJxPfo4Z9hWF+vtE0w3kxKIYbxCLg0uS42VpU8iBgwl5cvoFrXxePeFBr5O0pvYrr zy+dblWjwMjkbgV0F5raJBphAlF2U/lTyb9iWcIv27JRhoqX32kMgPDTAoLC/T6PC7w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=V8Q78xAH; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1AF9F606A32F; Fri, 4 Dec 2026 13:21:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=V8Q78xAH Received: by smtp.kernel.org (Postfix) with ESMTPSA id 972871F00937; Fri, 4 Dec 2026 13:21:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796390477; bh=nVwwpfx0kBD2dJIp/u7py2vWZqtJn1Fo2gUz8w0VnqU=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=V8Q78xAHRI7EhyQztRk5doT3jyV1xZh8G91zEMCUu72ByfHKY7T1ZlBsiJb6cbwri 6yUEorfaZmyiAoj07WJ20GRigARQAhl2DEqIw5BXOUbODKMbwUI3nLSFCBRmmn8Zxw nmSOzJxYYFvCKMJcn5xy5AWdIE4b1eaV6jXCXtKwVi+FM/dT8SF0BExGUtHdqF6u5u X31ctC3CmMyrA2XLPuAbR7K4ax6GfopYHTR7YEVE1OB+7KNMmzgK0cydHwkLQEpMqE wvXMe35ote/D60rPYyjUmxYX57uvme+wvF1BPoxnWbm3I5BNQ7v/c3Rfhq68nKbvrR k9lnY5uAHammQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/6] dt-bindings: interrupt-controller: Add NXP S32N79 MRU MSI controller Reply-To: sashiko-reviews@lists.linux.dev To: "Ghennadi Procopciuc" Cc: imx@lists.linux.dev, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, Frank.Li@kernel.org In-Reply-To: <20261204-b4-s32n79-mru-msi-v1-1-e66f9b0dfa79@oss.nxp.com> References: <20261204-b4-s32n79-mru-msi-v1-0-e66f9b0dfa79@oss.nxp.com> <20261204-b4-s32n79-mru-msi-v1-1-e66f9b0dfa79@oss.nxp.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 13:21:17 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Medium] dt-bindings: grouping independent MRU instances encodes OS MSI-domain limit - [Low] dt-bindings: nxp,s32n79-mru-msi: non-canonical property order in example -- commit f6243ae11f12c6552a692bda81a7f63a3e9dcb26 Author: Ghennadi Procopciuc dt-bindings: interrupt-controller: Add NXP S32N79 MRU MSI controller This commit adds a Devicetree binding schema for using NXP S32N79 Message Receive Unit (MRU) instances as an MSI controller. > diff --git a/Documentation/devicetree/bindings/interrupt-controller/nxp,s= 32n79-mru-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller= /nxp,s32n79-mru-msi.yaml > new file mode 100644 > index 0000000000000..a24dbe1bbd93e > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/nxp,s32n79-m= ru-msi.yaml [ ... ] > + reg: > + minItems: 1 > + maxItems: 32 > + description: > + Register space of each MRU instance, covering the channel control = page > + and the mailbox pages. > + > + interrupts: > + minItems: 1 > + maxItems: 32 > + description: > + SPI of each MRU instance, in the same order as the reg entries. [Severity: Medium] Should each MRU instance be its own DT node rather than packing up to 32 independent instances into parallel reg and interrupts arrays? Each MRU is an independent mailbox block with its own MMIO region and SPI, and the example merges instances 16 MiB apart. Grouping them works around of_check_msi_parent() only parsing index 0 of msi-parent, whereas writing-bindings.rst says bindings should describe hardware, not OS limits. Encoding that limitation into the DT ABI prevents describing per-instance resources such as clocks, power-domains, or resets, and forces rewriting the reg and interrupts arrays when reassigning an MRU. Modeling one instance per node (like fsl,mu-msi.yaml) lets the driver aggregate them. [ ... ] > + msi-controller@40a40000 { > + compatible =3D "nxp,s32n79-mru-msi"; > + msi-controller; > + #msi-cells =3D <0>; > + reg =3D <0x40a40000 0x40000>, > + <0x40a80000 0x40000>, > + <0x40ac0000 0x40000>, > + <0x40b00000 0x40000>, > + <0x41a40000 0x40000>, > + <0x41a80000 0x40000>, > + <0x41ac0000 0x40000>, > + <0x41b00000 0x40000>; > + interrupts =3D , [Severity: Low] This example places msi-controller and #msi-cells before reg and interrupts. Per Documentation/devicetree/bindings/dts-coding-style.rst, reg should foll= ow compatible, then interrupts, then msi-controller and #msi-cells, matching t= he order already used in the schema's properties and required lists. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-b4-s32n79-= mru-msi-v1-0-e66f9b0dfa79@oss.nxp.com?part=3D1