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: 20106 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp130637dyd; Thu, 8 Feb 2024 04:33:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWlNth3gnKyQHALEUvjBZY9Qn8HZa/1s1zYHzCo3xV6UOppb59v6+2px0PfOZ1S/mehZVly5rUVfVRYjlIDDqP55Yr8Hw== X-Google-Smtp-Source: AGHT+IG08l9hPDZmT1ez8leD2++4TyUygXKxXfMaDuxGqd5Y71ZtuMyppwgAFiJPfjRDDBRaXhic X-Received: by 2002:a05:6a21:150d:b0:19e:9a59:20df with SMTP id nq13-20020a056a21150d00b0019e9a5920dfmr9195453pzb.9.1707395585247; Thu, 08 Feb 2024 04:33:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707395585; cv=pass; d=google.com; s=arc-20160816; b=ZtG7/mncG9NXmJF6/5u2SZrN/tJjRMV5rWK35vE4eBd5tUCbLyp99TMvZNBV7DoKcU Stevza7ghOeJSRRJN9Iz6jwaHcvMArs+6IveU1j3/dX/0upkep9kmL/tmqbVfGyAYBbm 2uQoAgueh4VfMtkAHtU8tC8SoIVDRsfSf1gelJeGnwqB5nC963Ws0FFEww8WKIrQEWx5 oMMUEbsf8a9xZNV6TnlW+jvOf+zbZoURCANCEE5+TFQwCdznHbIOgd4r54bXqvb732bI Ij7/K0Yyype8Ikgm2eIsnDJpL8hrPgNp4Iiw8RTcpLGPYsC7t69GraVutwmEyn5J4x84 jDAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=e2FdLdDm/0fXJ+iu8rC2fY0deofpvai+SrPKPtsmH+g=; fh=UrQSaxVhudfllDS7LYCct5mBJdaOtFgOQNkzRIZcTRw=; b=y2/1ZyCL+AHqeESky6JzNGKfcJjx6+lRFBIOndBjUKGhS3Tdo/4tfO0oGNwFN3ECYb HdJuA/Ri0vNstWv6fg0uP7JZVS7OuqZhMb0j18jeU5B4RTvNjTQoQ98bxw6BMXiDFq36 luvE2LEDkesD1DcyYQFz9jKQPbSq4/V9jF0OJ7aeyQKqOTHAvoVZC8H3zKyIrDbr6+zk i4ZOoRJH2ehP8MNNF2zd3oTQC7EB+ITvPQKU/t6acdnbtKrtFZpk6b4ZCk+6DeFEkzNE v93JpU3n8ER7LLRwZJsnehdPtlBo/0U3WzOElzda1NgKa8hPjaY2fK9G2CzEdXzlYKZd U1iQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=qLZEF3v7; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-58054-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58054-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=2; AJvYcCVSW/wh1wmFw4I8y98KeIMbVSwnA54lBopdtkJAPn+bBp5I77r689+dl8tonTcx6R3th4cXYSHBPo2FtaaXgZx8+Tbi3A== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q4-20020a056a00084400b006e0335c395csi3971462pfk.392.2024.02.08.04.33.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 04:33:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58054-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=qLZEF3v7; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-58054-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58054-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0A707283F1E for ; Thu, 8 Feb 2024 12:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A445762E2; Thu, 8 Feb 2024 12:32:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="qLZEF3v7" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A7D45149E05; Thu, 8 Feb 2024 12:32:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707395571; cv=none; b=tRblceXpdiM+7+IRP7sagUdyupiHT978QaqviWk/ltZS7GwKhquHti/o5+QmX+6710qoY/7PyidlZMwY9Ib1wz7Z0jhDLMrhzAY6xsYVS51E493XTJnPg44l9GdmxitKC6pYoO8v798siCmuCOw3KUBXSuZ6I2vjFiiRGpp0lK4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707395571; c=relaxed/simple; bh=aWVpefee/1r20J7/8H0Fz/fGvX0vdb7r9OXomDahz+w=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=lYG/AciGukg65Y0jkp+myojVhGitN+LEVCYvBUac833xJVbqoqtrwLszbXDXqwZR0etQAFLvz8HH7DFGZsjbq+YyYGHLEPxaVYyHoHXFjK7MrZZ6KEweGIMfbs+N+FHV9fyROGquTKbUA1fUQk+KqwgYCRvAUZfDHKQo0pv/YcE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=qLZEF3v7; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790319718959105066 X-GMAIL-MSGID: 1790334033357348693 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