From patchwork Tue Nov 3 11:25:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 320396 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp4499791ilc; Tue, 3 Nov 2020 03:26:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJziFr45vrL+ULY5lTd8G9uC4Yof/sHrdcUbkHe41JxNKLvEbnKpOXvX9im7f61ZfOTLPTmK X-Received: by 2002:aa7:c597:: with SMTP id g23mr12239899edq.184.1604402760021; Tue, 03 Nov 2020 03:26:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604402760; cv=none; d=google.com; s=arc-20160816; b=QYePwB8nWB+BK18OkTWECC98lf4CS9eBjdtrDBZG09hjDCmF79dg04t5kZxA59f+fK SdYIzzoazcz2xm3e89Xs24GJLmPdFuRGl2qi20LcDKn35mXqHs1WCJxxl5mwclTsvJvN rIAIpsxFLSitScG8IXsPWN6z/WnHDy9v3bEjWUrG5AUVjpD1rO38bTZ5bypA2WCaQiSf uoHZZHupQnVrSUBgY1hZwUhVsnW9cO+WXfZrSTrxyBHNqtMD1/1JbiXpWNWQ7r/xPrlw AF7dyH/R7ugkhsAXiwp43SHewPwlxLkTlgCK2glVhicEbfFLA5zq/RFlfAQyERiWfuhZ LA9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cx6tv0f7Iz1ssUYyKv3XzbiJCz9YcCWLiArUeJ9Sk6s=; b=PbQSDazCFwMPVa3RFtTzWAUxMKvxQ6gYmj9aUlFU2e2A3HlFcYAt3sPf7XCmykeZeK Bb+i6PcOUnCUEMwZgSxViIgJ7SqaXuxqNJLrSaOysTV4IuxLdlG8Wc9YahlnD7ASBsLa AXbAhhUdpa6MgNFj6g7ImEiD2y/+NYbuLFnXEnMi5b4eDt47lj6C6nm3OqyhSXsDDE24 2wKAS4xGjvomEvelqu2AecVFkygp4B3XC7WNqDAYVoDBTNG4BuZe+1HTWiMSeg2DHNpK dfggj8g6cDk8TAhdvtPCqiyGn7Cn0b2+S23GUXelOxkQBzTdjCVagFPb056crzDulRuA 2E5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eHjQokZK; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n6si6117224ejx.303.2020.11.03.03.25.59; Tue, 03 Nov 2020 03:26:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eHjQokZK; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728249AbgKCLZ6 (ORCPT + 15 others); Tue, 3 Nov 2020 06:25:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:45932 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726058AbgKCLZ6 (ORCPT ); Tue, 3 Nov 2020 06:25:58 -0500 Received: from localhost.localdomain (unknown [122.179.37.237]) (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 6BF6520731; Tue, 3 Nov 2020 11:25:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604402757; bh=bI/cN2eK3dgD8W09CCdUq1uvP05TdDTIOdYfKBD5af8=; h=From:To:Cc:Subject:Date:From; b=eHjQokZKwmzyPkSoDOz8FI5mSFZAhigtrhEJdazY1sKr3FbFdgWkK15DM2DliluF1 xUCyWiDDOA7fEPuW1Bfe9M7debFa3wXznQ3pgfXUg3Z0m8ZxherQSTB7MOfcXnaCNm WRyjOu/cM5PmDNjn9EZg4Q89gtRbtNOh8SgGXARQ= 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 v5 0/3] dmaengine: Add support for QCOM GSI dma controller Date: Tue, 3 Nov 2020 16:55:41 +0530 Message-Id: <20201103112544.674566-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 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 | 90 + 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, 2505 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 -- 2.26.2