From: Conor Dooley <conor@kernel.org>
To: Binbin Zhou <zhoubb.aaron@gmail.com>
Cc: Binbin Zhou <zhoubinbin@loongson.cn>,
Huacai Chen <chenhuacai@loongson.cn>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Yinbo Zhu <zhuyinbo@loongson.cn>, Mark Brown <broonie@kernel.org>,
Huacai Chen <chenhuacai@kernel.org>,
Xuerui Wang <kernel@xen0n.name>,
loongarch@lists.linux.dev, devicetree@vger.kernel.org,
linux-spi@vger.kernel.org, Bingxiong Li <libingxiong@loongson.cn>
Subject: Re: [PATCH v2 1/5] spi: dt-bindings: loongson,ls2k-spi: Document loongson,ls2k0300-spi compatible
Date: Tue, 1 Dec 2026 18:23:54 +0000 [thread overview]
Message-ID: <20261201-undesired-cold-382306db57af@spud> (raw)
In-Reply-To: <CAMpQs4L-MO==Dh0PWx6MOO5xfNqU+KYAKXDYDVhD4dXAccQhLA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2728 bytes --]
On Tue, Dec 01, 2026 at 10:57:22AM +0800, Binbin Zhou wrote:
> Hi Conor:
>
> On Tue, Dec 1, 2026 at 1:53 AM Conor Dooley <conor@kernel.org> wrote:
> >
> > On Mon, Nov 30, 2026 at 10:33:00AM +0800, Binbin Zhou wrote:
> > > The SPI flash controller on Loongson-2K0300 shares the same register
> > > layout and functionality as the one on Loongson-2K1000. Add a dedicated
> > > compatible string `loongson,ls2k0300-spi` with
> > > `loongson,ls2k1000-spi` as fallback to allow proper DT binding.
> > >
> >
> > > Also add an optional interrupts property, now that the driver supports
> > > interrupt-driven transfers in addition to polling.
> >
> > Driver has no relevance to whether or not the hardware can do it, so the
> > explanation should use that as a basis.
> >
> > I assume 2k1000, 2k0500 and 2k0300 all support interrupts?
>
> Yes, the SPI controller hardware on all three SoCs (2K1000, 2K0500, and
> 2K0300) support interrupts.
>
> Actually, adding `interrupts` is something that was missed in the
> series (commit bb8651fab896[1]). Would you prefer that I split the `interrupts`
> addition into a separate patch in v3, and reword the commit messages based
> on the hardware capabilities?
Eh, doesn't really bother me which way you do it, provided the commit
message says that all devices have interrupt capabilities.
Drop the mention of the driver code though please.
pw-bot: changes-requested
Thanks,
Conor.
>
> [1]: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git/commit/?h=for-next&id=46764ef4de201e0de647bfa35f018d30fd80d3f0
> >
> >
> > Cheers,
> > Conor.
> >
> > >
> > > Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
> > > ---
> > > Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml | 4 ++++
> > > 1 file changed, 4 insertions(+)
> > >
> > > diff --git a/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml b/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml
> > > index de9d32feadf5..8a36dbece788 100644
> > > --- a/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml
> > > +++ b/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml
> > > @@ -19,6 +19,7 @@ properties:
> > > - loongson,ls2k1000-spi
> > > - items:
> > > - enum:
> > > + - loongson,ls2k0300-spi
> > > - loongson,ls2k0500-spi
> > > - const: loongson,ls2k1000-spi
> > >
> > > @@ -28,6 +29,9 @@ properties:
> > > clocks:
> > > maxItems: 1
> > >
> > > + interrupts:
> > > + maxItems: 1
> > > +
> > > required:
> > > - compatible
> > > - reg
> > > --
> > > 2.52.0
> > >
> > >
>
> --
> Thanks.
> Binbin
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-12-01 18:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 2:32 [PATCH v2 0/5] spi: loongson: SPI-IO driver for Loongson-2K0300 Binbin Zhou
2026-11-30 2:33 ` [PATCH v2 1/5] spi: dt-bindings: loongson,ls2k-spi: Document loongson,ls2k0300-spi compatible Binbin Zhou
2026-11-30 17:53 ` Conor Dooley
2026-12-01 2:57 ` Binbin Zhou
2026-12-01 18:23 ` Conor Dooley [this message]
2026-11-30 2:33 ` [PATCH v2 2/5] spi: dt-bindings: loongson,ls2k-spi: Document loongson,ls2k0300-spi-io compatible Binbin Zhou
2026-11-30 2:33 ` [PATCH v2 3/5] spi: loongson: Add spi-io interrupt-driven driver Binbin Zhou
2026-11-30 2:48 ` sashiko-bot
2026-11-30 2:33 ` [PATCH v2 4/5] spi: loongson: Add DMA support to SPI-IO driver Binbin Zhou
2026-11-30 2:53 ` sashiko-bot
2026-11-30 2:33 ` [PATCH v2 5/5] MAINTAINERS: Add myself as Loongson SPI maintainer Binbin Zhou
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=20261201-undesired-cold-382306db57af@spud \
--to=conor@kernel.org \
--cc=broonie@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@xen0n.name \
--cc=krzk+dt@kernel.org \
--cc=libingxiong@loongson.cn \
--cc=linux-spi@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=robh@kernel.org \
--cc=zhoubb.aaron@gmail.com \
--cc=zhoubinbin@loongson.cn \
--cc=zhuyinbo@loongson.cn \
/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