From patchwork Tue Dec 13 16:42:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 13072213 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 66C97C4167B for ; Tue, 13 Dec 2022 16:44:36 +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=xfbUdsYtyZSJQRWLVstCaQbopF1EWA29j1fLKBQikEU=; b=AcsjYqdz17hSM6 gdYzywjakZyRVXsdgTCa0tw/NDIaeyGMXxHzQ2OHF0Fv8txlQ9NmpnoyghCulzHD6MsTdJGUFMERO GqB57IzRHbqYIEnqTuvaS9WhfUQy8eTdy+9w6YJBLNYf+9GvB6cJKEdzBy2aqF0NBuFiEciRqVv1n ftG7DWVH3zOqO/kUSSMdcP6kx50Yb0ajMTxXXqVHO2z98gOzD2trSdIse5iL+/lbhiNdV4l6VCfnN G4SeX7Zc6grp2KLMeFE/LiUP0kAKeG+KECrj5CCmuCvoixj5IYHkuInhk5mVpc/EN1vrZtauJlVq1 RxJp0yzA+XPvVw5WKpFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p58NU-00303W-J1; Tue, 13 Dec 2022 16:43:36 +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 1p58NH-002ztg-Py for linux-arm-kernel@lists.infradead.org; Tue, 13 Dec 2022 16:43:25 +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 2BDGh9AI114127; Tue, 13 Dec 2022 10:43:09 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1670949789; bh=mBw15N1zGIeTu7aStLUIDCtD0xQUNTofzGQqICOF8xk=; h=From:To:CC:Subject:Date; b=gILm9gWOY2FZ36w97vWEOZuvl95h4KyAFpUdWVjJYT/a7U9vAVP8NWOmv4/hw/qGl 6jFY2w8Fx2O7HaoxBsKMG2rmm6QkpTE2mA6r4BAQqfVQQUsX/xNg3ut0uo1yw8SXxl kE4TydLj0NViCK6GrFz1k2WRqm6d5yGeXoQCVcZ4= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2BDGh91x130126 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 13 Dec 2022 10:43:09 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 13 Dec 2022 10:43:09 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE100.ent.ti.com (10.64.6.21) 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; Tue, 13 Dec 2022 10:43:09 -0600 Received: from uda0132425.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2BDGh6gI034997; Tue, 13 Dec 2022 10:43:06 -0600 From: Vignesh Raghavendra To: Peter Ujfalusi , Vinod Koul , Rob Herring , Krzysztof Kozlowski CC: , , , Vignesh Raghavendra , Subject: [PATCH v3 0/5] dmaengine: Add support for AM62A SoC DMAs Date: Tue, 13 Dec 2022 22:12:59 +0530 Message-ID: <20221213164304.1126945-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-20221213_084324_046341_102D56EE X-CRM114-Status: UNSURE ( 9.79 ) 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. v3: Fix yaml bindings to constraint regs and reg-names per compatible v2: Fix k3-bcdma.yaml as per Krzysztof 's comments Address's Peter's comment on 2/5 https://lore.kernel.org/r/20221212105416.3628442-1-vigneshr@ti.com 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 | 77 +++++-- 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, 295 insertions(+), 24 deletions(-) create mode 100644 drivers/dma/ti/k3-psil-am62a.c Acked-by: Peter Ujfalusi