[PATCH V2 0/3] spi: atcspi200: Add support for Andes ATCSPI200 SPI controller

CL Wang posted 3 patches 3 days, 17 hours ago
.../bindings/spi/andestech,qilai-spi.yaml     |  86 +++
MAINTAINERS                                   |   6 +
drivers/spi/Kconfig                           |   9 +
drivers/spi/Makefile                          |   1 +
drivers/spi/spi-atcspi200.c                   | 680 ++++++++++++++++++
5 files changed, 782 insertions(+)
create mode 100644 Documentation/devicetree/bindings/spi/andestech,qilai-spi.yaml
create mode 100644 drivers/spi/spi-atcspi200.c
[PATCH V2 0/3] spi: atcspi200: Add support for Andes ATCSPI200 SPI controller
Posted by CL Wang 3 days, 17 hours ago
Hi all,

This series adds support for the Andes ATCSPI200 SPI controller.

Changes in v2 include:
  - Added missing clock disable/unprepare handling in probe error paths.
  - Switched to devm_dma_request_chan() for proper DMA channel cleanup.
  - Updated the DT binding and documented all compatible strings.
  - Dropped the "spi_" prefix from dma-names as suggested.
  - Added suspend/resume support for power management.
  - 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/

Patch overview:
  - Patch 1: Adds the device tree binding documentation.
  - Patch 2: Add ATCSPI200 SPI controller driver.
  - Patch 3: Add MAINTAINERS entry for the ATCSPI200 SPI controller driver.

Comments and reviews are welcome.
Thanks for your time.

Best regards,
CL

CL Wang (3):
  dt-bindings: spi: Add support for ATCSPI200 SPI controller
  spi: atcspi200: Add ATCSPI200 SPI controller driver
  MAINTAINERS: Add MAINTAINERS entry for the ATCSPI200 SPI controller
    driver

 .../bindings/spi/andestech,qilai-spi.yaml     |  86 +++
 MAINTAINERS                                   |   6 +
 drivers/spi/Kconfig                           |   9 +
 drivers/spi/Makefile                          |   1 +
 drivers/spi/spi-atcspi200.c                   | 680 ++++++++++++++++++
 5 files changed, 782 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/andestech,qilai-spi.yaml
 create mode 100644 drivers/spi/spi-atcspi200.c

-- 
2.34.1