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