From patchwork Fri Dec 1 05:09:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13475374 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 4C70BC4167B for ; Fri, 1 Dec 2023 05:10:24 +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: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:In-Reply-To:References: List-Owner; bh=hK1shUFBcRK8IieLMF7r0fMseP0CALPfQyCMuY16nXY=; b=nUnkGS7QyBsUUR rNF8WIEpJkYEhVvyKkgTkA1v49/X6J3aPEath3w+JEZk7qPXnQF/E4d13faMq+jww1EO+xiRWel/b LCSedEt5Z0fB9lwFWUyx9/Ku/0Jy3WSiBOlRL97IT95Vj8KNfPj6JSKJHpXAnAD0Mocp4dMZBHFMl EBE5DDHoQulE5w7IjI4b2rWAnA8BS7kXx+4wGicGqeBl33wkd/dXUkfNsAmcrSDggMMu4lXE9YCNn WOCykMCZk3uy0xaiWJxnV05OOtNz+bInVmPTaIoYKj+jzpZK4CpnNOXpb9sE+jmQGLuORgrnXMkLx OlswzxIwV8xc/Ze+ksHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8vmo-00Cdof-2P; Fri, 01 Dec 2023 05:09:58 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8vml-00Cdnc-1u for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2023 05:09:57 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B159dgc046670; Thu, 30 Nov 2023 23:09:39 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701407379; bh=tfuXokGxdHkp/jVxEO6VgiOvnhCZbWpw1fyKZV7b8og=; h=From:To:CC:Subject:Date; b=u46Rc+MX5Jn8Hb6U1poSx9IxJv68A4rpmGFJ4vhNz+8ZJM77F1r7VyrjDZIC2Ky/r PM+F1soZoPcIuD7HdLZwx6maEzW0CvX5/JB+ThrsDwLHqQS06jrYQp193A2ICHzwBO IY+csPSqHKhM11QVsTR7u2kmRh545uDoQf3siNaY= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B159d0C006632 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Nov 2023 23:09:39 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE113.ent.ti.com (157.170.170.24) 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:09:38 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) 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; Thu, 30 Nov 2023 23:09:38 -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 3B159cFs076088; Thu, 30 Nov 2023 23:09:38 -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 0/9] arm64: dts: ti: Enable CSI cameras for AM62 family Date: Fri, 1 Dec 2023 10:39:15 +0530 Message-ID: <20231201-csi_dts-v3-0-9f06f31080fe@ti.com> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 X-Mailer: b4 0.12.4 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_210955_732647_0285FF69 X-CRM114-Status: UNSURE ( 8.97 ) 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 This series enables CSI camera support on BeaglePlay, SK-AM62 and SK-AM62A, now that the dt-bindings and driver support for CSI-RX related IPs is merged in v6.7-rc1. Along with the device tree nodes for CSI-RX, add new DT overlays for different camera modules like RPiv2 (IMX219) or PCam5C (OV5640). Signed-off-by: Jai Luthra --- Changes in RESEND: - Add Andrew's missing R-by in [PATCH 4/9] Changes in v3: - Enable CSI-RX and DPHY nodes in the overlays instead of base DTBs for SK-AM62 and SK-AM62A - Link to v2: https://lore.kernel.org/r/20231117-csi_dts-v2-0-bf4312194a6b@ti.com Changes in v2: - Follow Andrew's comments to avoid creating combined DTBs with overlays applied, instead adding them with "dtb- +=" to optionally test that they apply cleanly with OF_ALL_DTBS=y config. - [New Patch] Cleanup existing combined DTBs to also do the same as above - Pick Martyn's Tested-By tag for SK-AM62 - Link to v1: https://lore.kernel.org/r/20231115-csi_dts-v1-0-99fc535b2bde@ti.com --- Jai Luthra (9): arm64: defconfig: Enable AM62 CSI2RX arm64: dts: ti: Enable CSI-RX on AM62 arm64: dts: ti: Enable CSI-RX on AM62A arm64: dts: ti: k3-am625-beagleplay: Add overlays for OV5640 arm64: dts: ti: k3-am62x-sk: Enable camera peripherals arm64: dts: ti: k3-am62x: Add overlays for OV5640 arm64: dts: ti: k3-am62a7-sk: Enable camera peripherals arm64: dts: ti: k3-am62x: Add overlay for IMX219 arm64: dts: ti: Use OF_ALL_DTBS for combined blobs arch/arm64/boot/dts/ti/Makefile | 60 ++++++++++--- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 62 ++++++++++++++ .../dts/ti/k3-am625-beagleplay-csi2-ov5640.dtso | 77 +++++++++++++++++ .../ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtso | 77 +++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 99 ++++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 27 ++++++ arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 7 ++ .../arm64/boot/dts/ti/k3-am62x-sk-csi2-imx219.dtso | 84 ++++++++++++++++++ .../arm64/boot/dts/ti/k3-am62x-sk-csi2-ov5640.dtso | 82 ++++++++++++++++++ .../boot/dts/ti/k3-am62x-sk-csi2-tevi-ov5640.dtso | 82 ++++++++++++++++++ arch/arm64/configs/defconfig | 3 + 11 files changed, 648 insertions(+), 12 deletions(-) --- base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86 change-id: 20231114-csi_dts-5f433aca3665 Best regards,