spi: qup: Add DMA capabilities
authorAndy Gross <agross@codeaurora.org>
Wed, 4 Mar 2015 10:02:05 +0000 (12:02 +0200)
committerMark Brown <broonie@kernel.org>
Sat, 7 Mar 2015 11:21:20 +0000 (11:21 +0000)
commit612762e82ae6058d69b4ce734598491bf030afe7
tree3031966b4c6c9a1aa5a68615ffc5deb7c3c35ad1
parentc517d838eb7d07bbe9507871fab3931deccff539
spi: qup: Add DMA capabilities

This patch adds DMA capabilities to the spi-qup driver.  If DMA channels are
present, the QUP will use DMA instead of block mode for transfers to/from SPI
peripherals for transactions larger than the length of a block.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Reviewed-by: Ivan T. Ivanov <iivanov@mm-sol.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/qcom,spi-qup.txt
drivers/spi/spi-qup.c