Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2455647rda; Wed, 25 Oct 2023 03:22:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHkDA58P+zx3Ydzjb8edv7k28xwy+pRrpIJqdduLAr8VVBY4UZtU3S7ScjfPdXibbixYra1 X-Received: by 2002:a05:6808:14d6:b0:3b2:e56d:b335 with SMTP id f22-20020a05680814d600b003b2e56db335mr15848900oiw.4.1698229335738; Wed, 25 Oct 2023 03:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698229335; cv=none; d=google.com; s=arc-20160816; b=amUeupdilNzxeOuUVoU6U2VDt1cCEQzc2ErmWOKrLbm3Lezcamfe4W5H6oTDP0SrE+ LfezMA90WZWW5AgfWa9UQo5TTwGkcLLwxWCSmWfISIGYXKKfxg0TldzItBh/zfPmJRDA A8aJoRgAppvFpf545ZP/2Kb5tjq7yyhd0wP+6XZfyLsnC7BuosR0178Sq7QvJ8/qVkQi vZZv8U+Y80gDvRTXFWyc7k7WilaHnxuFpPKzkdT49dTqRXmP2xUkMzWnkPz51KhUBgm0 Yb9gOBAwS2mBNJ73nky0Etec8p2N1/1a+93GzzjqigtYyxeH6sHTLAUyRH8gakjV2VOs XfDA== 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=eVM18obu8Fd5Tp7uXkA3idn7T4VVbWUvvyZVRQ/gZh0=; fh=ShTRRczpu864z7u/uL8KOhQHPlzqNfTJPMMlbqeoRU0=; b=nXLTd0w36B1tH5rLWSsES/hNesJVKl9q2xhSFuXNvTAW/dIX6vuYMgIhOkTD7fsOp2 EiBs+JrkGEhU7hDoeA9USUY5M17s3zFszXJZAfNmorTnA7+dHpVHdraJjR6jRca1BQvp 77XDU2P1cX1Ly/U67RbmJgBLe057+2RH93YD2mYnx7ZUeQb5dN68xT+l3uGGBySOnsG7 rl8t97k44kJ8JFMSFJlxXF9THGtYee0ZqQGOgmlM7jhewqqQS0Ii8xjhiiKBtLMeu9ha pVTJ/XVzxIcdhnyOZUltpEY9bWP7FI2H9gybEcDK+edl02EaseicVMELmlShvtk9RSMb lWow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=I6Rguso7; 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 Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id p4-20020a056902114400b00d9ac7af962esi12792134ybu.492.2023.10.25.03.22.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 03:22:15 -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=I6Rguso7; 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 29EE480284C7; Wed, 25 Oct 2023 03:22:12 -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 S234214AbjJYKWD (ORCPT + 99 others); Wed, 25 Oct 2023 06:22:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232789AbjJYKWB (ORCPT ); Wed, 25 Oct 2023 06:22:01 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A313116; Wed, 25 Oct 2023 03:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1698229317; x=1729765317; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=OEqpmk4Rf7hTy4IOBR0uXJkKGevdbN2bduorTuh8R4g=; b=I6Rguso7CRCeaVvSr8yOAeTULQjKqQiDbCVv9Wm2jPEIwkVKWJ3Db0l/ rS4vfKJf7tP1K7dz633QfDy+ChkKsssjbajkY/LMGcxx6hcsaZ9XE2zts +zJXzaXyP0oQBtc9Wqy8EX95XR76mBFHQ9fTXqhO4L2UqrYERuj7f6rVr kmccCfWRnomKByQ9JXh7Hl76K7ozyuCb2zfEp4rpiESqdeIX7Um0PYwaD 6YDplRmOdUukQb5P9pBW5BGtDenQgDIMQOf9foY7iKHEuwp0foVXYqgao XrZw22QKLOAVtNc5iQS2ThI9Pd2pbrNpOZ/oKmr/22PWDzw5Bu6IUTbdP Q==; X-CSE-ConnectionGUID: n2gHDv4RQiGeWJLvoo2UlQ== X-CSE-MsgGUID: fNoVADcPSE2Br6PiaoZNMg== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="10829880" 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; 25 Oct 2023 03:21:56 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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; Wed, 25 Oct 2023 03:21:39 -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.21 via Frontend Transport; Wed, 25 Oct 2023 03:21:34 -0700 From: shravan chippa To: , , , , , , CC: , , , , , , Subject: [PATCH v3 0/4] dma: sf-pdma: various sf-pdma updates for the mpfs platform Date: Wed, 25 Oct 2023 15:52:47 +0530 Message-ID: <20231025102251.3369472-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: 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]); Wed, 25 Oct 2023 03:22:12 -0700 (PDT) From: Shravan Chippa 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(-) -- 2.34.1