Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751972AbdHAOL7 (ORCPT ); Tue, 1 Aug 2017 10:11:59 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57794 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751339AbdHAOL4 (ORCPT ); Tue, 1 Aug 2017 10:11:56 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 90CE860311 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=absahu@codeaurora.org From: Abhishek Sahu To: vinod.koul@intel.com, corbet@lwn.net, dan.j.williams@intel.com Cc: andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Abhishek Sahu Subject: [PATCH v3 0/3] Support for QCOM BAM DMA command descriptor Date: Tue, 1 Aug 2017 19:41:41 +0530 Message-Id: <1501596704-21137-1-git-send-email-absahu@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1221 Lines: 37 v3: 1. Added Documentation for new flag 2. Changed the flag description 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. 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 Documentation/dmaengine/provider.txt | 7 ++++ drivers/dma/qcom/bam_dma.c | 6 ++- include/linux/dma/qcom_bam_dma.h | 79 ++++++++++++++++++++++++++++++++++++ include/linux/dmaengine.h | 4 ++ 4 files changed, 95 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