[0/5] spi: uniphier: Introduce DMA transfer mode
mbox series

Message ID 1577149107-30670-1-git-send-email-hayashi.kunihiko@socionext.com
Headers show
  • spi: uniphier: Introduce DMA transfer mode
Related show


Kunihiko Hayashi Dec. 24, 2019, 12:58 a.m. UTC
This series introduces DMA transfer mode into UniPhier SPI driver.
This only supports UniPhier XDMAC implemented in the SoC.

The DMA transfer mode uses FIFO threshold as a trigger to start DMA transfer,
however, the FIFO is limited to one word width due to alignment restiction
of the DMA controller.

Kunihiko Hayashi (5):
  spi: uniphier: Fix FIFO threshold
  spi: uniphier: Change argument of irq functions to private structure
  spi: uniphier: Add handle_err callback function
  spi: uniphier: Add SPI_LOOP to the capabilities
  spi: uniphier: Add DMA transfer mode support

 drivers/spi/spi-uniphier.c | 261 +++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 241 insertions(+), 20 deletions(-)