i2c: qup: Add bam dma capabilities
authorSricharan R <sricharan@codeaurora.org>
Mon, 22 Feb 2016 12:08:15 +0000 (17:38 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 24 Feb 2016 10:07:59 +0000 (11:07 +0100)
commit9cedf3b2f099465605deeea65bedad95b450fa66
tree8e57e17ea3385e839e71b5db8fd7cdac08300073
parent9f8f53a61750c23b045e9a9912ba6c2b75eac7e8
i2c: qup: Add bam dma capabilities

QUP cores can be attached to a BAM module, which acts as
a dma engine for the QUP core. When DMA with BAM is enabled,
the BAM consumer pipe transmitted data is written to the
output FIFO and the BAM producer pipe received data is read
from the input FIFO.

With BAM capabilities, qup-i2c core can transfer more than
256 bytes, without a 'stop' which is not possible otherwise.

Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Reviewed-by: Andy Gross <andy.gross@linaro.org>
Tested-by: Archit Taneja <architt@codeaurora.org>
Tested-by: Telkar Nagender <ntelkar@codeaurora.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-qup.c