From patchwork Sun Dec 19 23:27:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 15166 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 928F3BE080 for ; Sun, 19 Dec 2021 23:27:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D8682608E3; Mon, 20 Dec 2021 00:27:22 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="RMJHHrJs"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D784560115 for ; Mon, 20 Dec 2021 00:27:20 +0100 (CET) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 49CEFFD2; Mon, 20 Dec 2021 00:27:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1639956440; bh=0lLTEs21dg3tkRuG50eoOxESIpo4yNKJqaGCNtI6utw=; h=From:To:Cc:Subject:Date:From; b=RMJHHrJsTzbv/cGOc1DeVzy+LZtcqYTfC+yklmJls4fx/CihHOfqu/6NXSddmpbah YsK2gZo1N7Qk2VMzwZJan+16LjkywYbE8CCRQhvIwPoHvSiamdlIBiCTxMtxDhsFiY QARip4MVsLtbx0vahevd/G3sM6gCuC78cwWPYzMI= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Mon, 20 Dec 2021 01:27:10 +0200 Message-Id: <20211219232714.11427-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/4] libcamera: Add support for the IMX296 sensor in the Raspberry Pi IPA 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" Hello, This small patch series adds support for the SOny IMX296 sensor in the Raspberry Pi IPA. The sensor driver has been posted to the linux-media mailing list in [1]. That version takes into account all review comments, I believe it will be merged soon. Naush, patches 2/4 to 4/4 in this series come from a branch you shared with me privately. I've preserved your authorship, but didn't add corresponding SoB lines as they were missing in the original branch. Can I fix that ? Of course a review would also be appreciated, in case I've messed anything up when rebasing and reworking the code :-) The patches have been tested with a monochrome version of the IMX296 on a Raspberry Pi CM4. [1] https://lore.kernel.org/all/20211219220948.28953-1-laurent.pinchart@ideasonboard.com Laurent Pinchart (1): libcamera: camera_sensor: Add IMX296 sensor properties Naushir Patuck (3): ipa: raspberrypi: cam_helper: Make exposure conversion functions virtual ipa: raspberrypi: Add camera helper for Sony IMX296 sensor ipa: raspberrypi: Add tuning file for IMX296 sensor src/ipa/raspberrypi/cam_helper.hpp | 4 +- src/ipa/raspberrypi/cam_helper_imx296.cpp | 126 +++++++++ src/ipa/raspberrypi/data/imx296.json | 305 +++++++++++++++++++++ src/ipa/raspberrypi/data/meson.build | 1 + src/ipa/raspberrypi/meson.build | 1 + src/libcamera/camera_sensor_properties.cpp | 4 + 6 files changed, 439 insertions(+), 2 deletions(-) create mode 100644 src/ipa/raspberrypi/cam_helper_imx296.cpp create mode 100644 src/ipa/raspberrypi/data/imx296.json base-commit: 8ff5a8d548eee7c2cb14b355867debdb29e75419