commit | 2dd33f9cec90499029fd49ffae2922c3f9ccad11 | [log] [tgz] |
---|---|---|
author | Martin Kaiser <martin@kaiser.cx> | Thu Oct 20 00:42:25 2016 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Oct 24 18:04:23 2016 +0100 |
tree | 235bb1f6341311eb8954bfd5b55165c27e6e56bf | |
parent | 1001354ca34179f3db924eb66672442a173147dc [diff] |
spi: imx: support DMA for imx35 Support DMA transfers on imx35 and compatible chipsets (imx31, imx25). If DMA can be used, set the start mode control (SMC) bit to start the SPI burst as soon as data is written into the tx fifo. Configure DMA requests when the fifo is half empty during tx or half full during rx. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Mark Brown <broonie@kernel.org>