Re: [PATCH v2 00/15] Add support for enhanced SPI for Designware SPI controllers

From: Serge Semin
Date: Sun Dec 18 2022 - 13:29:22 EST


Hi Sudip

On Mon, Dec 12, 2022 at 06:07:17PM +0000, Sudip Mukherjee wrote:
> The is v2 of the patch series adding enhanced SPI support. Some Synopsys SSI
> controllers support enhanced SPI which includes Dual mode, Quad mode and
> Octal mode. DWC_ssi includes clock stretching feature in enhanced SPI modes
> which can be used to prevent FIFO underflow and overflow conditions while
> transmitting or receiving the data respectively.
>
> This is almost a complete rework based on the review from Serge.

Thank you very much for the series. I'll have a look at it on the next
week.

-Serge(y)

>
>
> --
> Regards
> Sudip
>
> Sudip Mukherjee (15):
> spi: dw: Introduce spi_frf and STD_SPI
> spi: dw: update NDF while using enhanced spi mode
> spi: dw: update SPI_CTRLR0 register
> spi: dw: add check for support of enhanced spi
> spi: dw: Introduce enhanced mem_op
> spi: dw: Introduce dual/quad/octal spi
> spi: dw: send cmd and addr to start the spi transfer
> spi: dw: update irq setup to use multiple handler
> spi: dw: use irq handler for enhanced spi
> spi: dw: Calculate Receive FIFO Threshold Level
> spi: dw: adjust size of mem_op
> spi: dw: Add retry for enhanced spi mode
> spi: dw: detect enhanced spi mode
> spi: dt-bindings: snps,dw-ahb-ssi: Add generic dw-ahb-ssi version
> spi: dw: initialize dwc-ssi controller
>
> .../bindings/spi/snps,dw-apb-ssi.yaml | 1 +
> drivers/spi/spi-dw-core.c | 347 +++++++++++++++++-
> drivers/spi/spi-dw-mmio.c | 1 +
> drivers/spi/spi-dw.h | 27 ++
> 4 files changed, 364 insertions(+), 12 deletions(-)
>
> --
> 2.30.2
>