From patchwork Tue Oct 31 05:27:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: shravan kumar X-Patchwork-Id: 13441075 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 352CDC4332F for ; Tue, 31 Oct 2023 05:27:24 +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=w0E00jyy/IVqg9sy/NW0VoZPRjkR3ARP0rvaYq3DkvM=; b=BAXcrMOPNwE+kw BMPfwUeHJEkP+kYL3pKn65gWcJpY3BnPxF5FnFHWdTGRX6HBBIRgflBDB3ska61jPeiFHwK3oxkKG p0mph/TsvSLOB9eAXFgmRhhnIlpkQGnrapAI+/FjH8pcDBEILq59r6coWuF71G+K8eyXazih2LMJS pokoOKD5ER1cDI5wqeFfY64xGjXu4ljo/3FSJAYNVxvb5COLr0SaDCvyvFKxevsew5KtAdJnlmz5H D4F1hVHzNf3HV/gpQ14Otw5l3GzCvl2u267fwPTOmdESTJ+akOwhVcCjkTk3Vjl9beE4Wj2h2nIca PRmX/qgXC9TdHhW9N52Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxhHR-004Z7o-2O; Tue, 31 Oct 2023 05:27:09 +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 1qxhHO-004Z6o-1X for linux-riscv@lists.infradead.org; Tue, 31 Oct 2023 05:27:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1698730026; x=1730266026; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iRvap8S+l6/iAjI+NYP2vz5PJ2QlTLfvmIyoMb9M6DY=; b=YW3TL1yIEdKUYaChMgE8oUyVXfSoh4pKVojb60wufvwNB2FjGjHreYJO 3DvwdFKkrtcnE5frLIJxWNeB7sIuF1yLbaXMKIeer+vfePEsyoS7aBUfb 1z+RBqcjwEXKepIbft3ra5CWTm8JQohyfXhpCvLMPqoZrya64gjE6SrI2 znIzZB1eNbWMY16EsLQUHinDrLpLu0/utMl5CytRcZ7gOw/VyWLLB54sW +Z/p1KXw5Srccrl/j0WoQxGFN2o+DUh5imi8y9Fc8lF08k4G71N71pvlR pDt0ZzhBZlhsMafvRbsUcwdVH/qSotCqZQpr6ICIL72ECem5sgYQx6H// g==; X-CSE-ConnectionGUID: chmGaGncRm67Nps8P+k0sw== X-CSE-MsgGUID: AVwFY3bkSHuO/Xm9QlHChQ== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.03,265,1694761200"; d="scan'208";a="10872646" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 30 Oct 2023 22:27:00 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 30 Oct 2023 22:26:43 -0700 Received: from microchip1-OptiPlex-9020.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Mon, 30 Oct 2023 22:26:38 -0700 From: shravan chippa To: , , , , , , CC: , , , , , , Subject: [PATCH v4 0/4] dma: sf-pdma: various sf-pdma updates for the mpfs platform Date: Tue, 31 Oct 2023 10:57:49 +0530 Message-ID: <20231031052753.3430169-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-20231030_222706_694424_7236F4B3 X-CRM114-Status: UNSURE ( 8.43 ) 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 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 | 71 ++++++++++++++++++- drivers/dma/sf-pdma/sf-pdma.h | 8 ++- 4 files changed, 77 insertions(+), 5 deletions(-)