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: 13475382 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E5DFC10F07 for ; Fri, 1 Dec 2023 05:10:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=N4ghpPTZcr8LboGxcdMn+6LLObAqEWe1rRaSGg3MypM=; b=HWjxzsZHDqV1fC eMKwy3kapckdufketUNg0k1X70b0oPgfjuZ82tp/y4UBkjSIro3CE/CaAdlBEqrZiJXnt0WLJdHns 5FwMzu61SKdfVuz/s+3/9cGPaMiVPFb1IIYtFyQmSVDYHbq+PPETWwNBXGZWRyktHAk24LoF4GHn/ fNS+Sq/89ghfTI/7FEh+Tl7z9OPOT9RCPMu0OpSDrtMak6c60TRAF/axvpNUswWuPw+fwkHamwW1g +G/D+pi7sWhM9oHcRasBLbcfCmgU0r+Qce8rWu6DHI/FAy0LBXb/UQpEXvajF5xwHvQnYF6LGkCdT ZAPDZUtQX5fIwNaOVOoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8vnK-00Ce41-0c; Fri, 01 Dec 2023 05:10:30 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8vn8-00Cdxs-1s for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2023 05:10:19 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231130_211018_702300_F368C8CC X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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";