Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2246429rdb; Fri, 8 Dec 2023 02:38:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IElwTegd+ZnIvtzQpnNG09Lwk20yMm/mIH0v20xbxlWfJ76YGXjJ39CoiLk4WCwUQo7YuNp X-Received: by 2002:a05:6a20:158b:b0:18f:97c:9774 with SMTP id h11-20020a056a20158b00b0018f097c9774mr4402035pzj.92.1702031892749; Fri, 08 Dec 2023 02:38:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702031892; cv=none; d=google.com; s=arc-20160816; b=SNaqL0OIevr+GQaGd7TeHHkptIlTkHl0w38CKZQFlz1gGdWHYMsgpeFsq9Si4haMqk Y6vbL4MEnObHwlzQUmPIYkWIWN3dFvFcNaa2JQ3sZC1zoL+aR31CRhxQgguKb1nf/6Em sx1x0QoqAO9ZAyBXifM/+qX/Qu6sS77Uh2rK42kznCmqf4cALt55yjVz8x/g7co4Tcdu KgpFlKLnU61ZUkpPKrTQ4oEeusn2KNgjw8YTRu3/pKGa3GPw2N1DgK5GwU2cQWRHdzdd tT6yi4oSvyqbJ4BuFfdbIPZejeIuXOdpVATDVnhXuufUoDs8R+SNGbGMFNBl7LiIro8A KiIw== 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 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id b14-20020a17090a7ace00b002861c962e15si1426867pjl.15.2023.12.08.02.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 02:38:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; 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 2620:137:e000::3:5 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 A174C8079CA8; Fri, 8 Dec 2023 02:38:09 -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 + 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 ); 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 To: , , , , , , CC: , , , , , , 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: 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:09 -0800 (PST) From: Shravan Chippa 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(-) -- 2.34.1