From: sashiko-bot@kernel.org
To: "Paul Cercueil" <paul.cercueil@bootlin.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v6 4/4] spi: dt-bindings: cadence: Make XSPI's IRQ line optional
Date: Thu, 03 Dec 2026 09:20:25 +0000 [thread overview]
Message-ID: <sashiko-outbox-247450@kernel.org> (raw)
In-Reply-To: <20261203091112.9449-5-paul.cercueil@bootlin.com>
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 <tanmay@marvell.com>
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/Documentation/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
>
> 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 describe
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.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203091112.9449-1-paul.cercueil@bootlin.com?part=4
prev parent reply other threads:[~2026-12-03 9:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 9:11 [PATCH v6 0/4] spi: cadence-xspi: Add support for panic mem writes Paul Cercueil
2026-12-03 9:11 ` [PATCH v6 1/4] spi: cadence-xspi: Handle SDMA errors in cdns_xspi_is_sdma_ready() Paul Cercueil
2026-12-03 9:28 ` sashiko-bot
2026-12-03 9:11 ` [PATCH v6 2/4] spi: cadence-xspi: Add irq-less support Paul Cercueil
2026-12-03 9:11 ` [PATCH v6 3/4] spi: cadence-xspi: Add support for panic writes Paul Cercueil
2026-12-03 9:11 ` [PATCH v6 4/4] spi: dt-bindings: cadence: Make XSPI's IRQ line optional Paul Cercueil
2026-12-03 9:20 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-247450@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=paul.cercueil@bootlin.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox