From patchwork Mon Jul 19 10:14:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13040 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 EC4DEC322B for ; Mon, 19 Jul 2021 10:14:57 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 56E1C68538; Mon, 19 Jul 2021 12:14:57 +0200 (CEST) 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="Z0qThRJd"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 90E7C68537 for ; Mon, 19 Jul 2021 12:14:55 +0200 (CEST) Received: from perceval.ideasonboard.com (unknown [103.251.226.64]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2DF53465; Mon, 19 Jul 2021 12:14:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1626689695; bh=nG6kpq4i9tYtrrqRs81GxNj3VxjsFYjytfzDpQmdArg=; h=From:To:Cc:Subject:Date:From; b=Z0qThRJdvJZqZl5HmX6y0Wxgjopk1ipgT9JXiR6ACm0Vvk6hLixoa6T9PbjoB131R tXQ/vCgsPdCfYNHslrbF5V2qHv29SKPhP2YNWP4/WEvqvAlhg8tqbCJSWrrb6o4EEy L1bI8O6xKxGnLaRcc+2SBfExYu2BJtQUFAkpUcjo= From: Umang Jain To: libcamera-devel@lists.libcamera.org Date: Mon, 19 Jul 2021 15:44:35 +0530 Message-Id: <20210719101437.326523-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/1] Add CameraSensorHelper for IMX258 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" Add analog gain constant values as obtained by tweaking the imx258 kernel register. Read the corresponding register indexes and print the values. The imx258 patch is also attached to this series which led to the output: localhost ~ # dmesg | grep imx [ 0.610712] imx258 i2c-SONY258A:00: Reading analog gain registers... [ 0.610916] imx258 i2c-SONY258A:00: Value of analog Gain capability: 0 [ 0.611117] imx258 i2c-SONY258A:00: Value of C0: 512 [ 0.611303] imx258 i2c-SONY258A:00: Value of M0: 0 [ 0.611501] imx258 i2c-SONY258A:00: Value of C1: 512 [ 0.611696] imx258 i2c-SONY258A:00: Value of M1: -1 Umang Jain (1): libipa: Add CameraSensorHelper for IMX258 * Additional kernel patch attached. src/ipa/libipa/camera_sensor_helper.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+)