From patchwork Mon Dec 12 10:54:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 13070944 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59A10C4332F for ; Mon, 12 Dec 2022 11:08:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231715AbiLLLH7 (ORCPT ); Mon, 12 Dec 2022 06:07:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231912AbiLLLHP (ORCPT ); Mon, 12 Dec 2022 06:07:15 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45C5011A20; Mon, 12 Dec 2022 02:54:45 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2BCAsMnJ007704; Mon, 12 Dec 2022 04:54:22 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1670842462; bh=rvmSMN6uRXzCaezzetlytI5WmaJ6dm9scTqZD2bGuhU=; h=From:To:CC:Subject:Date; b=SZBQTD5eW0H4qFotn5JTi3E+7UgWFHNNbFYokizxJDC8eGVSLOpf/AHRNpTRPpluZ mxZE/+BfJQw46aT+TnlQ7gHIgGCabXcdyH9huC/QsEoz6AoTRe1tH3RtU2QNpFcxsu hLnAoQ4DNzE3x1ECN0TRrWxyqsVvtTT6QxCOm9vQ= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2BCAsMpi026412 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 12 Dec 2022 04:54:22 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 12 Dec 2022 04:54:21 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 12 Dec 2022 04:54:22 -0600 Received: from uda0132425.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2BCAsJVG035634; Mon, 12 Dec 2022 04:54:19 -0600 From: Vignesh Raghavendra To: Peter Ujfalusi , Vinod Koul , Rob Herring , Krzysztof Kozlowski CC: , , , Vignesh Raghavendra , Subject: [PATCH v2 0/5] dmaengine: Add support for AM62A SoC DMAs Date: Mon, 12 Dec 2022 16:24:11 +0530 Message-ID: <20221212105416.3628442-1-vigneshr@ti.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org This series introduces support for various DMAs on TI's AM62A SoC under K3 family of devices. Apart from usual BCDMA and PKTDMA thats present on K3 family, AM62A has a dedicated BCDMA for camera (CSI) with only RX DMA Channels. Patch 1 adds bindings for this new DMA instance Patch 2 fixes a bug that gets exposed due to RX only DMA Patch 3 and 4 add base support for AM62A DMA Patch 5 does BCDMA CSI RX specific enhancements. v2: Fix k3-bcdma.yaml as per Krzysztof 's comments Address's Peter's comment on 2/5 v1: https://lore.kernel.org/dmaengine/20221206043554.1521522-1-vigneshr@ti.com/ Jai Luthra (1): dmaengine: ti: k3-psil-am62a: Add AM62Ax PSIL and PDMA data Vignesh Raghavendra (4): dt-bindings: dma: ti: k3-bcdma: Add bindings for BCDMA CSI RX dmaengine: ti: k3-udma: Fix BCDMA for case w/o BCHAN dmaengine: ti: k3-udma: Add support for DMAs on AM62A SoC dmaengine: ti: k3-udma: Add support for BCDMA CSI RX .../devicetree/bindings/dma/ti/k3-bcdma.yaml | 67 ++++-- drivers/dma/ti/Makefile | 3 +- drivers/dma/ti/k3-psil-am62a.c | 196 ++++++++++++++++++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers/dma/ti/k3-psil.c | 1 + drivers/dma/ti/k3-udma.c | 41 +++- 6 files changed, 285 insertions(+), 24 deletions(-) create mode 100644 drivers/dma/ti/k3-psil-am62a.c