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

From: Kunihiko Hayashi
Date: Mon Dec 23 2019 - 19:58:50 EST


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

--
2.7.4