mbox series

[V2,0/2] spi: stm32-qspi: add dma support

Message ID 1553533300-29999-1-git-send-email-ludovic.Barre@st.com (mailing list archive)
Headers show
Series spi: stm32-qspi: add dma support | expand

Message

Ludovic BARRE March 25, 2019, 5:01 p.m. UTC
From: Ludovic Barre <ludovic.barre@st.com>

This patch series adds dma support for the stm32-qspi.
In read mode, the memory map is preferred vs dma
(due to better throughput). If the dma transfer fails the buffer is
sent by polling.

V2:
-fixe build error in patch 1/2 (move qspi->phys_base in patch 2)

Ludovic Barre (2):
  spi: stm32-qspi: add spi_master_put in release function
  spi: stm32-qspi: add dma support

 drivers/spi/spi-stm32-qspi.c | 182 ++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 163 insertions(+), 19 deletions(-)