Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2482358rdb; Wed, 15 Nov 2023 01:53:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhpPU/Je6I0q8Z7jYgSePhDcl4XxZa9MNcsqA4Pi8mc1AxZsv6TujqO1ssAMHfSK/ZYXOy X-Received: by 2002:a17:902:ab93:b0:1c1:e7b2:27ad with SMTP id f19-20020a170902ab9300b001c1e7b227admr3760028plr.60.1700041983569; Wed, 15 Nov 2023 01:53:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700041983; cv=none; d=google.com; s=arc-20160816; b=H14GxESrN0gtb45UWP5r4M6RH5G3rf63yHy3zw5umq9oBuinKpaDHtFfuJgeu2uhM4 oIbxka5DwyP7x5kN5yj3J0LL2PTp85/a9+b7gOQB8YbsRgm21U2GqVXbDKLRCgR6c6er vUMfGj05rlpnOAGekEIArM9IoueaUkQAWWeIMZLBksi9Sda84xpuv77j7/Ji6+KaBgxv xNXEuba3xXL4hj1rKYihaHZSi/GEF1/NrfD8eIWppc7sOCl6GXIvDJP+nqD2DIHXRR5H H/zc8pSbyqOOGiDpXICRcMt/+cWB9pyiCdh2WBNvwj7AggweW/ijMTdxWVFAQOzIyQM2 JdMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Sy2cqL5S5oxFfbE7V7ZjL7hiD86FRrhKijn9W4cm3aQ=; fh=/DmXmFEf5H4yMoXETWO4dsv/SeAJhpaj5Ol0ioZpBwo=; b=0hFycxUz0g5iR5H9cEEAlnHj3rYhKk5KmH4O2dMqTek2COZdqrwBlR98JC7XUmTBe2 alJs+7qfUF64TTbOSyaEso9A0Nud18B5VIgLbEkVuRnUe+KmOrJ4BklozjzOdCHxFt68 kJ0S2NeCQqC77pdXqO744vKLVlBUDvn/8jAF/6paIWQ/bHTfOXXsNd83bvEdNTnbIbD1 BoQ3sEoKtZKILdPeP0+szTv4Me8EJ3K0LuUZmDybWwaXTIxxdJX3JpI7KvHKuZIH9oAR sXLf96zf6UKYj2zzNcHr+8ZHxZLs2ejSNgh68vtQ9naOD9z6a0dC2Sbper1xf+5BUW5T kkBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ilhqxYXw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id f15-20020a170902ce8f00b001b8a67f1c10si10470787plg.468.2023.11.15.01.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 01:53:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ilhqxYXw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id CF86380BFEC7; Wed, 15 Nov 2023 01:52:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234827AbjKOJw2 (ORCPT + 99 others); Wed, 15 Nov 2023 04:52:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234764AbjKOJw1 (ORCPT ); Wed, 15 Nov 2023 04:52:27 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FC16106; Wed, 15 Nov 2023 01:52:24 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AF9qF1B105004; Wed, 15 Nov 2023 03:52:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700041935; bh=Sy2cqL5S5oxFfbE7V7ZjL7hiD86FRrhKijn9W4cm3aQ=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=ilhqxYXwzdc3Z/GwCvKtsV+6lyvRCHiERxQIlnn5geotQ13GDj0+N7PDJ+cJob7ZA d+w2WHHSt1R/HCwdG0WWjB9Gxn8ibiK3Atgb0lyq8CNIGTcv8dvjye5mLvAApIBRPQ woMVcfhC9ouNAXmime99mB/RSuoAkiQ45uWhIUwA= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AF9qF85109197 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Nov 2023 03:52:15 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 15 Nov 2023 03:52:15 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE105.ent.ti.com (10.64.6.26) 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; Wed, 15 Nov 2023 03:52:15 -0600 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AF9qELp015908; Wed, 15 Nov 2023 03:52:14 -0600 From: Jai Luthra Date: Wed, 15 Nov 2023 15:21:13 +0530 Subject: [PATCH 5/8] arm64: dts: ti: k3-am62x-sk: Enable camera peripherals MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20231115-csi_dts-v1-5-99fc535b2bde@ti.com> References: <20231115-csi_dts-v1-0-99fc535b2bde@ti.com> In-Reply-To: <20231115-csi_dts-v1-0-99fc535b2bde@ti.com> To: Catalin Marinas , Will Deacon , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Aradhya Bhatia , Devarsh Thakkar , Vaishnav Achath , Julien Massot , Martyn Welch , Jai Luthra X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1094; i=j-luthra@ti.com; h=from:subject:message-id; bh=u6T5A1bh0HbjqVMvmWnZa1mJiyWBQtuXf9p93arc/0M=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlVJS8eRD4W4OrTF2JZ/HlxgUAuCM8fSqhlnBHm hD59HPVp2KJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZVSUvAAKCRBD3pH5JJpx RQc+D/9oT6DHx2HuteewUaSm2cSTSm6XaepiV7wh/SqBpZoOGdDQZazTTfFV49fjiRlDAUDM9oy WCh4YfUckPSPvr0dbWyBNfzF3RBs3o+MRa/2NMrhRD7iX2bGOGHVrNvotoHAigw3a3FOnstPDlN /4Tt6J57dDxfnq9G9YwVS/grTPuKsopg0Inx9d+7LXDIriwYCJ5AZNyV07BRYSO2oF2ClIbbucN sSxA4qHSrcefXziVpQnCAm6mjGDp/Vac3KrlqBtLKd+eyE171w1IAFUx37Ua2hf4n/zuvf8PaJ+ SI8Vc4xCE/XAaWodbsVhifZeEp7On/VGuGcd4bN+fRUu1gHJESVCPKbh46X3VIkpRiGQqEkiKDK /n95r3SqdtdTgWL4CpFc9/3Mlwvlzjew08vrjwd6thgBwoMmCBsTAzUiPCMKlxvLyzInWPz3TrO cJy8Kr3r8XyfRiW6d4sDLfiq9u6NiX2ytBQdCO8/Xid7YngZCzGldn1t63Ggjh2WFa8y7b1Z50w 8youzsIoI0Pop04D82I9vPbsumQuSg76ShFTF/WA4j8DV3Ap3bG2uoJssrjqtoqJRFlOVzunWvw mEP1Xs48OiPOy/Y6bAMzGCQ8qQ+OJLNl/Pw0ncNvACxOOnGCgrPa8tqdWhuHkG8sNjDM3ToIUJV 2x0+0tJKywqTl8g== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Wed, 15 Nov 2023 01:52:48 -0800 (PST) CSI cameras are controlled using I2C, on SK-AM62 and derivative boards this is routed to I2C-2, so enable that bus. Also enable the nodes for CSI-RX and DPHY-RX IPs. Specific sensor connected to this bus will be described in the DT overlay for each sensor. Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi index 19f57ead4ebd..21658f811307 100644 --- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi @@ -399,6 +399,13 @@ sii9022_out: endpoint { }; }; +&main_i2c2 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c2_pins_default>; + clock-frequency = <400000>; +}; + &sdhci0 { bootph-all; status = "okay"; @@ -517,3 +524,11 @@ dpi1_out: endpoint { }; }; }; + +&ti_csi2rx0 { + status = "okay"; +}; + +&dphy0 { + status = "okay"; +}; -- 2.42.1