From patchwork Thu Feb 8 12:32:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 13549735 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 B2A86C4828F for ; Thu, 8 Feb 2024 12:33:03 +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=ppYadIEhAvakBG/XaDDZIp3sQLyS5INjyFGgtgLo2/A=; b=RTUkqaI+9o1zlN 1Di0UIx88ikjPHyMDtrsJSQ9wCttSWN8SJbKOLpH/N3OWAMkQ2jv23AUbI4Q/l1fHhRFKpcO1ljV2 +Niz7fu1CMxekgPDymZDE3mDIEd51Kr3OTsBJ8GONY7N6QcolT6dAdhaDQvCyN5bpZg8skzr1wQUO rclxjJ0CsL9zcoJxyOy1rE/Hbsxgh5zeogyWmvyuOdFJhg1ZzimMwUDPjBvmzoa3L2I7pr28lx0xT tGLl+N3uyGAwvwru5LBs4eF02FWYJyByadGu04/8ApkRBoYF3ot//+IFdhVCQORfiabk8rCh2z+eA aOZZK4T8QNPW6evSkvbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY3aA-0000000DjI5-2MK8; Thu, 08 Feb 2024 12:32:46 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY3a7-0000000DjHj-3SSb for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2024 12:32:45 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 418CWdQK070425; Thu, 8 Feb 2024 06:32:39 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707395559; bh=e2FdLdDm/0fXJ+iu8rC2fY0deofpvai+SrPKPtsmH+g=; h=From:To:CC:Subject:Date; b=qLZEF3v77cI0f4MI+h4aF3Bs2ZYQK5GL7llQx5ahp6GlCjqLnIKibhMrJgL+kyS5E Euig9vPrrYVm1M1Xy9aZkNbFJLiKEE0jOf8JFE/O2nzAev2Q5l68to8KM+hY8QcaOM PmMzLjPMzOdqNYv0l6JvLryhXupgYnOTn6Zl6oBY= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 418CWdcw005900 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 8 Feb 2024 06:32:39 -0600 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE106.ent.ti.com (157.170.170.36) 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 06:32:38 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE110.ent.ti.com (157.170.170.21) 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 06:32:39 -0600 Received: from uda0490681.. ([10.24.69.142]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 418CWY1H074789; Thu, 8 Feb 2024 06:32:34 -0600 From: Vaishnav Achath To: , , , , , CC: , , , , , , , , Subject: [PATCH v3 0/9] Add CSI2RX capture support on TI J7 platforms Date: Thu, 8 Feb 2024 18:02:24 +0530 Message-ID: <20240208123233.391115-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_043243_965784_86E7EB94 X-CRM114-Status: GOOD ( 10.99 ) 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/ V2: https://lore.kernel.org/all/20240208084254.295289-1-vaishnav.a@ti.com/ Changelog: V2->V3: * Fix order of properties in patch 6/7/8 as per dts coding style. 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