[PATCH v2 0/3] Support for QCOM BAM DMA command descriptor
From: Abhishek Sahu
Date: Mon Jun 26 2017 - 08:49:49 EST
v2:
1. Added DMA_PREP_CMD flag and used the same for BAM DMA
command descriptor
2. Removed custom mapping API patches
v1:
https://www.spinics.net/lists/dmaengine/msg12009.html
These patches mainly add the support for QCOM BAM command
descriptor implementing BAM DMA support for some QCOM
peripherals like QPIC NAND/LCD.
The BAM command descriptors perform all register reads and
writes while data descriptors do the actual data transfer.
The QPIC NAND forms the chain of command and data descriptors
for full page read/write and submit it to BAM DMA.
Currently there is no flag in DMA API which tells the DMA
controller that the passed data is in command descriptor
format so added the flag in DMA API for this.
Abhishek Sahu (3):
dmaengine: add DMA_PREP_CMD for non-Data descriptors.
dmaengine: qcom: bam_dma: wrapper functions for command descriptor
dmaengine: qcom: bam_dma: add command descriptor flag
drivers/dma/qcom/bam_dma.c | 6 ++-
include/linux/dma/qcom_bam_dma.h | 79 ++++++++++++++++++++++++++++++++++++++++
include/linux/dmaengine.h | 3 ++
3 files changed, 87 insertions(+), 1 deletion(-)
create mode 100644 include/linux/dma/qcom_bam_dma.h
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation