Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3731577rdh; Tue, 28 Nov 2023 02:13:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IG2wkIgPub6/ch1A/UZWO7FmTFr3Y+SVT9RJFwbMI2qX1h2obIzzhUuYkeifKOAsohgtCea X-Received: by 2002:a05:6808:494:b0:3b8:4614:8b27 with SMTP id z20-20020a056808049400b003b846148b27mr15761980oid.50.1701166398623; Tue, 28 Nov 2023 02:13:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701166398; cv=none; d=google.com; s=arc-20160816; b=clWzwuOT1uCr689fjMXV7wqC7KCjPOiycCz4xzQmgXoWg7ne20I8lWF4b0yd1W4dSW QTB/zGWa4GVgSKBhSWUkldDbfwB4d1an3ayUE4rFKmsv4aaEZPtDpYruI0uze6chYg8P IVo01vcpDp1Y/6WFJ/gQ5ClEMKgPNJYdPuT5/9DEDqZneMqo9hOCDBwKs4u9GYYDja8w Kv8uTKl8gRIKXhPeLAixUqVki+0EnG3a7o6P2AZ17+CxKSgUyRhugUd+I41s35jcge0w Fwby1huTR28OK/qxiYLca1oEfcmr3N1V5+4QyWTzhh0E1Q5Zo37usLgsVNYpwEoMBFbQ Qnqg== 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=Qm78XzrRYE6dT0oIbU5WDgyx6hn0YmjpOZVu9WaEDzA=; fh=gjf50MpIeI4y7DsLDR8KPyZZDZn0L+YVyMCrolRSpx0=; b=aUQpuivq4mtEObAixaJpnaIGcc68b9ulSo2dZPG3A5gd5vdy09O3ucq0LWLzt/NdTy QCjoFGTFGNp41p6CNifIPomdqDxVTXG5g++Y0AOCfLtdlUEhMl/lcnVD9oGbIbJOWyuS dRmAV3zT2hYSQdCWKhwHBnfRFhT9ufVLS4bvAO3lJzEFQpJgo+tO2+HUuSjHZfBXgUHD ZwP/9lf0WwMSUuHiSobdm/Q7H3ZZDeXGKoCocU7wkpwW75fuwRGTxLsAZPJbODAY0ZKj TJRHcMA41wbDzoj5xRoYNju4NRo7aGBH9xSU92JFDszFG7R9qG1qIQ4157vv3c28RNlc J8iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CfcbSztL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id c12-20020a631c4c000000b005bd6897634dsi11406526pgm.249.2023.11.28.02.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 02:13:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CfcbSztL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 890A4805E034; Tue, 28 Nov 2023 02:13:11 -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 S233003AbjK1KMk (ORCPT + 99 others); Tue, 28 Nov 2023 05:12:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344067AbjK1KKl (ORCPT ); Tue, 28 Nov 2023 05:10:41 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 361D010A; Tue, 28 Nov 2023 02:10:46 -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 3ASAAZdw023076; Tue, 28 Nov 2023 04:10:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701166235; bh=Qm78XzrRYE6dT0oIbU5WDgyx6hn0YmjpOZVu9WaEDzA=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=CfcbSztL22xRlJ+Q7aQIibriYQnteggB2w+4c+kI/m42BAJnw534NiQCGWceK6ht5 k8bp5sxFScXkLzNsXlBTiKXcRrBhJPAK1xX3c2a0JO3q3jUPbYVD7tnhDTDVLbURJa Jr7AY9K9uoetcISEptzi1Qq4cCVY7rQo6YsFK8H0= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3ASAAZ54070686 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 28 Nov 2023 04:10:35 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 28 Nov 2023 04:10:34 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE108.ent.ti.com (157.170.170.38) 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; Tue, 28 Nov 2023 04:10:34 -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 3ASAAXZB125468; Tue, 28 Nov 2023 04:10:34 -0600 From: Jai Luthra Date: Tue, 28 Nov 2023 15:39:49 +0530 Subject: [PATCH v3 7/9] arm64: dts: ti: k3-am62a7-sk: Enable camera peripherals MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20231128-csi_dts-v3-7-0bb11cfa9d43@ti.com> References: <20231128-csi_dts-v3-0-0bb11cfa9d43@ti.com> In-Reply-To: <20231128-csi_dts-v3-0-0bb11cfa9d43@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 , Matthias Schiffer , Jai Luthra 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/ZANAwAIAUPekfkkmnFFAcsmYgBlZbyEaYwrLbe2rCCbxCp+I03KmJ2QVONsp9TG5 PCZJ48LoWuJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZWW8hAAKCRBD3pH5JJpx RVaTD/9izTRAPvFTgvnCkUDpPJpVMVm2BO/f+etxdXxhSAbHyec6+2NbvQTWM0Q0goROBWgMnXk sQSF68nGKZuatUs3vEVcokQc5mu6+tZjUfYK/gzTMPxzpD83WuECm9P+GpS7HMDMAaRQy/Ra30X HzaK5So5RgISHpztvwxb7LXA0SEr9vnBK3rJmIh7vAyT8UC8DFFay/3AowQEKWkUPJqbhfVsjTC Y/xQ+GA+5ROAC3/C7CWW8NHxTMXufXfjjiiJHiQp/jHZmYkzwl0JOHWFxHatEFQhZRp+zcmry1y rzbB4C7XuQjIy1aK2kpKv8yCZm6GS2hYBxutuRwMow1zEj59tGZa8alPAsbJ+LhXpGfOujra6th x3DF6FqixNcNMB1L1e7Npkt8owDRYt5UD2TnZxooNeO9Pig6HjRSfD5Y38C7slJpBOgKzHuF+LO AtFEFvjoESZCHNVUj5srRykFSv1emw9JLJW/KieIl3H63xspIXh0nsDeHk9Vn0CaULJHUHnjPve g+b/es0IKbB+oRaZDJsKHzrv6Q91GMKbz+bBxRrqQP9qMcou8lYKZtyUdoC4sPrHYOkSMKV+v9r m6Ru9L2arkVYuLpVqaTssrct6p6SRP9OtZFFdgS5ET0w8HUKS/H90s4iLResMdkcbO0cdhWdM5n izoXJSxQ3/QsXhQ== 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 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]); Tue, 28 Nov 2023 02:13:11 -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