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=1796006867; b=gPm3ypwZwNPpFqnSj0cuWrD9dass+dUo83cPz31JqRbBjyUd2Qpw+KW9Qn/1LBdq5hAa IeMxWwqTjtnNqdBDr2sI0w5jm7gmnXm6XgxVxjEyRN6aq2ozjt0k11gIfWVf2FJeEyDKk e2xtATrgObYevPR53osB8GWQY0gJ4B64GPBbbNOUZMgpSSeia4xXHcaXBu/qgCOfnzaLI lOY7BNqEksl222MvmDFH6EtZiTSTyB7wP6pTF238lJ/+GNqb/JMw89j+3nMHZSrGF2GiP smQEwqSjFYQJUO56zVO2iQoe3KC2dN0B5/5P9xneIU4WL/VE+veVVMzEtn8qeNLYkig== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796006867; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=2e8a1kzKIV3LMtNFjjOATCXCTJvvSu3wEoFnl+whE8A=; b=qqXU977unjGSM6w84QUxGp2EjWtBlPreqRhIu14KwX3DoW1Qyu4KJGs5aeuS+iuQTNhv VwegTLaZO+1JtjvykOZGILGiiujzCeUPqwG5gXOSKDGQ9OFtC/igJLdcebCYXvqBW63sH okVNN/FYVKnky+06ImP2yS2qVxri46/yX4sLhD4btQmmovTl1PvJFbhsDKEaR4MkztDSz klYxXEs3twpDzc+SMonPjZbsHluLDgEawdVzjeG6ReN5ZHCE7N4b11H5SllaQ6XicfAII BnKc4Vn0ggkNHeYtFn+cFV8hR5rbDkgUjDrv5VA/ImOzxv9/7WPTY8TaFECcGpUyo8g== 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=KZI5m5Tq; 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 7E3E9606A338 for ; Mon, 30 Nov 2026 02:47:47 +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=KZI5m5Tq Received: by smtp.kernel.org (Postfix) with ESMTPSA id C97A11F000C1; Mon, 30 Nov 2026 02:47:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796006867; bh=2e8a1kzKIV3LMtNFjjOATCXCTJvvSu3wEoFnl+whE8A=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=KZI5m5TqLk5zfiDihyTQFbythCGHDo4XH4qt7g7sK2nbyB7T5abOULTkdXMaoUnbU FX6zHTw9KoKSEt09jJoe6Xg+I/zdsloyiVR0cLlqGREOzBAqD0iiX/sD7Ycq9vGuLu grPl5a/8neShPjPRzOWR8eMN8zCiLvqsTkmtjOGHs8XmC17LF+Mbg2kKfA8ZqVrykA ArKRtpjAzsrGlJsEjUR6jr3vMg/jZqkwBVO/c1fz80+V48NhnCyhrTsKneZlJRuILN tewjjaaNJeZf8XNwG/cfSIfA6nQm8UI00Kl+vKvghjo02znLjn4vZnaauEtX0fjEcZ pFbJEXaoIH6nQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 1/5] spi: dt-bindings: snps,dwc-ssi-2.02a: Add DWC SSI v2.02a controller binding Reply-To: sashiko-reviews@lists.linux.dev To: "Prakriti Sharma" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Nov 2026 02:47:46 +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 3 potential issues to consider: - [Medium] dt-bindings: spi: snps,dwc-ssi-2.02a: XIP properties encode OS policy - [Low] dt-bindings: spi: snps,dwc-ssi-2.02a: redundant word binding in subject - [Low] dt-bindings: spi: snps,dwc-ssi-2.02a: interrupts ordered before clocks -- commit e008bf8dcdd6fda311d76264fb0cb3d47975ceeb Author: Siddhant Kumar spi: dt-bindings: snps,dwc-ssi-2.02a: Add DWC SSI v2.02a controller binding This commit adds the Device Tree binding schema for the Synopsys DesignWare SSI Gen2 (DWC_ssi v2.02a) SPI controller and adds a corresponding entry in MAINTAINERS. > spi: dt-bindings: snps,dwc-ssi-2.02a: Add DWC SSI v2.02a controller bindi= ng [Severity: Low] The "dt-bindings:" prefix already indicates that this patch adds a binding, so the trailing word "binding" in the subject line is redundant and can be dropped. > diff --git a/Documentation/devicetree/bindings/spi/snps,dwc-ssi-2.02a.yam= l b/Documentation/devicetree/bindings/spi/snps,dwc-ssi-2.02a.yaml > new file mode 100644 > index 0000000000000..7294c9b2694b4 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/snps,dwc-ssi-2.02a.yaml > @@ -0,0 +1,191 @@ [ ... ] > + interrupts: > + description: | > + The DWC SSI Gen2 IP exposes per-source interrupt outputs alongside= a > + combined ssi_intr. SoC integrators may route either the combined l= ine, > + the individual lines, or any subset. Provide either a single combi= ned > + IRQ, or one entry per declared name in interrupt-names (matching o= rder). > + minItems: 1 > + maxItems: 4 > + > + interrupt-names: > + description: | > + Optional. Naming for each physical IRQ line when the SoC breaks the > + controller's interrupt output into multiple wires. Each name is ga= ted > + by its corresponding ISR bit in the controller: > + "rxf" - RX FIFO threshold (SSI_RXF_INTR, ISR.RXFI) > + "txe" - TX FIFO threshold (SSI_TXE_INTR, ISR.TXEI) > + "txaf" - TX FIFO almost full (ssi_txaf_intr, ISR.TXAFI) > + "wsf" - Write status fail (spi_wr_status_fail_intr, ISR.SPIWS= FI) > + Omit this property if the SoC combines all sources onto one wire. > + minItems: 1 > + maxItems: 4 > + items: > + enum: [rxf, txe, txaf, wsf] > + > + clocks: > + minItems: 1 > + items: > + - description: SSI controller reference clock > + - description: APB interface clock > + > + clock-names: > + minItems: 1 > + items: > + - const: ssi_clk > + - const: pclk [Severity: Low] To follow the canonical DT schema property ordering (compatible, reg, reg-names, clocks, clock-names, interrupts, interrupt-names), clocks and clock-names should be placed before interrupts and interrupt-names here in properties, as well as in the required list and the example node below. [ ... ] > + snps,xip-enabled: > + type: boolean > + description: | > + Enable the controller XIP engine for memory-mapped flash access th= rough > + the second reg window (xip_mem). Requires that window to be descri= bed. > + > + snps,xip-continuous-mode: > + type: boolean > + description: | > + Set XIP_CTRL continuous-transfer mode so the controller omits the > + command byte on subsequent sequential reads while CS stays asserte= d. > + The attached flash must support continuous read (for example Fast = Read > + Quad I/O with mode bits). Requires snps,xip-enabled. > + > + snps,xip-prefetch-mode: > + type: boolean > + description: | > + Set XIP_CTRL hardware prefetch so the controller may fetch the next > + line after a completed XIP access. Requires snps,xip-enabled. [Severity: Medium] Do these three properties encode driver runtime policy rather than hardware characteristics? Whether the SoC wires an XIP memory-mapped window is already described by the presence of the xip_mem reg entry, making snps,xip-enabled a software switch for whether the driver uses direct mapping over indirect FIFO transfers. Similarly, snps,xip-continuous-mode depends on the attached flash device's protocol capabilities, and snps,xip-prefetch-mode is a workload-dependent tuning knob rather than a fixed property of the controller integration. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/cover.1795683279.gi= t.prakriti@synopsys.com?part=3D1