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: 17378 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp889370vqy; Thu, 30 Nov 2023 21:10:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFjqjzOdg65NE73Mhp5hr62XoKsf7Dtld577pqkZA9u9fYYox1ZYiOjuBXNXEl4Z710T/CC X-Received: by 2002:a05:6358:2911:b0:16d:bd05:d0f1 with SMTP id y17-20020a056358291100b0016dbd05d0f1mr29645205rwb.5.1701407411823; Thu, 30 Nov 2023 21:10:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701407411; cv=none; d=google.com; s=arc-20160816; b=nUdo4pm8udXYHzWqn5HVGFSoPY4Eh1fKagHkuIPR1ekAjBT4CIIg1e/l78cOh276Ni ySbSMmJBR+t8Ixwl8G4hLzbb3JjxLtINjN3gnSb+KQhMIyGseEOE9Ny+9of+QbV00thL VXG5pYeRpa+MuaNj4rmjdRNC9TrqgbWgdlTZe7CbVHygM6Jre+693wg9WbEP8snGmNTP Oz9e8ASFnD90BJPVJwsbYdlcKM3cJascIZ877ME4u2S4cY/+ASODu0K/z+MpkTtmOMi2 eJm+6ixN+o4Ko/pKvanYciqYwz64DmBdZtd+P+w/0hvDXg1I/uDuGKXWmYByXrpdLq/C xSnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tfuXokGxdHkp/jVxEO6VgiOvnhCZbWpw1fyKZV7b8og=; fh=4kSr5OJ7shtrhcKsjRyWBmAMqPnbCfW6aNJsT9zxNW0=; b=PwfcR39szvAA3v+844b5zs2+SsbvoKM03DOLwwjeTOtXlVOVtMUHTECquFv7oQHBf5 Eua9+bCDZL+I30uV/6dK205Gyi4vYROr6E6JGt7qjsIlGq303psecNa81OfvP9EF05vw wO6ZQaCbqvzXXPd5VX46XH1YNVuxdK41x4S/MZaS5fVKvjrNaTQDnJcFnWwBOTZXqN1k /ops2weXFFrnVZ2QukG8K0qnXdDGGXKp2SbuDv2SlOIfcW+KbkjLk0/eAwgajv4+P913 7cxyIG6oYxAZqOS2gpWcZr142AW9GTNOBNv8nI0lXwTymdRZdaa8gFMCRtjwcy+Oe0Cq gD/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=u46Rc+MX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id z39-20020a056a001da700b006cde1f319d1si2624104pfw.338.2023.11.30.21.10.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 21:10:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=u46Rc+MX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 04D998725CC6; Thu, 30 Nov 2023 21:10:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377374AbjLAFJy (ORCPT + 99 others); Fri, 1 Dec 2023 00:09:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230121AbjLAFJw (ORCPT ); Fri, 1 Dec 2023 00:09:52 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADC44A8; Thu, 30 Nov 2023 21:09:57 -0800 (PST) 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-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 30 Nov 2023 21:10:05 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784054978502819614 X-GMAIL-MSGID: 1784054978502819614 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, -- Jai Luthra