Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp803938rdb; Thu, 30 Nov 2023 21:11:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IFcJHBBye1M24KU5d0Gn7SPBtzDS0+8gSIT8A9QF9dQunAYzu6oodcP/0Gp8Tva/VB9xjNK X-Received: by 2002:a05:6808:17a2:b0:3ae:61f:336c with SMTP id bg34-20020a05680817a200b003ae061f336cmr2089644oib.8.1701407479990; Thu, 30 Nov 2023 21:11:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701407479; cv=none; d=google.com; s=arc-20160816; b=Cs2d4lFCAaxomYo4MbbwnwntXsZYdEYZ3rbLLbPTfMFeZjdvzS7UY8mFIkOP0vQRQR vTSksFQofgrgx3ZQJqAOtBZ1gb8Z7ktfhZvTbBnpDsVLGOAKvnuYD3Z97wZxtNODJKpp 7rHIz1jQ6EJBU690eipKMvfUanxnH3m2Cr52iG7lHmUOpCOhhMOnHChJBuwkU3ntTVaP utrDMszBTxo4q6beqMtxDrYDnJoBXOJVfvzQ6bOku9VJdqA25Jtl3mzE6OGmZquhi+JF BD7g72ZFZrMYFil1JeCG5O2Dx9LY849af12fZZI1ifwx2FqEdPRDblvLE4h0LjmZimXM NolA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Qm78XzrRYE6dT0oIbU5WDgyx6hn0YmjpOZVu9WaEDzA=; fh=4kSr5OJ7shtrhcKsjRyWBmAMqPnbCfW6aNJsT9zxNW0=; b=UXV+ejyPdCUExWhyhTEWnhFn2K0e459b9xYwqMcTCadXaW6/i2L2jHMNCfTFim0v6W 8wpQMQOr+s5b2b/KWdW5hpRyfctMEqvrUSTm/G6x8cGmX/6C9sisfDHrO/YvLeJhBKFH aVkLGjrxsXvvlNwIaRD6wHhr0N2lPgaEuXaIRNE2GhrMb/k5MGSq6VNmoSHSmqRCX220 /i5IgJTOSUi3uqh7vyVVYtcNbvUa1AaM+0MpENG7JfyH552Vb83uI1YxCGBe2F0JI1D9 UdjBOf1THz0jl0IpK8YmTriw+DT2MoO/Eq7g9hUY7UqVwXgWiiOceElDia9xCulz3cCT uhxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SKTuwNMu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id fc37-20020a056a002e2500b006cdd0109833si2781022pfb.154.2023.11.30.21.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 21:11:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=SKTuwNMu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id BFF2D83294C8; Thu, 30 Nov 2023 21:11:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377563AbjLAFKy (ORCPT + 99 others); Fri, 1 Dec 2023 00:10:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377582AbjLAFK1 (ORCPT ); Fri, 1 Dec 2023 00:10:27 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0C5C1980; Thu, 30 Nov 2023 21:10: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 3B15AETo049982; Thu, 30 Nov 2023 23:10:14 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701407414; bh=Qm78XzrRYE6dT0oIbU5WDgyx6hn0YmjpOZVu9WaEDzA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=SKTuwNMu2tJRpd7gRXwYVtsSzZvOEIY8urdPJbDO3aGvHuihVmxX2K4+UHb0QGwCQ 2HO3ZZqDu8Zko8C54sswENFpdCNEb86WHHh7csGq3FNFOD1cG4fwbyTdNfCzZeU3aq 5VF2wAJNVKyoqF5D5oT4GEspfNwxe71cLskPyjk8= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B15AEG3016483 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Nov 2023 23:10:14 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 30 Nov 2023 23:10:13 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE102.ent.ti.com (10.64.6.23) 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; Thu, 30 Nov 2023 23:10:14 -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 3B15ADUX024214; Thu, 30 Nov 2023 23:10:13 -0600 From: Jai Luthra To: Catalin Marinas , Will Deacon , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Jai Luthra , , , , Aradhya Bhatia , Devarsh Thakkar , Vaishnav Achath , Julien Massot , Martyn Welch , Matthias Schiffer Subject: [PATCH RESEND v3 7/9] arm64: dts: ti: k3-am62a7-sk: Enable camera peripherals Date: Fri, 1 Dec 2023 10:39:22 +0530 Message-ID: <20231201-csi_dts-v3-7-9f06f31080fe@ti.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231201-csi_dts-v3-0-9f06f31080fe@ti.com> References: <20231201-csi_dts-v3-0-9f06f31080fe@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1291; i=j-luthra@ti.com; h=from:subject:message-id; bh=s5NY99U26dYVT2Xd40MgpPFPJ01pwWoG1kV6T+WuzsM=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlaWXw3Vd3zNFK6A93GkahZzKk2heSI0oiFXP7/ KzdhkwLLGKJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZWll8AAKCRBD3pH5JJpx RaTrD/9um6J/5EdZbvxIkH36xGSs/9+sGwF6qrgKDtmFzaHyfQGo2wFxCm5sOotY3AsxPcNXKkY 0i92BifDhRiyyMAxQaTT09OayjD/Q745SIjxD7zirXgY2eFBQxATWwVhSCK/UUWDkuRJXNIpEhp Sy29GHPqVut38WNtEkDz3YYihyBzfTSebnMIJQfxBh7PxQMn8taQMue5bqotx8ol503Nk/yPYnH xNKlLTr23mfpsaiRzbH2u1XIgiPHMWAB054K0UceYmp+f1iG81hxpkN4nAIm4jGBhfqAa8/FQtq kBtGsixBhjFAfTWjcQGVfHECIYm+e+Shn/kRzcocJjXoCMaQlsuozMSFodvNu14dXTBqo/BXaMI OppVoG9GqNCWEa6j0qU9QhHhUAS3N8GtLsmSkoj/isjjJ3TKBvaQY3CX9fcCtuvzrIBbc+TCzML BaNO2cRjQf04l8daf1Kk5+WLYMo4BM4nkAGc32HTni/QdbUrE4WFvPAXg19AQmWqpU/KMmsOyvp HnG2aZgKfuqua7oUCcyRD9hdAbNIuPYOjNDJekHswrby9/8nQqzZFiCl9zen+QVWlAkZTFvPtOW Hb3NgBNf24N4Y9Otc/y34AZrI+rDv1v0V3bEwpTo1PeFCNxTjFQLHJLxx5M/QcPX9c+YzmcDP6m mn/RI8gmc7QWyCg== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 30 Nov 2023 21:11:17 -0800 (PST) Enable 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 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..eb2f45a6ba23 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 { -- 2.42.1