From patchwork Fri Dec 1 05:09:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 172251 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp889662vqy; Thu, 30 Nov 2023 21:10:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnPAUogsTujWLyqVVw+iIZSVJa2RNg670u2S69zvrZ9Oo60mNZFo4SWTBFAb0InBUredwn X-Received: by 2002:a05:6359:3110:b0:16e:29bd:37be with SMTP id rh16-20020a056359311000b0016e29bd37bemr18425520rwb.28.1701407458001; Thu, 30 Nov 2023 21:10:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701407457; cv=none; d=google.com; s=arc-20160816; b=gweEnOKceW2ygXIUK3gf6vkoK/TObQG4wcslidTxqPDz54idQNhvCv7ZS9J3DOv/Rj YY2I2AvFzWpoNwPQKBarKGqOkCJQvaIfqG8QALL016NllbhgkvXUzc5b6Rcpn2E8CzaK gPdXINDy0/yny1urvLbIURGrhZbmeUdvSpVLNA/O9FfHHCT/AlEQtugu7HwOFpHJmHQR uaNaTrzi8i2AEocU38CMJzmfrdWu9yp/RU05Ql6ipg5PQ/9sOsaV6NEZf158e/Nro97o P1Sdj91Qtj/JgPKNIz66NqeV7gHzrSMn9w6/x51nZdohS5gBES/tamEX3a1Un5QiBKSz gctA== 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=tm0UDT69bL/5esGVd0d3xwKLdjQ2FPR5EG/pDnLBVgg=; fh=4kSr5OJ7shtrhcKsjRyWBmAMqPnbCfW6aNJsT9zxNW0=; b=Kjg7lWcpxIU6kGRX/4Osz5Abj3OOHml0p0NxIBRO0r3QQ6be9DsVabESu7tjsoZNdq dwC0VVi4MIr69t/ehQoAuwnJsQjXcrxCsCvuoDBSZUW+at39R5rFneu52m1GVTrXvJLN t/K0x3Mh1KF0N+ySfpjv/hXz+2wLZPsDeVcGv4K/uqeomsPmp+/Jra7YyGct0zX7hCaX fJ8VnDkqfpEMHd/A0Yls1SL2XUX0zI8scWlsoaPKsMn+psL145RxuPUDbRi2aKFn5OOR jGEkZ4sJyOpRpvR6cKwoWhWWpG6BrSpcte3RCEdFak/Fvzu32xEyU4fVvM0jV8iNA7U8 jI/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=R6k5jqyH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id q38-20020a63f966000000b005bdd8dcfe21si2673019pgk.195.2023.11.30.21.10.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 21:10:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=R6k5jqyH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 8D937831505B; Thu, 30 Nov 2023 21:10:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377556AbjLAFKg (ORCPT + 99 others); Fri, 1 Dec 2023 00:10:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377551AbjLAFKX (ORCPT ); Fri, 1 Dec 2023 00:10:23 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AAAC1BEF; Thu, 30 Nov 2023 21:10:20 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B15A9qo025908; Thu, 30 Nov 2023 23:10:09 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701407409; bh=tm0UDT69bL/5esGVd0d3xwKLdjQ2FPR5EG/pDnLBVgg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=R6k5jqyH4ZyDb30t/RkFajZsdzNMXSDUFxQyoIg8yDckfknvVRG+mA2GMQkRLPt0P +89Gwm+toFoBdlNW6lBoJrnp4dVaMptD2kKESngmFEQsoMFChIndT+8xJjq5ccMkHF nqfkDVrPF5hAORlci7K51u3rfHfX27H/ImR/H9sw= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B15A9J9007092 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Nov 2023 23:10:09 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) 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; Thu, 30 Nov 2023 23:10:09 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) 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; Thu, 30 Nov 2023 23:10:09 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B15A8Mx076612; Thu, 30 Nov 2023 23:10:09 -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 5/9] arm64: dts: ti: k3-am62x-sk: Enable camera peripherals Date: Fri, 1 Dec 2023 10:39:20 +0530 Message-ID: <20231201-csi_dts-v3-5-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=943; i=j-luthra@ti.com; h=from:subject:message-id; bh=glJ8V1sz9XMUeqlM6p2gMwJEQJqQRMwL+OUstDqPAlM=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlaWXthy0TgUiQZyT+p8x3Q/JVyTWjFgVwEnSXm 2ZpDmRJa2iJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZWll7QAKCRBD3pH5JJpx RTBPD/0YEG/X44tQ2NWd6qLIGzD71sG7qEVZfzP5PBzYe1mRb9h1U9RJlPD8RdOtdM2Ao88S56Y JGPDw304jwcr0Sb9JQg/KIbP05N6VS3Nr32kmYUAQvDWDxDyv2L05pdbAweyax6vWmfgARR/vvt VjfAjUYnITrmiFafs8koor6aNpPnUbeNHZYBn3QOX33Dm8PgH1t5/Jde7/MIiNaGvtSF+9NKPMw 35S1wG5r3SSvLkP2lKdFoUxtVlzCFLbINLD2aOSdYXre0s9lvFr+EIvIdQQRNn92o7S0sjFETLH QECrcKB+tAzRF+YKmB460P2ybZffdwR8yiq8BW42SqVx/5iq1KO2n4xNjtecgRmv2KPhRrep2tA WXmDuyXHvFO6NxWmfvZ/9bI/gEmowe9jL2bVw3cC6rpLZ6TVDUe2c2HPn+wjP03WEj97AcKVvUi mwmXGwkHw0Kd96VKPnu2E/l3/72HcfqyPnbAsrJ1ZuchdXaAqtfdOpyvRiDAsxIDngjSmxnYK1e nR/BnPwsu7EZdEcuA0FwUX2EVUakI9WVsaiYE3aW3qK/wP124pxo1RGRoXm0rzY1oDLD7vi4mV+ azqJZxngF37C9hWFuQqPzPQbi9pPmRQuFbpm9w3wjV85nWO5lmzrNDyzJci7Wp5+A1RvmD2ZPY7 6rzJLL4EL85hzmA== 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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 30 Nov 2023 21:10:53 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784055026808852947 X-GMAIL-MSGID: 1784055026808852947 CSI cameras are controlled using I2C, on SK-AM62 and derivative boards this is routed to I2C-2, so enable that bus. Specific sensor connected to this bus will be described in the DT overlay for each sensor. Tested-by: Martyn Welch Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 7 +++++++ 1 file changed, 7 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..5bbc7e24b548 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";