All of lore.kernel.org
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Binbin Zhou <zhoubinbin@loongson.cn>
Cc: Binbin Zhou <zhoubb.aaron@gmail.com>,
	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: Mon, 30 Nov 2026 17:53:01 +0000	[thread overview]
Message-ID: <20261130-rocket-broken-44afed17c091@spud> (raw)
In-Reply-To: <2e9e45a031c4b65e36756cfdf0e575b46ccb34ea.1796005812.git.zhoubinbin@loongson.cn>

[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]

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?


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
> 
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-11-30 17:53 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 [this message]
2026-12-01  2:57     ` Binbin Zhou
2026-12-01 18:23       ` Conor Dooley
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=20261130-rocket-broken-44afed17c091@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.