From patchwork Fri Nov 11 16:36:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 17789 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 918F8BD16B for ; Fri, 11 Nov 2022 16:37:05 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 01DD36307E; Fri, 11 Nov 2022 17:37:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1668184625; bh=vDGFhjSfC/SCFX8k5sgnBeU++Qk39h8n0lckp83H20s=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=j9ahcOlbP/+LcCENFsSpVgIPnby1Wx1HrUd4JFcE/RTzvCYr27HqJFnwKeKLtdPui 7PWr96xDD76wB9xLpMIbsCw25AFXfPmFASxxXcdnf2pzdHWCQCZy08jI+g7y7GEE3Q yqZIiASwYpwPOvIGgsfGjoIPAGqYnXblGRc3Gy9Dz8T/SikF0cbsNQTDLofYIVUy8v wr/nNncqyU+2kztiDvNUr0g/r2l+ic68njjR5fisy2XEb/P6QKlF19pAKB7KAGd79U G0fcD1PVv2c6PNV/nKFJSC8dt/oaVV7R5sVPMrvvbXZY4UlBz74+0zJKkvaWJiw3jb 8/MNVFItE4S9w== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3FDBF61F3D for ; Fri, 11 Nov 2022 17:37:03 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="lTpw8y0W"; dkim-atps=neutral Received: from Monstersaurus.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9566433F; Fri, 11 Nov 2022 17:37:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668184622; bh=vDGFhjSfC/SCFX8k5sgnBeU++Qk39h8n0lckp83H20s=; h=From:To:Cc:Subject:Date:From; b=lTpw8y0WiCUwmPrXQn8TCLi+79DtIXSbXVV528D8WBkxLMpGArGycwgBr/WltVo9l AEES+HG5YxtaFZKliXGc5KILXcnHI7H0bUYNhk0nNpBf/kOD9FYocFce6l6q4eiwsm YCfiuedOtumqrdgwM9YUxqNB4Kb17A6PR+LHp5nQ= To: libcamera devel Date: Fri, 11 Nov 2022 16:36:55 +0000 Message-Id: <20221111163655.280751-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: camera_sensor: Add OV9281 sensor properties 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: , X-Patchwork-Original-From: Kieran Bingham via libcamera-devel From: Kieran Bingham Reply-To: Kieran Bingham Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add an entry to the sensor properties for the OmniVision OV9281. Test patterns are not enabled yet as the driver is not in an upstream kernel. Unit cell size obtained from [0]. [0] https://www.ovt.com/wp-content/uploads/2022/01/OV9281-OV9282-PB-v1.3-WEB.pdf Signed-off-by: Kieran Bingham --- src/libcamera/camera_sensor_properties.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index e5f27f06eb1d..3a6682f37707 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -160,6 +160,12 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen */ }, } }, + { "ov9281", { + .unitCellSize = { 3000, 3000 }, + .testPatternModes = { + { controls::draft::TestPatternModeOff, 0 }, + }, + } }, { "ov13858", { .unitCellSize = { 1120, 1120 }, .testPatternModes = {