OSDN Git Service

i2c: qcom-geni: Add support for GPI DMA
authorVinod Koul <vkoul@kernel.org>
Mon, 21 Feb 2022 10:27:16 +0000 (15:57 +0530)
committerWolfram Sang <wsa@kernel.org>
Tue, 1 Mar 2022 15:08:59 +0000 (16:08 +0100)
commitd8703554f4dea9775417525b22b3d65ed1c6b16e
treeee8c085eb53c630b117867de56096e0ede0306ed
parentda2e86c0bd7bc6fdb116dd03c041cf816205cbdc
i2c: qcom-geni: Add support for GPI DMA

QUP Serial engines supports data transfers thru FIFO mode, SE DMA mode
and lastly GPI DMA mode. Former two are already supported and this adds
supports for the last mode.

In GPI DMA mode, the firmware is issued commands by driver to perform
DMA and setup the serial port.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-qcom-geni.c