commit | 245308c6217027c0d7fc8c3cf2bf95858c704d7b | [log] [tgz] |
---|---|---|
author | Ludovic Barre <ludovic.barre@st.com> | Mon Mar 25 18:01:40 2019 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue Mar 26 13:26:41 2019 +0000 |
tree | 4c70aaf4b3031c95e437b49229b7bb3efecc22c0 | |
parent | a88eceb17ac7e8dc4ad9995681af61c8371668f4 [diff] |
spi: stm32-qspi: add dma support This patch adds the dma support for the stm32-qspi hardware. The memory buffer constraints (lowmem, vmalloc, kmap) are taken into account by framework. 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. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>