]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: qup: Add V2 tags support
authorSricharan R <sricharan@codeaurora.org>
Mon, 18 May 2015 10:31:36 +0000 (16:01 +0530)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:58 +0000 (09:54 +0000)
commitc52cbdc3d647a444b010f28515d5797663d03e17
treef8b98838b8ca9729e78e5ac8e734e45c843e5aea
parentae1841d5bb39ec9e3761b16f79b87cf6fc92de7a
i2c: qup: Add V2 tags support

QUP from version 2.1.1 onwards, supports a new format of
i2c command tags. Tag codes instructs the controller to
perform a operation like read/write. This new tagging version
supports bam dma and transfers of more than 256 bytes without 'stop'
in between. Adding the support for the same.

For each block a data_write/read tag and data_len tag is added to
the output fifo. For the final block of data write_stop/read_stop
tag is used.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
drivers/i2c/busses/i2c-qup.c