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=1796289626; b=CknOjMSA8F6aGOlhrh/TSs1edQ/kRJpnGIU3ydjcTs3JMo8f3EpwsYLW7+Yh31fD/E93 /+fz24m7BIcNjdbi13ebYeodu+/CIt4epbRUlM0El5IlunId5XbXq96YqylQbVqZphWGD ucNiPPGK3DLggA8jlPWU/KlcO7IOQ5jOk2XyasGBeyC8Uc/EWf2JQGK2lQvoHBu9YPXNL aFN1EJOSyeTnPf01/eHIFrwOKco7VMYjoftqRb5F/bWdzC10qsf+oqhNn+4tcmmwlcII4 vmgCYQgJtQni0xdEhP5a9h859+6zvdWGQ6dMIz6vPxO3ZpaXbJl82hcDduabHEt4V1Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796289626; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=TBp0aOqtfX423An23qtgeoI8P0EFV5OrvaW/M2blStw=; b=tVHsQRiGU8I/e0/iWspEPwsNQAwNBO5KG34kf4JlPs9ckv48eKmCr0oODT6bkwdTyv2a sttDglbKy2isP0XsVC+aJGHss2VcfMh+AWm0sYLMiKpRdlJitsOXS10XYnsi3lDGnp8pZ P28YGfFEtp5YrULimYxK06ZTkmdEytDtH5kFuRx73eIAPVG8+v/6GXYoZE9IJ0lLlDvnA 1OCP/2P9Q2WYRq6Q9tPEMvRZR2IAwf57YeGRMKcmf0c2XaC6jbrqaX//KJmgqIyENkDvm PDOK0u1Hny9/5rJnnUBrNBhVqgLCFz56wBKdT/lxX2pLrye3NPe3camGTpQlWxP8Q6A== 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=Sj7kYXUI; 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 51CC7606A683 for ; Thu, 3 Dec 2026 09:20:26 +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=Sj7kYXUI Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5DFC1F000C1; Thu, 3 Dec 2026 09:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796289625; bh=TBp0aOqtfX423An23qtgeoI8P0EFV5OrvaW/M2blStw=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Sj7kYXUI3bK0npQqq8Yonb2FFd1GQuaS9sBiosc4u9HUV5E+Lj4wXG+wCY5QX78ob ZuLshJ2QmTAAzF3LoNOne/TDi6OF7+yl/DgyyUSTYsWblK0HB4pECQr6MQ0dh2AcpF sFbyg2jIM04tGzY2ktXYHhDe9ZjGvs4A9GQ1hq3uH3c+iKMFRaln2aRNkgossfWlGU BlJeUwLwmCA9Bn4FNTVq9y/HnhJvl80uINtt+6n52sJvc71O3GxUmKfOXCd1aFbBCG HkxKnPI7b3FWWfXkeYgPcCjv9Y/zXeqOIu9ybX6bRYGjXkE6Hl/xD/QdJ4Iy9cSy9C 5BPnC1Tg/RCTQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v6 4/4] spi: dt-bindings: cadence: Make XSPI's IRQ line optional Reply-To: sashiko-reviews@lists.linux.dev To: "Paul Cercueil" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203091112.9449-5-paul.cercueil@bootlin.com> References: <20261203091112.9449-1-paul.cercueil@bootlin.com> <20261203091112.9449-5-paul.cercueil@bootlin.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 09:20:25 +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 1 potential issue to consider: - [Medium] dt-bindings: spi: interrupts made optional based on driver, not hardware -- commit cb8add302babbaa3f1c062f4de1de3b237c3eb19 Author: Tanmay Jagdale spi: dt-bindings: cadence: Make XSPI's IRQ line optional This commit removes interrupts from the required properties list in the Cadence XSPI Device Tree binding. > diff --git a/Documentation/devicetree/bindings/spi/cdns,xspi.yaml b/Docum= entation/devicetree/bindings/spi/cdns,xspi.yaml > index b19c2e051e189..b9b8e0cfaa920 100644 > --- a/Documentation/devicetree/bindings/spi/cdns,xspi.yaml > +++ b/Documentation/devicetree/bindings/spi/cdns,xspi.yaml > @@ -56,7 +56,6 @@ dependencies: > required: > - compatible > - reg > - - interrupts > =20 > allOf: > - $ref: spi-controller.yaml# [Severity: Medium] Should interrupts be dropped from required based on Linux driver polling support rather than hardware wiring? Per Documentation/devicetree/bindings/writing-bindings.rst, bindings descri= be the hardware rather than driver capabilities, and should still include interrupts even if a driver can poll. Relaxing required globally weakens dtbs_check for all compatibles, breaks compatibility with older kernels where cdns_xspi_probe() fails with -ENXIO without interrupts, and can silently degrade hardware with a wired IRQ line to polled mode. If some hardware integrations physically leave the XSPI IRQ line unwired, document that in the commit message and keep interrupts required under allOf for fixed SoCs such as marvell,cn10-xspi-nor where the line is always wired. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203091112.9449= -1-paul.cercueil@bootlin.com?part=3D4