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

Sergey Suloev ssuloev at orpaltech.com
Fri Mar 30 05:50:41 PDT 2018


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()
function.

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 | 507 ++++++++++++++++++++++++++++++++++++------------
 1 file changed, 381 insertions(+), 126 deletions(-)

-- 
2.16.2




More information about the linux-arm-kernel mailing list