[PATCH v3 0/6] spi: Add support for DMA transfers in sun6i SPI driver

From: Sergey Suloev
Date: Tue Apr 03 2018 - 11:46:19 EST

The following patchset provides corrections for PIO-mode
and support for DMA transfers in sun6i SPI driver.

Changes in v2:
1) Fixed issue with misplacing a piece of code that requires access
to the transfer structure into sun6i_spi_prepare_message() function
where the transfer structure is not available.

2) Fixed issue with passing an invalid argument into devm_request_irq()

Changes in v3:
1) Restored processing of 3/4 FIFO full interrupt.

2) Debug log enhancements.

Sergey Suloev (6):
spi: sun6i: coding style/readability improvements
spi: sun6i: handle chip select polarity flag
spi: sun6i: restrict transfer length in PIO-mode
spi: sun6i: use completion provided by SPI core
spi: sun6i: introduce register set/unset helpers
spi: sun6i: add DMA transfers support

drivers/spi/spi-sun6i.c | 526 ++++++++++++++++++++++++++++++++++++------------
1 file changed, 402 insertions(+), 124 deletions(-)