From patchwork Thu Feb 8 08:42:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 13549434 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 B788FC4829A for ; Thu, 8 Feb 2024 08:43:57 +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=+yDffDPOtIWvmB4wzSvGIX9esBhy5Bh5rUHQbbKzdV4=; b=BoUMClfcNmBY+V fLBV6TpaGbIY9qPWOYULJRf7QALl3Z1A4j2SwS7TgjderygrzK8SfXGpPCRM8lL3eUCb2qUrHpp0Z N/YzGJizByhkbGNlDVsWeN86Uqwni0rjbKxn6SGyrnR0t/+2nMbaR0qNbATfz5vrKSP2y+OncsfU6 wx8mI3ozMEc8rLSVGmVbwZjJcNaQN41AFy0rmRGCmrM6A7s60ZR2Rsh9I6iwPMbz+ejNEqO73VM3h 9kP0CQe59s40jc5ZoGwn4fpMmmPoX+J7Gr/SbCcM9CbfY8cu6oPN5hSDK1rxhQ0LIkVzzvxTRqX1Q i6C0qm15Fv2khZ7QimOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY00T-0000000D2kV-0s68; Thu, 08 Feb 2024 08:43:41 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY00O-0000000D2h6-18ON for linux-arm-kernel@bombadil.infradead.org; Thu, 08 Feb 2024 08:43:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=bt9J9P45uqT1NCvMcT/q9UULJ79smq3qVFxypoKNWYQ=; b=BcaBeBAb8nVYKnRjZ4eTdt09oc KighVBWFPCKhTh95N/GfDfJib8IEkq9zoFxhM7N65/XIHHwRYKoh40OQwi9U7W78n7YNIkwJboJhY Lh97B08VnWjFKOhpKczIPWwiP2j1Z8L1Fgwjxi/BAxcWItB3EjNeYH3PNmDOj5J+vf/I9aw0tNOdy yw3WkXil7pPCBo0DE26TV8ssd/fnUF505dcS8Tet0PGY+K4z6zhTKtDcsyF8ob/YatQ42XyD4YYVq 9YGnEHFW76POJ8qVbcAJubecc9YjZDrODUD8t2M7Ss/31kepnYTk0Mkzk0A3yDJB3XoEk1im5ABge /ZmEzu8Q==; Received: from lelv0143.ext.ti.com ([198.47.23.248]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY00F-0000000DMW7-06yl for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2024 08:43:32 +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 4188gxLR020533; Thu, 8 Feb 2024 02:42:59 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707381779; bh=bt9J9P45uqT1NCvMcT/q9UULJ79smq3qVFxypoKNWYQ=; h=From:To:CC:Subject:Date; b=PWy9SsknXd/HRusueX4+53L0/zSwDzxT0z0kuO9uwS1vm6I/GhADKh3dAkVMkI7VL QjsoUL64HSvzeJc4wp7VBAAsk7Q2D6ThjUq/wC4M7Ma4PZ2nXruBOgkwBafkkMCrez yn8Te9ZHDE5WZxBMiXIKyNgifwQwiKFnuoIY802c= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4188gxtH018007 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 8 Feb 2024 02:42:59 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 8 Feb 2024 02:42:59 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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 via Frontend Transport; Thu, 8 Feb 2024 02:42:59 -0600 Received: from uda0490681.. ([10.24.69.142]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4188gshK097884; Thu, 8 Feb 2024 02:42:55 -0600 From: Vaishnav Achath To: , , , , , CC: , , , , , , , , Subject: [PATCH v2 0/9] Add CSI2RX capture support on TI J7 platforms Date: Thu, 8 Feb 2024 14:12:45 +0530 Message-ID: <20240208084254.295289-1-vaishnav.a@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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-20240208_084328_092741_3CB6F6C4 X-CRM114-Status: GOOD ( 10.67 ) 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 Hi, This series adds support for CSI2RX capture support on J7 platforms, series was tested for CSI2RX capture on OV5640 sensor and RPI camera v2 IMX219 sensor on J721e Common Processor Board, J721E Starter kit, J721S2 Common Processor Board, AM68 Starter Kit, J784s4 EVM and AM69 Starter kit. V1: https://lore.kernel.org/all/20240129132742.1189783-1-vaishnav.a@ti.com/ Changelog: V1->V2: * Address feedback from Jai and Andrew * Rename overlays to indicate first platform supported/dual camera. * Add missed build test. * Add board schematics for all commit messages. Test logs: J721E EVM OV5640 - https://gist.github.com/vaishnavachath/b08521386cfbe1939facf39b8b2d796b J721S2 EVM OV5640 - https://gist.github.com/vaishnavachath/1b0d60da6b6464cf12334cd5e161a79b J784s4 EVM OV5640 - https://gist.github.com/vaishnavachath/02b70df94d2d41662eff99f4ce966d67 TDA4VM SK IMX219 - https://gist.github.com/vaishnavachath/64fc6edd6cc060027812bebd6573df07 AM68 SK IMX219 - https://gist.github.com/vaishnavachath/d522254ff5e797bc853e0706fbea932a AM69 SK IMX219 - https://gist.github.com/vaishnavachath/8dbd960cc89d691886df371c53aac399 Only a single set of overlays for dual RPI IMX219 is included in the series for reference and other overlays to test OV5640 can be found here: https://gist.github.com/vaishnavachath/d0a052106892fe9f3096733931e9ad5f Vaishnav Achath (9): arm64: dts: ti: k3-j721s2-common-proc-board: Enable camera peripherals arm64: dts: ti: k3-j784s4-evm: Enable camera peripherals arm64: dts: ti: k3-am68-sk-base-board: Enable camera peripherals arm64: dts: ti: k3-am69-sk: Enable camera peripherals arm64: dts: ti: k3-j721e-sk: Model CSI2RX connector mux arm64: dts: ti: k3-j721e-main: Add CSI2RX capture nodes arm64: dts: ti: k3-j721s2-main: Add CSI2RX capture nodes arm64: dts: ti: k3-j784s4-main: Add CSI2RX capture nodes arm64: dts: ti: k3-j721e-sk: Add overlay for IMX219 arch/arm64/boot/dts/ti/Makefile | 13 ++ .../boot/dts/ti/k3-am68-sk-base-board.dts | 50 +++++ arch/arm64/boot/dts/ti/k3-am69-sk.dts | 51 +++++ arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 122 ++++++++++++ .../dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso | 125 ++++++++++++ arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 19 +- .../dts/ti/k3-j721s2-common-proc-board.dts | 25 +++ arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 123 +++++++++++- arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 25 +++ arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 183 +++++++++++++++++- 10 files changed, 732 insertions(+), 4 deletions(-) create mode 100644 arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso