From patchwork Tue Nov 28 10:09:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13470778 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 B6793C07E98 for ; Tue, 28 Nov 2023 10:11:12 +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:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date: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=wYNPbVNUSpxHgL vsFQv/9ByAsJLUdHBAIdN96sAcxDbeglmx4919XJZIZw2XbSaWyElUWwTQfk08pB2KUx0qkHi5pPT Nw6TtHsNC5NYf7RVh3xBPPdjspRdHh4o3FzpaFj/9tANK4IR5E66c2E82PZ3mwqDJ+A+72s/MIJk/ i/AlhvzSWM196coPhj2yu36qk4RBPyzWv6rgHwCZhr8N6+gMjzMOdTR6jbbJine+WEgpl2wW9INig lbmhcVUsbpSFKNVjmju0KqnC9DfY2ttj0V+u4Kcgj0XpBJcF/gkpV/KC0QtAJU0PRkIYCM3lBxMZa XMetuHk3NljkiBK06diQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7v3J-004p4E-1l; Tue, 28 Nov 2023 10:10:49 +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 1r7v3A-004p0W-39 for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2023 10:10:42 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3ASAAVAr120134; Tue, 28 Nov 2023 04:10:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701166231; bh=tm0UDT69bL/5esGVd0d3xwKLdjQ2FPR5EG/pDnLBVgg=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=Uh0WXSLCkIv+on504OqL/LGM5gqGuBc7H8XThukxLSoNIPjWvle8wPo3gst4vSoaq J8W1w/eRvwmQ35BQHZlwYdy0W6hON8yk0H533iTK45NOq7ttTm+Rv8TAVwpmcKKybB 9s9p6mRtJl2mpcd78c+bbnwnPYPhtu8EGXRNmGok= 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 3ASAAVkS070656 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 28 Nov 2023 04:10:31 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) 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:30 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE104.ent.ti.com (157.170.170.34) 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:30 -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 3ASAAT7U125418; Tue, 28 Nov 2023 04:10:30 -0600 From: Jai Luthra Date: Tue, 28 Nov 2023 15:39:47 +0530 Subject: [PATCH v3 5/9] arm64: dts: ti: k3-am62x-sk: Enable camera peripherals MIME-Version: 1.0 Message-ID: <20231128-csi_dts-v3-5-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=943; i=j-luthra@ti.com; h=from:subject:message-id; bh=glJ8V1sz9XMUeqlM6p2gMwJEQJqQRMwL+OUstDqPAlM=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlZbyCEonbjLCaLNUYg9a6aXIrW2pk47wtu8XTl G2W3fU8fQSJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZWW8ggAKCRBD3pH5JJpx RcLlEACJNKm571X69Z6SBVRWBnzbusRJ74dK8gPJqI9t1uFRC74ZN3oFeTAYlXiO4PYFlZ5EjZO cI7xiDzRjwVmfKIxjfzKn4IvnQyzOSD8BM8lyK5az3qJawms11Hk1NGj9J0nGrNEtmzo3RCNwtD j4ra3oe38CRCqBtUqJ9GWqZSWgmRWPVhtqyZYrY4Rh5wLOe27MPevFW8Nte28Rt5ysTOD18wmfe O9DD6FAOq5BhLikOaJUX3TwwW4Frw0+Q859g6upzB2QWAETOy5Fw5vgzD2dNJLv74PJWv9R2U4L OPnIPmnAYMHb5rqfQVEBq2lj6hZ2c5mgGxxEUFKN/C+iqC6TDXrmBQ4jpksUGrQvrofLzssNRc3 v86vWgJUNIneupQHa1p0sXBq4ASu9HwNlwagTtukwUd5lJnuIfCUBxrhbcrLItzOt1PT71Ac0XW 372lfEJcz4yqRX2DCmiAg/9ppYEyaABeUwI1cWljoSx5iNWWhFJgbVwIZK2gFceSUkyi8Mul372 oYL52IBgwBTlHp07hK0OtjjVLjatTj5GtneNfxxjvgaEiJth+YMGLSWnk7V3Hx0bH5lLY4e1Eyd zMevxkZ+4LNh8lllmJ5bD9EO0sndER32Z/l4dbCubO2oVXNQP7JK4c9vNnaxRQ0hSCGiZDhJfpP 66L9sTWp8SdfmwQ== 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-20231128_021041_089959_4B1BC3A9 X-CRM114-Status: UNSURE ( 9.55 ) 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";