From patchwork Fri Dec 1 05:09:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 172252 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp889778vqy; Thu, 30 Nov 2023 21:11:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvqJqL8NhgkZiO9CHObE8466e1sHn1y5Y/dIAzWZF7H8iAi/4do9ktmgmn6aw5427doFCn X-Received: by 2002:a05:6a20:7346:b0:181:b87a:b8ba with SMTP id v6-20020a056a20734600b00181b87ab8bamr23861195pzc.53.1701407475820; Thu, 30 Nov 2023 21:11:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701407475; cv=none; d=google.com; s=arc-20160816; b=AcXN5LpSrX/9fFBCy/ZQjfUpLLvMVF+VM0H5IFiBgWBX6m0dQv9hMGXvKB5i0/HN10 wuWYPrPpV9dpe8WMm8yWIMOfG/0DdZFw7HLrIlYDG8O75+E4G6d0inrE791oa6/FA1oi dQMQDTlVqwWJssarT9iAyknJAA5eaVz+fhPA3W1oNDcGeEDZl2un6foLRV52tmmr2W0M N5eMccfobLMQ1ztW+RHu68UireJQjfGMCM3A1uhJWBJuRGfDJiKlUXWez3wFnUF8+0EE 8Almi/J5UQCYzeqtwZBDWzM7e+PJb4LwWQSnWkb1M+YdCZ43oWOSTy4vkktTXzTyAAhQ Nk3A== 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 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id i17-20020a63d451000000b005c626072edfsi2718928pgj.773.2023.11.30.21.11.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 21:11:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; 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 23.128.96.31 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 605DE83294C2; Thu, 30 Nov 2023 21:11:13 -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 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 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:13 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784055045494016428 X-GMAIL-MSGID: 1784055045494016428 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 {