From patchwork Wed Mar 16 22:22:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scally X-Patchwork-Id: 15461 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 ECC20C3262 for ; Wed, 16 Mar 2022 22:23:07 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8276761FBD; Wed, 16 Mar 2022 23:23:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1647469386; bh=x22xZ1fhTU3IvytnnquYfLnz6quI9HZeQTSOu45ujvg=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=enst019VU6+friT9X+0Te36TVbBorJK4FHVDWAiP7+v0yECwN9Vc084ZvM1I8Sy3r +JeyY8r7V8rwMU7LniQvZDJZCKeQEFVI9HUfhdA946aEPWAViYAlkxXPVuthdGTj1Y dF8BZYPFumNwOR7fRKCgP8SjDxpV7wlwKY2dBwAd2Xo1Cy+y/wjK54qMX4qEI13H9Y qRo/lEylHwrr08r6n7MLFp68Iwvmnkyrk5vPA9LLAzWe6h2njAZCRt/mU4C7LDedTE AY0NdzYqV2LZng39choS98kVvN41sBRzRJ/vL9Vp3lvVJqvn4j4tFbeH9tbVMY8UZE qRGdiZ6HKaOfw== Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 123CC604DB for ; Wed, 16 Mar 2022 23:23:05 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="cJgWAdtU"; dkim-atps=neutral Received: by mail-wr1-x42c.google.com with SMTP id j26so4933810wrb.1 for ; Wed, 16 Mar 2022 15:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=8jcqY2S6uQaUg89OhEwvkuIWyJVeetvSERcmo9yoV0g=; b=cJgWAdtUN1PcEYh2qvN9c5Awu7t0vYGqztWvg1QPmANcLUgr8P6ZXrhdaItOqkzm9l 915D+EqSqQ3cTlsyUmM6nCbtSwrm1xCf84TTgPqtZ//Pi48KgSC3Kld20BFvQm9MTBUR AbVTBUUXO7d/2jlIfiRnmQ8PorYORXozVxVq9nopFtubynRzQ/9nv0B4ds8GwIxCQXK5 5QXbmwlm3DZjfKQbHlBR4HdeOpZE2nFFDIbOnPgqsNoviUg75fWypAR5WpaPgrLRpmLW qAZqUWd1imIyH+0Yw349JblosmBG8PYw7cxf4DAnmTzLnt9i0pZB8JnaTd6A6yZ9R/fc QQzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8jcqY2S6uQaUg89OhEwvkuIWyJVeetvSERcmo9yoV0g=; b=QjZYh/thdFW39HG3KJ/DH2dHfyk3fg9K/rNoDbDIKdAaT/ZN2GUwrRbkfQjeWRtEMU okkY1YzQVYQKeYBcMPBx3qKcc5tDnVre+BsfW5ZYfgKkR/w/Of3uOZt4JhBwvDHREvV+ sT+bk6jfui3CmTZjJkuVJRMoJaUET9yibpG//Fchh5rgQPlXhrwY1xoQV/HVzQuRpMPt op8U5tuLd2ohWVwWV0jcTofijs3UDNaUJoVI2e0gyjpjJutuqWL8H6y648sG02tf8mBH WMRnhuAoS2O4HFjY/5PP9j7dy+jyDN9Lqgc+NlhcdTRALt6IYPKFrvdN2lkRievbEZJh SucA== X-Gm-Message-State: AOAM5302MrBXekPMwA89Rbu09PbnFXUYi6ufqNWsZwNL1JBjd3XKAVxO /elMdtvg90B5Q+TGeZ6EGR0M4xRAQsQ= X-Google-Smtp-Source: ABdhPJwvwNwQBhm4rCWS7Rtk5GyH0P5myRwGPiYTZKf21aHgiAf6IoF6rrw3EbRTHTy1i6TSHNQ8hA== X-Received: by 2002:adf:f68d:0:b0:203:7b96:a7ff with SMTP id v13-20020adff68d000000b002037b96a7ffmr1669149wrp.101.1647469384803; Wed, 16 Mar 2022 15:23:04 -0700 (PDT) Received: from localhost.localdomain (cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net. [86.13.91.161]) by smtp.gmail.com with ESMTPSA id 185-20020a1c19c2000000b0038a1d06e862sm6050969wmz.14.2022.03.16.15.23.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 15:23:04 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Wed, 16 Mar 2022 22:22:44 +0000 Message-Id: <20220316222245.132315-2-djrscally@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220316222245.132315-1-djrscally@gmail.com> References: <20220316222245.132315-1-djrscally@gmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/2] libcamera: Add OV2740 camera 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: Daniel Scally via libcamera-devel From: Daniel Scally Reply-To: Daniel Scally Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add camera sensor property entries for the OmniVision 2740 camera sensor. Signed-off-by: Daniel Scally Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/libcamera/camera_sensor_properties.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index 48305ac4..9bdfd417 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -90,6 +90,13 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen { controls::draft::TestPatternModePn9, 4 }, }, } }, + { "ov2740", { + .unitCellSize = { 1400, 1400 }, + .testPatternModes = { + { controls::draft::TestPatternModeOff, 0 }, + { controls::draft::TestPatternModeColorBars, 1}, + }, + } }, { "ov5647", { .unitCellSize = { 1400, 1400 }, .testPatternModes = {},