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: 13070939 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 8859EC4332F for ; Mon, 12 Dec 2022 10:57:07 +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=QVQPGuhII7OlmWFSUJsSLuu7tqCGtXYuGSU8vWdXdDg=; b=VrthPjQlV4ep2h Xax4/IB2Z1mBPt1tiQq3BtFFoEvJ4tHln+nUJPCk4yhZwL/s80rRWzzPzdCk3RfBRsRmsDzhyTCrt CxHBJSOQSXYxlAAKaq9KMzRAiaw1og+8BcTdbdI4sTP9mY4KQ9QOUyxdCB6kqYArxLHmIB0ABe9Qo AYSeV9YKfaHdiy60O8ERom0ZbZdwvvuWaPG1bpyhv3XNqaV5bZyi31SAAvBDuw2XvJBI7zVlQt70V qldi0JQEyW4fN4dNBfRtTOsabIMwOiR+s25C1CDG1UzI1m+X2InWMmCx57RYkNeStdH5GTf1AJJ6a wzWaO3fgH5lBcAP1dzBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p4gTN-00DiJb-Vc; Mon, 12 Dec 2022 10:55:50 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p4gSJ-00Df7T-3a for linux-arm-kernel@lists.infradead.org; Mon, 12 Dec 2022 10:54:44 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221212_025443_248554_D9D56885 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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