From patchwork Tue Oct 3 04:22:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: shravan kumar X-Patchwork-Id: 13406745 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C41D5E776FD for ; Tue, 3 Oct 2023 04:21:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9CR8zKFm0kAyvs7TA9J98v5VbJIuUVQg6MZG/HQoGHc=; b=KyD0TZaSZQTTPU YkYAm8nTECAtCeL3rSkryNxErvQ3jtpt+m2ZLn5HQOCjFcqgnnncFNHJMT422nSgKn8kc+C6VF7+g NmApZokzH1gd3i7iaxLDYirtzIqMRnbVuZ1BW7XSRedA5UqWiU+HTfDkUQ9SbZXMtfzP9+13BnbD9 6fkYc53gbZK06DCniwy2G2AUqZvmG4dl1IP1TP9/jnPt6lZ1ksDJCRYbLIihEYgGGq1JyrYJQD2gX KIVK0c9SiE8vcZFpIUAHNpe5wWgiZt4Y0RNA8d5X1sssnyBe5L/qxrN+e0iWEeX6OCgRYrP3xAnQY EJ5nkAiE7PWJmTUamc+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qnWus-00Dm13-0L; Tue, 03 Oct 2023 04:21:50 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qnWuo-00Dm06-11 for linux-riscv@lists.infradead.org; Tue, 03 Oct 2023 04:21:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1696306906; x=1727842906; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Yt9kur5BOK9zz99nEWYdw3rGi4a4apiDmhvaQ22Y6sY=; b=DyH9ck0E9KeQNteEhLDGNM0qt6e1UIGQJ8lrb+ah3mS2UKS7wg25aMv1 b52QtWLPhAOqMfYf2ZbDdgP0PgUkM3+qDtzFfQLtAn7RRZFlSE4yZFIcJ TFE5T5/zv/VViH2ktT1jbqTJycWN+BLJI2HBNbq8BzSF8N5gfLlC6P2OH A+Ljwj4fnPZ4m0SBKGfu7CIm6F9PcrvM8ObJBGB9pgjCvwsaUfXmtaanR yArLWZ1Ip6KXR97A8A9eQIQIoXZcJUT/IFJWBfyZsU2uhEu5DxRbhBK+h beTFCl01SMcMS/mP7/j+xttvdd+S/41wVQtM5U3lUmenwwcEFPh5qmJTA A==; 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 To: , , , , , , CC: , , , , , , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231002_212146_416571_828B8AA4 X-CRM114-Status: UNSURE ( 8.07 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Shravan Chippa 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(-)