Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp387306rdb; Mon, 29 Jan 2024 05:32:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyeteQqF5VnO2B7hBGbkIBdHzhM4MUqlllrN8W3FFOd3RvV3BIGV48X7OufiZR2hBVASTT X-Received: by 2002:a05:6214:aca:b0:686:ace9:bd36 with SMTP id g10-20020a0562140aca00b00686ace9bd36mr5925457qvi.124.1706535143729; Mon, 29 Jan 2024 05:32:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706535143; cv=pass; d=google.com; s=arc-20160816; b=mPkGCHP9Vj8NI56Ov+ULywbhMy2OX3KFumsyJrTcdox/BY6ofvtyWAh0WASFSezk9A +nS8zVC7gS8oy2JpK3Ywzzfnoxy+BLpe76jAiy/3yumDW2z1TKkzAXLDG8mtRceJ3mdG uYXu7lodZz0oUfcw4S6gAkg+HdbhCcoVnOPi0VOe3w4HK9/cihGUC/KUlNPm7BmY6yaW CCe6wiQ1uwEve6EckXQryHfLT3JkOQijJtoq1tmHpsBAPiT+6M7Ox3ycXHW5Hc9Qlmey 4ZVE0sOcs0tfJR1wXUOdHY3gX+lZ5T2ysGBueYpLzTz+UbSMj3TbBysFiifrs4ap6mpy UUng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Jr4NcX0OW6uFqTdoOI3EuqySw+581YA4SmRlvEMU+QM=; fh=XT/CBWmVHm+7hSmT/rWeCa52mY0XRRHWnGkd9Vtyt2Y=; b=xqCTQmFKFIvkTukLI7ohnWGthNTVo4hhvvK+nAmDzp93yyO8cJJxKpvAJb08InnV6J tLAN+do5VTYCQ32DxHg4obPQJ9x3PfNu7ditCT9m9AgMop+jPkzd8vYwsUPi3E1YmESM ShGEVU4XBKAeyuWkxFQJzMkS5G4p2A1HcOKlEjwdlNr5ExCtr25ZiS/OULNU6+OSjgZZ T1wA+F4JwLRZnKBVVJ25Wnb9H6BfqCX3SMVukoDJa6eqsu1NTZWYdP6xvvXcVE+sK2Ja F9nMguT5a0x2vDgjHiU5Wj9kPbr1v3+1/bXcozzSfJNfd4GLQTuoEwGYhkQpMKvJMOjH G6NQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Ciqnuyrp; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-42801-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h12-20020a0562140dac00b006819b8fed6asi7515779qvh.135.2024.01.29.05.32.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 05:32:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42801-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Ciqnuyrp; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-42801-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 943051C22103 for ; Mon, 29 Jan 2024 13:30:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C116864AA9; Mon, 29 Jan 2024 13:28:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="Ciqnuyrp" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41AEE63122; Mon, 29 Jan 2024 13:28:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706534900; cv=none; b=A6oK/aRV4zh+njvXDbZUU31xxN/gVkZMLCWGLMU2kQvibqsfm7wc0NEeicuDdjypLY9MGdk7K3ARLSpLuuceU1E/ETNa9UVY+IoFXbdpQgJEksfuVlao3GD+SKLSRokkD8dBrVxTUN4qiqhDSSAh01Bl7KQnEK+khG2TqSLwJuk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706534900; c=relaxed/simple; bh=vlEQPHgbonSiBg5LX4H0qRRXi9G9a9N7rDzUr+fbhKk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dNICipP6J62G8AJTE6hxC9RFHWfst0ts3olyIuQtX8ywoU41RfE+JeEc1TSs9IOUjxh8fOx6E1tEmwikQjQABmU8nQ1LQNp/HMpzF3dMylBpHisOwHD9Hii6M4Is9sKHnencJVq5U0W8wQYWuBZ+71aykH8TxcMj9O+flBLG7bw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=Ciqnuyrp; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40TDSBR3128893; Mon, 29 Jan 2024 07:28:11 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706534891; bh=Jr4NcX0OW6uFqTdoOI3EuqySw+581YA4SmRlvEMU+QM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=CiqnuyrplXTiyd7nbCwmH+sfa0O9MLhynwmwqr2GhF1+SYiWXo7UE0ww0DoblJzut yR1g2mQ5Y0nVy3z7ySCfVECWOhLYYfh2Gchs8FWwowiWnoAe9cmE6zvRPk0CBCYTjX Z+Ka+5l/3b2F35wSLFWuPIoTYrI2qyay2dnv5xUw= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40TDSBZQ027103 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 29 Jan 2024 07:28:11 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 29 Jan 2024 07:28:10 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE100.ent.ti.com (157.170.170.30) 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; Mon, 29 Jan 2024 07:28:10 -0600 Received: from uda0490681.dhcp.ti.com ([10.24.69.142]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40TDRg9G036720; Mon, 29 Jan 2024 07:28:06 -0600 From: Vaishnav Achath To: , , , , , CC: , , , , , , , Subject: [PATCH 6/9] arm64: dts: ti: k3-j721e-main: Add CSI2RX capture nodes Date: Mon, 29 Jan 2024 18:57:39 +0530 Message-ID: <20240129132742.1189783-7-vaishnav.a@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240129132742.1189783-1-vaishnav.a@ti.com> References: <20240129132742.1189783-1-vaishnav.a@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 J721E has two CSI2RX capture subsystem featuring Cadence CSI2RX, DPHY and TI's pixel grabbing wrapper. Add nodes for the same and keep them disabled by default. Signed-off-by: Vaishnav Achath --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 122 ++++++++++++++++++++++ 1 file changed, 122 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index 2569b4c08ffb..9d428d6f8a7f 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -572,6 +572,128 @@ main_timerio_output: pinctrl@104280 { pinctrl-single,function-mask = <0x0000001f>; }; + ti_csi2rx0: ticsi2rx@4500000 { + compatible = "ti,j721e-csi2rx-shim"; + dmas = <&main_udmap 0x4940>; + dma-names = "rx0"; + reg = <0x0 0x4500000 0x0 0x1000>; + power-domains = <&k3_pds 26 TI_SCI_PD_EXCLUSIVE>; + #address-cells = <2>; + #size-cells = <2>; + ranges; + status = "disabled"; + + cdns_csi2rx0: csi-bridge@4504000 { + compatible = "ti,j721e-csi2rx", "cdns,csi2rx"; + reg = <0x0 0x4504000 0x0 0x1000>; + clocks = <&k3_clks 26 2>, <&k3_clks 26 0>, <&k3_clks 26 2>, + <&k3_clks 26 2>, <&k3_clks 26 3>, <&k3_clks 26 3>; + clock-names = "sys_clk", "p_clk", "pixel_if0_clk", + "pixel_if1_clk", "pixel_if2_clk", "pixel_if3_clk"; + phys = <&dphy0>; + phy-names = "dphy"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + csi0_port0: port@0 { + reg = <0>; + status = "disabled"; + }; + + csi0_port1: port@1 { + reg = <1>; + status = "disabled"; + }; + + csi0_port2: port@2 { + reg = <2>; + status = "disabled"; + }; + + csi0_port3: port@3 { + reg = <3>; + status = "disabled"; + }; + + csi0_port4: port@4 { + reg = <4>; + status = "disabled"; + }; + }; + }; + }; + + ti_csi2rx1: ticsi2rx@4510000 { + compatible = "ti,j721e-csi2rx-shim"; + dmas = <&main_udmap 0x4960>; + dma-names = "rx0"; + reg = <0x0 0x4510000 0x0 0x1000>; + power-domains = <&k3_pds 27 TI_SCI_PD_EXCLUSIVE>; + #address-cells = <2>; + #size-cells = <2>; + ranges; + status = "disabled"; + + cdns_csi2rx1: csi-bridge@4514000 { + compatible = "ti,j721e-csi2rx", "cdns,csi2rx"; + reg = <0x0 0x4514000 0x0 0x1000>; + clocks = <&k3_clks 27 2>, <&k3_clks 27 0>, <&k3_clks 27 2>, + <&k3_clks 27 2>, <&k3_clks 27 3>, <&k3_clks 27 3>; + clock-names = "sys_clk", "p_clk", "pixel_if0_clk", + "pixel_if1_clk", "pixel_if2_clk", "pixel_if3_clk"; + phys = <&dphy1>; + phy-names = "dphy"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + csi1_port0: port@0 { + reg = <0>; + status = "disabled"; + }; + + csi1_port1: port@1 { + reg = <1>; + status = "disabled"; + }; + + csi1_port2: port@2 { + reg = <2>; + status = "disabled"; + }; + + csi1_port3: port@3 { + reg = <3>; + status = "disabled"; + }; + + csi1_port4: port@4 { + reg = <4>; + status = "disabled"; + }; + }; + }; + }; + + dphy0: phy@4580000 { + compatible = "cdns,dphy-rx"; + reg = <0x0 0x4580000 0x0 0x1100>; + #phy-cells = <0>; + power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; + + dphy1: phy@4590000 { + compatible = "cdns,dphy-rx"; + reg = <0x0 0x4590000 0x0 0x1100>; + #phy-cells = <0>; + power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; + serdes_wiz0: wiz@5000000 { compatible = "ti,j721e-wiz-16g"; #address-cells = <1>; -- 2.34.1