Message ID | 20231003042215.142678-1-shravan.chippa@microchip.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1846712vqb; Mon, 2 Oct 2023 21:22:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuiFMYkgd4+cMflDgFcPaizlGYsIJ7n9r9OHfcag/EzxRZ5ui/xnIp/IRT7kFYBvb2EsAs X-Received: by 2002:a05:6358:7e07:b0:13a:a094:737d with SMTP id o7-20020a0563587e0700b0013aa094737dmr14430922rwm.18.1696306926582; Mon, 02 Oct 2023 21:22:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696306926; cv=none; d=google.com; s=arc-20160816; b=a0ikFmJ6x2TwTrAobVLQmRsFm448qIQ8mWTjIMtyzwMbXO4xttgf3Qh3vjm10Bh5gX RHIjFwByfBONNVTnl3+5TTTg0kJc0xkg25qdunPlnISNLJZsGXTFmavAbXQQ7i0gquno pXpA01oITNhY32Otg4gIpEYqPe4RJoVuPu+XZHFIHTIYSCBCKR4cYh4LrAFVo9iPYA83 LTAxgpnI+4yjVH3mSUaIFq4Sd3sDu7t5UbU9kzI6vKlDB2zNAfbc4WeSV7NE2zQ11M6Y E82PYqWCL/eYZQqRDA5KPjQ0LBbOOZphJlnAE8ZUTGNHvIpyqRKhUTQM1ucKkrIHTUO+ nAtg== 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=lOk2fElC7MKOcO3TcY9BtRYZANhcjGmsCrpdPZQt1CI=; fh=ShTRRczpu864z7u/uL8KOhQHPlzqNfTJPMMlbqeoRU0=; b=eaXA4ur8Qn2+iB3u+O31qpxaCBZT9o2GXxpgBJ0hzOey3BW0y864dZYX+MRAlpHaK4 BPIgVUG7PKAM8v4jSruOKzCXbjUd/4/K/yxgLh/4oYhxKOi6D6qkawpsWoqmuOQvvJsO wX9reBkGWO/IgNemRm/utjQUccOgZGrtawCtu0OZAHDgHtbHaXcXIeJe/mtkMBWaOr7H D615HiGbAWqYFvyqNqHDA/3lwp0iY0ygC4sCZIqXw1+uMlcT89ib7kSHEg3KlGLGYE/W NhoM8OgSNjxhBrcERkOsFndV2QnRYD/owXlKLdXESnqnaYV0au9pW41sxRWmRwkgbu9U +I6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=lOF4gZ4P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id k184-20020a6384c1000000b00578fcbfebdasi551327pgd.734.2023.10.02.21.22.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 21:22:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=lOF4gZ4P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id EB315801B65B; Mon, 2 Oct 2023 21:22:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239047AbjJCEVs (ORCPT <rfc822;pusanteemu@gmail.com> + 18 others); Tue, 3 Oct 2023 00:21:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239033AbjJCEVq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 3 Oct 2023 00:21:46 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D44BE0; Mon, 2 Oct 2023 21:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1696306903; x=1727842903; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Yt9kur5BOK9zz99nEWYdw3rGi4a4apiDmhvaQ22Y6sY=; b=lOF4gZ4PxuCNQm/C1OCbMTBK8PKTlIHwFAShl3y0FLHO1dFI4WehDM2Z yhltPYF0vutz0tBtR0pqXykuZhHhRmPZtyGJEh3a0Rqx2qH0suXP2hpk9 Kn8b4LGuvLkrX7+gi2TvtQ3RjIsCYIb6wS5X9HHydDjvHr/6sZAelQxmF xEKzLm6RJ6vDcEDWAvDMLOP9mKWWkdWE+HIYrKip5diz3vkTireTQsMwH 3L4GmmIaa7IaTCiKrktTubr2g86Rx+06nZR8wEtkp+Orse7WLRl5MNeY4 yNMobi5jvkKALs16AkQgBJZGY1OHcgD6YspK3EZdNrPQJXFZwSbMQmnsE w==; X-CSE-ConnectionGUID: TaAzhFjkR5qC5aGoP7QXJg== X-CSE-MsgGUID: zqmCeQghSHe8/3PhYhlj8A== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.03,196,1694761200"; d="scan'208";a="7783646" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 02 Oct 2023 21:21:42 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 2 Oct 2023 21:21:00 -0700 Received: from microchip1-OptiPlex-9020.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Mon, 2 Oct 2023 21:20:55 -0700 From: shravan chippa <shravan.chippa@microchip.com> To: <green.wan@sifive.com>, <vkoul@kernel.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <palmer@dabbelt.com>, <paul.walmsley@sifive.com>, <conor+dt@kernel.org> CC: <dmaengine@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-riscv@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <nagasuresh.relli@microchip.com>, <praveen.kumar@microchip.com>, <shravan.chippa@microchip.com> Subject: [PATCH v2 0/4] dma: sf-pdma: various sf-pdma updates for the mpfs platform Date: Tue, 3 Oct 2023 09:52:11 +0530 Message-ID: <20231003042215.142678-1-shravan.chippa@microchip.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 02 Oct 2023 21:22:04 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778706731642933728 X-GMAIL-MSGID: 1778706731642933728 |
Series |
dma: sf-pdma: various sf-pdma updates for the mpfs platform
|
|
Message
shravan chippa
Oct. 3, 2023, 4:22 a.m. UTC
From: Shravan Chippa <shravan.chippa@microchip.com>
Changes from V1 -> V2:
Removed internal review tags
Commit massages modified.
Added devicetree patch with new compatible name for mpfs platform
Added of_dma_controller_free() clenup call in sf_pdma_remove() function
V1:
This series does the following
1. Adds a PolarFire SoC specific compatible and code to support for
out-of-order dma transfers
2. Adds generic device tree bindings support by using
of_dma_controller_register()
Shravan Chippa (4):
dmaengine: sf-pdma: Support of_dma_controller_register()
dt-bindings: dma: sf-pdma: add new compatible name
dmaengine: sf-pdma: add mpfs-pdma compatible name
riscv: dts: microchip: add specific compatible for mpfs' pdma
.../bindings/dma/sifive,fu540-c000-pdma.yaml | 12 ++--
arch/riscv/boot/dts/microchip/mpfs.dtsi | 2 +-
drivers/dma/sf-pdma/sf-pdma.c | 71 ++++++++++++++++++-
drivers/dma/sf-pdma/sf-pdma.h | 6 ++
4 files changed, 83 insertions(+), 8 deletions(-)