From patchwork Tue Oct 10 11:17:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 150686 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp118209vqb; Tue, 10 Oct 2023 04:17:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGndZZYCZbdKbtK549MqsdyGvtZ7A7W/5yR/g9L85bjoOFGL8XRvKSyIZXvz9S5ENlHQ2bY X-Received: by 2002:a17:902:a409:b0:1c5:b1a6:8111 with SMTP id p9-20020a170902a40900b001c5b1a68111mr15638487plq.31.1696936674387; Tue, 10 Oct 2023 04:17:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696936674; cv=none; d=google.com; s=arc-20160816; b=UX51yTMbE8eEDLNafx//dqWiXmbLuaC/WqESLWmy4Y2uDsdVqCql2A4NsFpwPfXIfO BBiLGKmCbNejQhSzCEVrl0xYjqKsku68+eQ5PY5wjpxxoe+7at+9wEqX7MiPNVN5d43I e3loDiHcYDJwWtaVQDrZymP1SxX+Ij2G8dh0VNkgVhecKE4KlGLBMP9sxTCF/dDvQHtd PxEdfIMFBi+FN3k8vBtu7dvUK6uQrSy4bFoiBMp3jb8aLiJ/TrgbJcKBf3kxRUaFlVY6 8BpGd6BNt60U8YAgXV4yYGr8ikWnHB2unabPX2rtVinqv9293dyqXDh4m7vUWqpMUlty 2pPg== 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=DSamjwKreojvNFwZjOJNxZiEHv66Bu1bp5SDsm+2lQw=; fh=mNEg1TJiJt67+tmVamrYVMC83hRkk26rh44UnDaFm/Y=; b=0dzHeD9Mkw+qtxgi1YBozc4tyqQc5kvpZKlkbf+uciHPuWhTXclLNxsa+1HqbOt+0w 0CfrN4AqxCMoC03j7HWcFr3DL73D/0fkYx4p4nnO66hfSu7Fc07qIviwlpxvdObrP5f5 SBsQYnD1dc4e56OcndfiJ/r8Tru/zmca8Hm0t/v/m0ymWwh6+6JCSGr+2UWeIn9v6JQb R76094eqUPLC3nzfxrS3CfaLnRxN4blf3dCTVstkoRA+FfAlxZYQIuhERTC2cq57Sg0A 3sRnm7YbePJuv64MK7wVSesMp0IJegxNagIec1CJCGmmuCOc3sqWdKfG5NAkujdM/jhj EenA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yiL+PXDA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k9-20020a170902c40900b001bd9e2b4b46si11976406plk.601.2023.10.10.04.17.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 04:17:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yiL+PXDA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 889B08153D14; Tue, 10 Oct 2023 04:17:53 -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 S231315AbjJJLRs (ORCPT + 20 others); Tue, 10 Oct 2023 07:17:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231299AbjJJLRn (ORCPT ); Tue, 10 Oct 2023 07:17:43 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E918994; Tue, 10 Oct 2023 04:17:39 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39ABHSWe010309; Tue, 10 Oct 2023 06:17:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696936648; bh=DSamjwKreojvNFwZjOJNxZiEHv66Bu1bp5SDsm+2lQw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=yiL+PXDA4ruJ20wLsQWdxqQhf8mh4u7r/rXMobmTidMql2M9LaNsQi9zywqmli+/9 63Jdsws4YJQ9zZ574FEqMEaCOPZ4HodoO5CcEgGZCeLef+sxEF+dati9G4+4RGRwdC dNriC+ImEIg2Efr1fepf1b+hjNrnN6OH08YqYQo4= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39ABHSxq086174 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 10 Oct 2023 06:17:28 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE106.ent.ti.com (10.64.6.27) 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 06:17:28 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE103.ent.ti.com (10.64.6.24) 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 06:17:28 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39ABHRiX122855; Tue, 10 Oct 2023 06:17:27 -0500 From: Vaishnav Achath To: , , , , , , CC: , , , , Subject: [PATCH v2 2/2] arm64: dts: ti: k3-j784s4-main: Add BCDMA instance for CSI2RX Date: Tue, 10 Oct 2023 16:47:23 +0530 Message-ID: <20231010111723.17524-3-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231010111723.17524-1-vaishnav.a@ti.com> References: <20231010111723.17524-1-vaishnav.a@ti.com> MIME-Version: 1.0 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,RCVD_IN_MSPIKE_H2,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 04:17:53 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779367070566196801 X-GMAIL-MSGID: 1779367070566196801 J784S4 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 J784S4 Technical Reference Manual (SPRUJ52) for further details: http://www.ti.com/lit/zip/spruj52 Signed-off-by: Vaishnav Achath Reviewed-by: Jayesh Choudhary --- V1->V2: * Fix indentation for the reg entries. arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi index efed2d683f63..3123413e2140 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -703,6 +703,7 @@ ti,sci = <&sms>; ti,sci-dev-id = <321>; ti,interrupt-ranges = <0 0 256>; + ti,unmapped-event-sources = <&main_bcdma_csi>; }; secure_proxy_main: mailbox@32c00000 { @@ -1000,6 +1001,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 = <281>; + ti,sci-rm-range-rchan = <0x21>; + ti,sci-rm-range-tchan = <0x22>; + status = "disabled"; + }; + cpts@310d0000 { compatible = "ti,j721e-cpts"; reg = <0x00 0x310d0000 0x00 0x400>;