From patchwork Mon Nov 9 08:54:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 11890657 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AF1C76A2 for ; Mon, 9 Nov 2020 08:55:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8F888207BC for ; Mon, 9 Nov 2020 08:55:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604912103; bh=0jSgpA402jampuOv0Dsy4QYdmYwPUsvT0bHAswyJN/U=; h=From:To:Cc:Subject:Date:List-ID:From; b=0+xwm7u9V1qM3iWKNw1Yg/7pPgNvhDKGOJxXbJDaPUeRp3MCwC/b+2ixC4BeJNihz 2IA8sKzmltTrhX9UXJNrkwS3eM0A6I66JlrULZtjYyB+Gpl90qYt12qG1v5nWxDxpG GEZdFWVMpHNEIDN7Od41scq1Z21nWCqDCdyNztD4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727920AbgKIIy7 (ORCPT ); Mon, 9 Nov 2020 03:54:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:44430 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbgKIIy7 (ORCPT ); Mon, 9 Nov 2020 03:54:59 -0500 Received: from localhost.localdomain (unknown [122.171.147.34]) (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 DEF1C206ED; Mon, 9 Nov 2020 08:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604912098; bh=0jSgpA402jampuOv0Dsy4QYdmYwPUsvT0bHAswyJN/U=; h=From:To:Cc:Subject:Date:From; b=iM/dwx0zZCUVRrtqMri+DsQ41C2H6Jv4Arj7+UQ2ROiDqXv+7C2lC/3aGP4ZWsykY mOCFXp6ov9gcbmNNvD1oS6epF5iUkANA3WKvscgoeW4v4VUVnBnFmlDJiCfqOPgb28 bpoGw8dOOHQO4ph9eT+w7Sf82PRMg9vAsdaSK77Y= From: Vinod Koul To: dmaengine@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Ujfalusi Subject: [PATCH v6 0/3] dmaengine: Add support for QCOM GSI dma controller Date: Mon, 9 Nov 2020 14:24:47 +0530 Message-Id: <20201109085450.24843-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 v6: - Fix error reported by dt tool Changes in v5: - Add acked by Rob - Move qcom-gpi-dma.h header to include/linux/dma/ - rebase and test on v5.10-rc2 Changes in v3: - Update the i2c tre creation based on testing feedback 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 | 88 + drivers/dma/qcom/Kconfig | 12 + drivers/dma/qcom/Makefile | 1 + drivers/dma/qcom/gpi.c | 2303 +++++++++++++++++ include/dt-bindings/dma/qcom-gpi.h | 11 + include/linux/dma/qcom-gpi-dma.h | 83 + include/linux/dmaengine.h | 5 + 7 files changed, 2503 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 create mode 100644 include/linux/dma/qcom-gpi-dma.h