Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp4004rdg; Tue, 10 Oct 2023 02:28:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFu+1dvwpeVGCx/4V7vWZY/6bxX68cCmHMY4U42B/KqVsIBVqK6oeAoJWX6RA1/ZBdUK50H X-Received: by 2002:a1f:cbc5:0:b0:49d:9916:5747 with SMTP id b188-20020a1fcbc5000000b0049d99165747mr14316893vkg.13.1696930091329; Tue, 10 Oct 2023 02:28:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696930091; cv=none; d=google.com; s=arc-20160816; b=sSwPMddHuxuIdRa8yArULWTKiK791VMy+wkO09COnLgLZjKqXt3dCgQj17UUC/aQDq Jyojwely3jKuZA4+9ozWrv5nQSyW6AC5WhMls3ONCXzkZA6RjeHZlIlw2pv6MmhLgzIf xFtvdMRfKXJN4MM9pofSxh1kS4pWqkEZpyF0vr6+a2WJSw42cL4hUn2LzHRcFJxgv/VL ISMkXc2KusuSDoQw0JQy8AT2NFJvWla3o8OE/6Wt7gRjar4pl9FnddBOc5zfNVa3nGsI yrspE3KJK/kyZDAfT+VATNUYU3hFZ0tNU7rdnzFgSQFL548QUfg/ad2419ZzliAMGP39 fJ2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=LGwi6pwBPmb3q1b5SsYBFF6kgsz6nBq4Iaro3vISNQ8=; fh=FQdyZ4F/kNEd/9JFdD8+4N1379M31Gcb+SoIyT933Yw=; b=Cre3kpUCuaw6RtxzhicpQa8AdPP26rwt8bxaba7AYbsSn4eh5/122a+kB2HlHR438C IymEHIIFZ+apbvWaNZu/K+JweRUz02Az+TfNeriZolqpNCMG6njY303OHvIqcQjqSOyq t7FVc8c6vWE77iY9TydNH+79Mnf3UP5xB2uqkDBX2JHaIZkkCCiweBI6t8EORbDGzQDC 4HTwggoErMPzlXoKtnJvacoe0Yanhd2D3MHSxU+IBxKU0PnsD0nZo92NF0L7B1Ukl5iz w997OBNyjoaYTsb0secddSdP2nIcHjz7xSL6vxQGWG5TZ6CF5Bfg8IdV1k3a3Tw2YtHQ cNVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UdhvynYw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id p28-20020a635b1c000000b005859c8462f9si10961679pgb.286.2023.10.10.02.28.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 02:28:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UdhvynYw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D231380713F0; Tue, 10 Oct 2023 02:27:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230097AbjJJJ1Y (ORCPT + 99 others); Tue, 10 Oct 2023 05:27:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230132AbjJJJ1X (ORCPT ); Tue, 10 Oct 2023 05:27:23 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41656CA; Tue, 10 Oct 2023 02:27:21 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39A9R4OD011185; Tue, 10 Oct 2023 04:27:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696930024; bh=LGwi6pwBPmb3q1b5SsYBFF6kgsz6nBq4Iaro3vISNQ8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=UdhvynYwjmS+Yyfg1PjGWlLK+rx3IOPtHdmXR4gi7O8Ww0zffZOWXf+zr+ogVOxwd cf56NTeXl9yJsX3PknZuOwrtIRj0/m9QParqAj/xvtciI85mUo6Lsz5cuZ14cfKRh2 s2CZP4SDcl4ubBVS/O6P5FzxOQhZISkKpThFEmsU= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39A9R43g020389 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 10 Oct 2023 04:27:04 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 10 Oct 2023 04:27:03 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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.23 via Frontend Transport; Tue, 10 Oct 2023 04:27:03 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39A9R2or079424; Tue, 10 Oct 2023 04:27:03 -0500 From: Vaishnav Achath To: , , , , , , CC: , , , Subject: [PATCH 1/2] arm64: dts: ti: k3-j721s2-main: Add BCDMA instance for CSI2RX Date: Tue, 10 Oct 2023 14:56:59 +0530 Message-ID: <20231010092700.2089-2-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231010092700.2089-1-vaishnav.a@ti.com> References: <20231010092700.2089-1-vaishnav.a@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 10 Oct 2023 02:27:33 -0700 (PDT) J721S2 has a dedicated BCDMA controller for the Camera Serial Interface. Events from the BCDMA controller instance are routed through the main UDMA interrupt aggregator as unmapped events. Add the node for the DMA controller and keep it disabled by default. See J721S2 Technical Reference Manual (SPRUJ28) for further details: http://www.ti.com/lit/pdf/spruj28 Signed-off-by: Vaishnav Achath --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index 6d32544c8881..2a51a8d98c3c 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -807,6 +807,7 @@ ti,sci = <&sms>; ti,sci-dev-id = <265>; ti,interrupt-ranges = <0 0 256>; + ti,unmapped-event-sources = <&main_bcdma_csi>; }; secure_proxy_main: mailbox@32c00000 { @@ -1103,6 +1104,22 @@ ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */ }; + main_bcdma_csi: dma-controller@311a0000 { + compatible = "ti,j721s2-dmss-bcdma-csi"; + reg = <0x00 0x311a0000 0x00 0x100>, + <0x00 0x35d00000 0x00 0x20000>, + <0x00 0x35c00000 0x00 0x10000>, + <0x00 0x35e00000 0x00 0x80000>; + reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt"; + msi-parent = <&main_udmass_inta>; + #dma-cells = <3>; + ti,sci = <&sms>; + ti,sci-dev-id = <225>; + ti,sci-rm-range-rchan = <0x21>; + ti,sci-rm-range-tchan = <0x22>; + status = "disabled"; + }; + cpts@310d0000 { compatible = "ti,j721e-cpts"; reg = <0x0 0x310d0000 0x0 0x400>; -- 2.17.1