From patchwork Thu Feb 15 08:55:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 13557690 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 2DCD5C4829E for ; Thu, 15 Feb 2024 08:55:45 +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=ER1rVuIads+7v8UQpO3/btRErgazJTjae4byQtN4Ixk=; b=GXPBQQRzD2te6U x1wKBlxsFfMr0DTJl1tSmkxCp8tDvqRr/Qtt2Cz+rAFL/ePLtbp76u1Y7rjBQZ5bu0+tvqd8MOb9y MsZNt/aE7JgXcHSE/z+t1Pum00CvWHYBNU1D5TemqEA3BXCs2hDb5qMvFyDPC9MHWf2VwY2x6Kspm nWuOm1h5Cj4gCG5RyG5XNIhJ0f16nag+cGVp9on3beZ1rMdSwRFASWXDoIWtWFWaCjfHGyZrV1sIe Dy7+mr3VqwEVZtWhqK1mk3ewNHYiJLzlq+pb9ivkklUiayGjTcpTb5iOfy52IIpeZZmFc0UeS9Jhx 5N0NT2HPhOwYgUYI/HMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raXWn-0000000FQ9o-1fCG; Thu, 15 Feb 2024 08:55:33 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raXWi-0000000FQ7w-2ZOd for linux-arm-kernel@lists.infradead.org; Thu, 15 Feb 2024 08:55:32 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41F8tOla046504; Thu, 15 Feb 2024 02:55:24 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707987324; bh=GzoAjTL40y+5uHYK1NwcGcZJ3oE8njc2MXrOuA9vRSU=; h=From:To:CC:Subject:Date; b=o87EUIFFcS530DcQHNxRLaKSNOpc77gesm8dhxwRe7jfIZ9g8x6nm+pXym5XS+S88 NFV68VNySHNUzFWc+Qo1W8lPLGEt3oJifER2PlKB2x9MASfobPGABWa0fZQuNKDSdL i1A18q/82/9MK45EvhQ+wXM6hQxR2UeCzUuXptbM= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41F8tOAc069295 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 15 Feb 2024 02:55:24 -0600 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 15 Feb 2024 02:55:23 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE114.ent.ti.com (157.170.170.25) 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, 15 Feb 2024 02:55:23 -0600 Received: from uda0490681.. ([10.24.69.142]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41F8tJ7j008333; Thu, 15 Feb 2024 02:55:19 -0600 From: Vaishnav Achath To: , , , , , CC: , , , , , , , , Subject: [PATCH v4 0/9] Add CSI2RX capture support on TI J7 platforms Date: Thu, 15 Feb 2024 14:25:09 +0530 Message-ID: <20240215085518.552692-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-20240215_005528_774415_FC0C883A X-CRM114-Status: GOOD ( 10.69 ) 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/ V3: https://lore.kernel.org/all/20240208123233.391115-1-vaishnav.a@ti.com/ Changelog: V3->V4: * Add additional port information in overlays to fix DTC warning: Warning (graph_child_address): graph node has single child node, #address-cells/#size-cells are not necessary 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 | 165 ++++++++++++++++ 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, 772 insertions(+), 4 deletions(-) create mode 100644 arch/arm64/boot/dts/ti/k3-j721e-sk-csi2-dual-imx219.dtso