From patchwork Wed Nov 15 09:51:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 165251 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp2430672vqg; Wed, 15 Nov 2023 01:53:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJPHa277/fsuBK3u3ay+AGSPHp+VW/x9i/Ik8mq/o9LD4CXjx0fA3IiO26YG+bzF/Y7A3L X-Received: by 2002:a05:6808:a0c:b0:3ae:16aa:8ba9 with SMTP id n12-20020a0568080a0c00b003ae16aa8ba9mr13856748oij.30.1700042011055; Wed, 15 Nov 2023 01:53:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700042011; cv=none; d=google.com; s=arc-20160816; b=yK7mR2/2F6jyk4ktVRQFXE/1c7NbxH+8WK5hTwHNcNyhR5+1JXd2q1+VuKoPq6Wv5K z+do1mtlGzxM0RZF+vJlwdBmbenC0/TvixagrWB8e754/54XjRlM1Ik4D+d+WB+CMfG4 jQzrO5l8O/2RRgZRcw4UHoJmzTo7OlGd8pgEf5PcqKQb397Hc+7Ktr45bLHPiq8B0/Wy 1MTwZ9saci13vOb2O6D9pc2ZMSL+zAfkGiKitFKdjj19TThZ7BfFxOjbzyvE3Q4pKbLL iycMVF4eLw3xNjEDUJbyLb4N4Oy5zd+ITGan9/30vowA5LJ2a9zYib/NFMuc5IO++UxD GFQA== 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=PNUVApjVYaIGK9JiiY4OVOF3nsNslR6FLMX8Zywxucg=; fh=/DmXmFEf5H4yMoXETWO4dsv/SeAJhpaj5Ol0ioZpBwo=; b=r79kAeCy5Nj4GK8bMVPEbwFMWfVKRYiYms0WWsR6wMbIsd0ZlrHiaSq5vwXLruXv+1 QmJ1mbxfO8/gwJSx6e4LZOLIHP12Rl48R2cXUXtkZWEONglPcnPtwhkjE9RQsC1kU2Be LI2l4FQbkrSOXgjkzFoi9lFfxawCPpfwErgknxKFSewF2QQUcVHRd3Yw2wZbMrq5r9Nz ts3i0m/DbXPARXDXDg5B6XzKJwdUXcco/kubaQd8B14t7Rfc4RhjiQA3EM5mCib7Aua4 CmXx9gswhwlWNo/IgD/scbNmDZKJwLmeRzJPmJFiZMed4quHRSNjzQgZ4BKOJ8pdSwnf Y0EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=PFjK70W+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id k125-20020a632483000000b005b8ee1c0c68si9600355pgk.605.2023.11.15.01.53.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 01:53:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=PFjK70W+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id D0E14801F949; Wed, 15 Nov 2023 01:53:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234871AbjKOJws (ORCPT + 28 others); Wed, 15 Nov 2023 04:52:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234842AbjKOJwm (ORCPT ); Wed, 15 Nov 2023 04:52:42 -0500 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77DE318D; Wed, 15 Nov 2023 01:52:31 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AF9qImS100743; Wed, 15 Nov 2023 03:52:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700041938; bh=PNUVApjVYaIGK9JiiY4OVOF3nsNslR6FLMX8Zywxucg=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=PFjK70W+5y9a82/TLUNRSGcOwROC4P0Ke4iRo6p85Mk+LydlJ3UKQindAcJAk3c8w 2U6GYAsCRCeofef7V8ozm1co2HBMcT8lCwQZZCm/X/d5uapkN0p7JezrFGS3nlW2At HEe7+qPTQIV2sOBfNYzDMTwcSpjUzfhYYH3+2FWI= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AF9qI37109218 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Nov 2023 03:52:18 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE113.ent.ti.com (10.64.6.34) 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:18 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) 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; Wed, 15 Nov 2023 03:52:17 -0600 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AF9qHto009790; Wed, 15 Nov 2023 03:52:17 -0600 From: Jai Luthra Date: Wed, 15 Nov 2023 15:21:15 +0530 Subject: [PATCH 7/8] arm64: dts: ti: k3-am62a7-sk: Enable camera peripherals MIME-Version: 1.0 Message-ID: <20231115-csi_dts-v1-7-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=1496; i=j-luthra@ti.com; h=from:subject:message-id; bh=gz9E1SzSNspg9BAAZhjLumqrDg19fknMHvxVHY3oO+E=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlVJS+SQwuO3y5czKQptuHNVtnvW/0c6tvCBl8y 9qeg9MJ84WJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZVSUvgAKCRBD3pH5JJpx RWAAD/4vFcUOIxprUiXAS+TvJxuxnVBqtEX/d31DvULFnPjH9NdgZiimn/J7xeiXYPrhrRsHPOL DsVZauJc9GIOVbKKgU/DVr66JHHXbd2MupDQJUerw7uQKd1emkxMgP5K6gxoR6rgyJmi4jFMxRG e7oV3m7EAIrQfDnJIalNlXZNStLD7QUS1uSIo+Unkq69YZrLLibdy3NM5HP4i+2qOsGTIfTX8aW wuA5OL9FUBn5Gf4hyQRfV7EQ3L/AzobzM2fhLnGKKvBEsgFtkNU2RE1T0s4D9gFhGVlMG4KRr07 dfFw1zuE8rK7jbBf9bVU+rHP/qSIzUvhKrr2hShQ6Y54wiI4b+ulAMzyOw9kRPYFw3v9l48gNaT NXgoCKrWe8+PAYQ42Sln6RuI1C3oLOrg3rChUcXSzRGAhdc1BzYqsx6txgTCdScZ32oan2KalWH 1RGf1umjKZVOQeEL69aDHwkNlEQCOuP90yvASXvDGFW2/359lhOUwFn3yO7SXBPnnHD/0GPVPmz fiTLU3kO26CgZtHpzg9w+iqsyq/5hmKMxtoS4dMjbBdG+3nwsf7d0Nor6tmYFXk/afGqOBh+AIS jv44T+jjzaUVP5M7t1Aal4kKzmISSJTS7k2hcvauyWEmyGS4RJTsXXw3Qkjab1qPQvyh8BSIbbv DtZAA8FQernGuGA== 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 fry.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 (fry.vger.email [0.0.0.0]); Wed, 15 Nov 2023 01:53:23 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782623251414057686 X-GMAIL-MSGID: 1782623251414057686 Enable the nodes for CSI-RX, DPHY-RX and I2C-2 as it is used to control CSI based sensors. Also enable IO-EXP-2 as it controls the mux between different CSI-2 connectors. Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index 8f64ac2c7568..20ec07a5237c 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -434,6 +434,33 @@ tlv320aic3106: audio-codec@1b { DRVDD-supply = <&vcc_3v3_sys>; DVDD-supply = <&buck5>; }; + + exp2: gpio@23 { + compatible = "ti,tca6424"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = "", "", + "", "", + "", "", + "", "", + "WL_LT_EN", "CSI_RSTz", + "", "", + "", "", + "", "", + "SPI0_FET_SEL", "SPI0_FET_OE", + "RGMII2_BRD_CONN_DET", "CSI_SEL2", + "CSI_EN", "AUTO_100M_1000M_CONFIG", + "CSI_VLDO_SEL", "SoC_WLAN_SDIO_RST"; + }; +}; + +&main_i2c2 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c2_pins_default>; + clock-frequency = <400000>; }; &sdhci1 { @@ -544,3 +571,11 @@ &mcasp1 { tx-num-evt = <32>; rx-num-evt = <32>; }; + +&ti_csi2rx0 { + status = "okay"; +}; + +&dphy0 { + status = "okay"; +};