From: Conor Dooley <conor@kernel.org>
To: CL Wang <cl634@andestech.com>
Cc: broonie@kernel.org, linux-spi@vger.kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
tim609@andestech.com
Subject: Re: [PATCH V2 1/3] dt-bindings: spi: Add support for ATCSPI200 SPI controller
Date: Wed, 10 Dec 2025 18:36:28 +0000 [thread overview]
Message-ID: <20251210-repeated-perjurer-99219893524a@spud> (raw)
In-Reply-To: <20251210090430.3602380-2-cl634@andestech.com>
[-- Attachment #1: Type: text/plain, Size: 2593 bytes --]
On Wed, Dec 10, 2025 at 05:04:28PM +0800, CL Wang wrote:
> Document devicetree bindings for the Andes ATCSPI200 SPI controller.
>
> Signed-off-by: CL Wang <cl634@andestech.com>
> - Dropped the "spi_" prefix from dma-names as suggested.
> - Updated the DT binding and documented all compatible strings.
> - Added the "andestech,ae350-spi" compatible string.
>
> AE350 is part of the AndeShape™ platform family and is a commercially
> supported product with a fixed, documented SoC-level architecture (memory
> map, interrupt topology, and peripheral integration). Although AE350 is
> often deployed on FPGA boards, the platform behaves as a stable SoC
> integration rather than a prototype.
>
> Upstream Linux already accepts FPGA-based platform-level compatible strings
> for stable SoC-like integrations. For example, the Tensilica FPGA platform
> uses:
> compatible = "cdns,xtfpga-spi";
>
> Following the same rationale, "andestech,ae350-spi" is proposed as the
> platform-level compatible string for AE350-based devices.
>
> More information about AE350 can be found at:
> https://www.andestech.com/en/products-solutions/andeshape-platforms/ae350-axi-based-platform-pre-integrated-with-n25f-nx25f-a25-ax25/
>
> ---
> .../bindings/spi/andestech,qilai-spi.yaml | 86 +++++++++++++++++++
> 1 file changed, 86 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/spi/andestech,qilai-spi.yaml
>
> diff --git a/Documentation/devicetree/bindings/spi/andestech,qilai-spi.yaml b/Documentation/devicetree/bindings/spi/andestech,qilai-spi.yaml
> new file mode 100644
> index 000000000000..e58e6d675d70
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/spi/andestech,qilai-spi.yaml
> @@ -0,0 +1,86 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/spi/andestech,qilai-spi.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Andes ATCSPI200 SPI controller
> +
> +maintainers:
> + - CL Wang <cl634@andestech.com>
> +
> +properties:
> + compatible:
> + enum:
> + - andestech,qilai-spi
> + - andestech,ae350-spi
I accept the rationale for adding the ae350 compatible, but given the
lack of match data in your driver, you should pick one of these and have
it be the fallback for the other. If you pick ae350, rename the file to
match (since that'd be the "main" compatible then).
pw-bot: changes-requested
Cheers,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-12-10 18:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-10 9:04 [PATCH V2 0/3] spi: atcspi200: Add support for Andes ATCSPI200 SPI controller CL Wang
2025-12-10 9:04 ` [PATCH V2 1/3] dt-bindings: spi: Add support for " CL Wang
2025-12-10 18:36 ` Conor Dooley [this message]
2025-12-12 9:33 ` CL Wang
2025-12-11 5:31 ` Krzysztof Kozlowski
2025-12-12 9:49 ` CL Wang
2025-12-10 9:04 ` [PATCH V2 2/3] spi: atcspi200: Add ATCSPI200 SPI controller driver CL Wang
2025-12-10 9:04 ` [PATCH V2 3/3] MAINTAINERS: Add MAINTAINERS entry for the " CL Wang
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=20251210-repeated-perjurer-99219893524a@spud \
--to=conor@kernel.org \
--cc=broonie@kernel.org \
--cc=cl634@andestech.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=robh@kernel.org \
--cc=tim609@andestech.com \
/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;
as well as URLs for NNTP newsgroup(s).