Skip to content

spi: Add support for DMA transfers in sun6i SPI driver

Sergey Suloev linux-arm-kernel linux-spi lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 22 repliesIn review
  2. v2 posting 2/26 patches 11 repliesSuperseded
  3. v2 posting 1/26 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches1 replySuperseded

Changes in v3 from the cover letter

1) Restored processing of 3/4 FIFO full interrupt.

2) Debug log enhancements.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6spi: sun6i: coding style/readability improvementsdrivers/spi/spi-sun6i.c+58 -391 reply
2/6spi: sun6i: handle chip select polarity flagdrivers/spi/spi-sun6i.c+6 -00 replies
3/6spi: sun6i: restrict transfer length in PIO-modedrivers/spi/spi-sun6i.c+17 -2418 replies
4/6spi: sun6i: use completion provided by SPI coredrivers/spi/spi-sun6i.c+30 -221 reply
5/6spi: sun6i: introduce register set/unset helpersdrivers/spi/spi-sun6i.c+16 -211 reply
6/6spi: sun6i: add DMA transfers supportdrivers/spi/spi-sun6i.c+294 -371 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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.

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(-)
Signature · 1 line
2.16.2