Message ID | 20231208103856.3732998-1-shravan.chippa@microchip.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5367167vqy; Fri, 8 Dec 2023 02:38:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfPGkBdopN8qkOODrJ4s+/892PmhBHxkmFEe4CwFCyUB3t2+kT7SiF3bUTlUp9DyFOD8hU X-Received: by 2002:a05:6870:3287:b0:1fb:100b:a25d with SMTP id q7-20020a056870328700b001fb100ba25dmr4072593oac.74.1702031886839; Fri, 08 Dec 2023 02:38:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702031886; cv=none; d=google.com; s=arc-20160816; b=hT3dLrJGpkpbSj5sNv869dhcHPgHI1GYKbw7VwM04TtBYG6qAyS7WY1FxV5SYKnAfa dsJcnPOIs8PLTjDt0uY05tsjv6/QtlvC1BSXQJiBMi5Wb+/dB73LZn5fnjqtKMArNisE +Suif5m/oaYxca6J5HFJKFgnWwWc3P8CWWVzbCp9n+nAD00ToX7yBMGf1m7I6SxJhLjI x9BrS2SLf9jF5hSuGcAcAnBoMh67cvpmNNfeVOSknIBugNiXSSCuj5bW3BL+48UU61g3 Yw10EoOkue+x9jmMrF4aNRDMNyQrBWA9DGJ1RBSco5eR+0enBbNVXpQjkn5x7U35j6r6 GNVg== 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=SvseXSqRv4uCwTIZtrKEYkYILOAEKeDYQKky+Ag5Cos=; fh=ShTRRczpu864z7u/uL8KOhQHPlzqNfTJPMMlbqeoRU0=; b=uEzSSTRL/MRJiQ2SElJVUxX3UghfDkUBMosHHvyhM0V2VMwVE6evhY09li76ECGPBV UjXy1rmEAsGtnGAXdIfEg5stevKiK8cc3HgS0xBWnvT0PJy33i740IZoLqry2bC5THeU /9UtdIDGsy9DxaUclAwCA4qmE42YyoowVtQMcWkgRSGrNjt3CtLpxFcNMNEOqdGm8830 6SuIb0J7XRwtKoBT6oScHzjvU2vJxg4CEtuXxDEN1QOUdPKwlE5thJq5b9ExmrZbDHmw ZJniUSivqwCgW2grxzpeqPB81yHRgDDBrotkWNVVswBQnBULM6dczBFoOJVLBbIgBhr3 FtsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kK93Qyvk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id n189-20020a6327c6000000b005b87df75d54si1349848pgn.83.2023.12.08.02.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 02:38:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kK93Qyvk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 11E658089E4B; Fri, 8 Dec 2023 02:38:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573518AbjLHKhv (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 8 Dec 2023 05:37:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231638AbjLHKhu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 8 Dec 2023 05:37:50 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 025AD123; Fri, 8 Dec 2023 02:37:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1702031877; x=1733567877; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7TMZPFXosBz7PqjBl5YlGhmPAW3iNWnMHeI86fag7dg=; b=kK93Qyvkf3gUMOv1ZAZfxPWoxr8BioUAu0irQoKp90OnLDMSQXGmFg8E Pjn9XGuwlS3d9jmGXJWXLxbdwmzAel2L+tsVbaQdv+NUzdi8VSuDdoL2S NoBIPCLZNvH2Wna37xIKAsb6wmhphFAbsBQ0oOnI3jNlRxTxUr/2BLbUu cEskEK1xY9tBDnRO6P0K1aoFGdsuXhO+Pb8Ngd9OhRIDQZk0+584DerHf uzH0CE8aU3volcTE8jmgaMearcdk+3+yjihHJhV2AmXfoQJlwgbhQ15eI wW41ySMg9XgvExhBJnSOaO8CSc6ypg+rwN3k6fZyNk5yi+x3KZLURvDgl A==; X-CSE-ConnectionGUID: H3XQVRBZQ2qxsVmz7vJ8Sw== X-CSE-MsgGUID: vh62aFwNTVOODghp70fLHA== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.04,260,1695711600"; d="scan'208";a="13315272" 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; 08 Dec 2023 03:37:49 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 8 Dec 2023 03:37:44 -0700 Received: from microchip1-OptiPlex-9020.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 8 Dec 2023 03:37:39 -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 v5 0/4] dma: sf-pdma: various sf-pdma updates for the mpfs platform Date: Fri, 8 Dec 2023 16:08:52 +0530 Message-ID: <20231208103856.3732998-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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Fri, 08 Dec 2023 02:38:02 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784709787601593474 X-GMAIL-MSGID: 1784709787601593474 |
Series |
dma: sf-pdma: various sf-pdma updates for the mpfs platform
|
|
Message
shravan chippa
Dec. 8, 2023, 10:38 a.m. UTC
From: Shravan Chippa <shravan.chippa@microchip.com>
Changes from V4 -> V5:
Modified commit msg
Replaced the sf_pdma_of_xlate() function with
of_dma_xlate_by_chan_id()
Changes from V3 -> V4:
Removed unnecessary parentheses and extra space Added review tags
Changes from V2 -> V3:
Removed whitespace
Change naming convention of the macros (modified code as per new macros)
updated with new API device_get_match_data()
modified dt-bindings as per the commmets from v2
modified compatible name string for mpfs platform
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 | 1 +
arch/riscv/boot/dts/microchip/mpfs.dtsi | 2 +-
drivers/dma/sf-pdma/sf-pdma.c | 44 +++++++++++++++++--
drivers/dma/sf-pdma/sf-pdma.h | 8 +++-
4 files changed, 50 insertions(+), 5 deletions(-)
Comments
On Fri, 08 Dec 2023 16:08:52 +0530, shravan chippa wrote: > Changes from V4 -> V5: > > Modified commit msg > Replaced the sf_pdma_of_xlate() function with > of_dma_xlate_by_chan_id() > > Changes from V3 -> V4: > > [...] Applied, thanks! [1/4] dmaengine: sf-pdma: Support of_dma_controller_register() commit: 8e578b47e6d92d5e43982ddc54045973dd4a7de5 [2/4] dt-bindings: dma: sf-pdma: add new compatible name commit: 72b22006ba78c2e3bf39b486a7b8155dc9020133 [3/4] dmaengine: sf-pdma: add mpfs-pdma compatible name commit: 58eea79a1cf285a62af886851b1a91ed5aceb401 Best regards,
From: Conor Dooley <conor.dooley@microchip.com> On Fri, 08 Dec 2023 16:08:52 +0530, shravan chippa wrote: > From: Shravan Chippa <shravan.chippa@microchip.com> > > Changes from V4 -> V5: > > Modified commit msg > Replaced the sf_pdma_of_xlate() function with > of_dma_xlate_by_chan_id() > > [...] Applied to riscv-dt-for-next, thanks! [4/4] riscv: dts: microchip: add specific compatible for mpfs pdma https://git.kernel.org/conor/c/5669bb5a16a0 Thanks, Conor.