From patchwork Fri Aug 15 14:23:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 24145 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 79856BDCC1 for ; Fri, 15 Aug 2025 14:23:47 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 09B696925B; Fri, 15 Aug 2025 16:23:46 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="akiVOcMQ"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D451961443 for ; Fri, 15 Aug 2025 16:23:44 +0200 (CEST) Received: from Monstersaurus.lan (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 80C8656D; Fri, 15 Aug 2025 16:22:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1755267769; bh=TF3iLHgTd9yBNVjmrO/WF3lnv1L1Yfk2OTf9PucEVfI=; h=From:To:Cc:Subject:Date:From; b=akiVOcMQfCbQ3nL6m5Dt2Nlvfeb/iTHDR4uNOOOhCRS7Hm66ZY2ZRvPkxKwdiVg7K uPuf88odIQgWCrLvBiyG9aC1z47PHahTqlC92oFhk/uELy84RLVjrqAqzNWZcDtxNu TKQEk3VkktEMuaKMMk01iLm+FfoiIJ5BmTHUAbPw= From: Kieran Bingham To: libcamera devel Cc: hd@arducam.com, Kieran Bingham Subject: [PATCH 0/2] Arducam IMX335 and IMX415 support Date: Fri, 15 Aug 2025 15:23:32 +0100 Message-ID: <20250815142334.662183-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.50.1 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This series introduces the IMX335 and IMX415 tuning files for Raspberry Pi platforms. Note there is an interesting collision in this as the the VC4 platform has an existing IMX415 tuning file. We don't presently have a way to match tuning files to specific modules - so in this series I have pre-emptively proposed adding a vendor and sku tag to the tuning files for at least documentation purposes, but the identifiers are not used. i.e. + "version": 2.0, + "target": "pisp", + "vendor": "Arducam", + "sku": "B0568", + "algorithms": [ We need to coordinate a way with upstream linux kernel to match/represent/identify sensor modules to elect a specific tuning file. I have added the sku identifier to the imx415.json file to make it explicitly clear which one is the Arducam file. Thoughts and comments or suggestions very much welcome on how we progress this topic - but I'd like to get at least the data files in so they can be used/referenced. Kieran Bingham (2): ipa: rpi: Add Arducam B0568 IMX335 tuning files ipa: rpi: Add Arducam B0569 IMX415 tuning files src/ipa/rpi/pisp/data/imx335.json | 1475 +++++++++++++++++++++++ src/ipa/rpi/pisp/data/imx415_b0569.json | 1475 +++++++++++++++++++++++ src/ipa/rpi/pisp/data/meson.build | 2 + src/ipa/rpi/vc4/data/imx335.json | 569 +++++++++ src/ipa/rpi/vc4/data/imx415_b0569.json | 569 +++++++++ src/ipa/rpi/vc4/data/meson.build | 2 + 6 files changed, 4092 insertions(+) create mode 100644 src/ipa/rpi/pisp/data/imx335.json create mode 100644 src/ipa/rpi/pisp/data/imx415_b0569.json create mode 100644 src/ipa/rpi/vc4/data/imx335.json create mode 100644 src/ipa/rpi/vc4/data/imx415_b0569.json Acked-by: Naushir Patuck Acked-by: Paul Elder