From patchwork Fri Sep 18 06:29:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 292773 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B6ABC43464 for ; Fri, 18 Sep 2020 06:30:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EB2CF21734 for ; Fri, 18 Sep 2020 06:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600410622; bh=f+UJt77FBOV84lPqPvwhu9odrmdgbM8zk/JtwKt07OY=; h=From:To:Cc:Subject:Date:List-ID:From; b=jfNjfHRKwM4kCneUjpy8ItxxErzlR3IgHkwoa8Lxj66AbD2QGuoJrs8rxtK2hW/P2 5ZTO1bmC74ZfLam9q8RMRUe5tqlSeivrL/RPv4CewK9qEQL1YKeWkIr+2QP2ldegOz edFaxELDOwaVjzv0ZQ9DW1jCSzt/z1P0+/Mbh4Gw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726388AbgIRGaR (ORCPT ); Fri, 18 Sep 2020 02:30:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:33090 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725886AbgIRGaR (ORCPT ); Fri, 18 Sep 2020 02:30:17 -0400 Received: from localhost.localdomain (unknown [136.185.124.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C0D2E20DD4; Fri, 18 Sep 2020 06:30:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600410616; bh=f+UJt77FBOV84lPqPvwhu9odrmdgbM8zk/JtwKt07OY=; h=From:To:Cc:Subject:Date:From; b=trVJbqszaKuIBUzrb1htkXECCg/C4bCqnlp8I5XWN493UuKcIlx9WF6MZfouw4Rtg D6vfqDHqP3ynJBdQC1zqwuXiuqGqRLMFwRLAbcvsoc0p7hg9AFgphvA1lrJVdMcqbz m3nXpJ/DoLgV/Dzz8CwCIyE7CdDi7cWWjTmTDjzI= From: Vinod Koul To: dmaengine@vger.kernel.org Cc: Vinod Koul , Rob Herring , Bjorn Andersson , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Ujfalusi Subject: [PATCH v2 0/3] dmaengine: Add support for QCOM GSI dma controller Date: Fri, 18 Sep 2020 11:59:52 +0530 Message-Id: <20200918062955.2095156-1-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series adds support for Qcom GSI dma controller found on Qualcomm SoCs. This controller can program the peripheral configuration so we add additional parameters in dma_slave_config for configuring the peripherals like spi and i2c. Changes in v2: - Update the binding and drop qcom specific properties - Move peripheral configuration as a pointer - Move submit queue for transactions to issue_pending Vinod Koul (3): dt-bindings: dmaengine: Document qcom,gpi dma binding dmaengine: add peripheral configuration dmaengine: qcom: Add GPI dma driver .../devicetree/bindings/dma/qcom,gpi.yaml | 86 + drivers/dma/qcom/Kconfig | 12 + drivers/dma/qcom/Makefile | 1 + drivers/dma/qcom/gpi.c | 2280 +++++++++++++++++ include/dt-bindings/dma/qcom-gpi.h | 11 + include/linux/dmaengine.h | 90 + 6 files changed, 2480 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/qcom,gpi.yaml create mode 100644 drivers/dma/qcom/gpi.c create mode 100644 include/dt-bindings/dma/qcom-gpi.h