From patchwork Thu Nov 5 23:07:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Afonso Figuinha X-Patchwork-Id: 28783 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 1E6E2C3307 for ; Fri, 6 Nov 2026 06:12:13 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A6AA16A7D3; Fri, 6 Nov 2026 07:12:09 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="riux1Sy/"; dkim-atps=neutral Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id ADF286A7BE for ; Fri, 6 Nov 2026 00:07:19 +0100 (CET) Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-48e1d0e5dafso746063f8f.1 for ; Thu, 05 Nov 2026 15:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1793920039; x=1794524839; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=x6XPaPRm06zcp+1USz6fB81RC6Kaz66xrbhq6Op0k+c=; b=riux1Sy/+DBC8EaS53BNq1cBPQJeuMmHMkdDfEZ9UoyKMZOXzoO2P2c6bbXZ1tkkyK E+M3Re3wvJMZWsB1CqNUeqFdY59903dD/E8fyZiIjTm+wsOJJdrebKKYeZhuoEVswabq hFRFYxYBSsduwqxZ2pqV0xFcs9YmDlaN/rDedijhAIeY70KeoQKADV+VWFhkw6n+Rv3k G24i6Dp9ucB/2fJHxJWNzDyysweEAI9TGorkgllIMBwdP7+fZqVkwCCiIQOOsfcRm+ur vxsh1B5yVxSJ9pEtv9iYYYO0LsiSCBmU5fYl2Df8qzQ6gGlx55CfvwBQ0eiXmjcNp5qT vSjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793920039; x=1794524839; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=x6XPaPRm06zcp+1USz6fB81RC6Kaz66xrbhq6Op0k+c=; b=BEAks1cUq0nPAicYBGpk7klyAkIdekydJqCWxIIIY8IwGpsq4VnxuUtK8T0sq300R9 U/SJJKQLP/KcqRvoImmHJ8/clbi4CfXTJTtl/AcqEtAEnrFHSCBYsyolPF1ytU03D3zR KtAtB5Yctziz01OA+Yh5QIahNw3KlqgN1/iXkquYRuXBynIHkENdaZzdryYjI+6eYCUl 3cqm0/nde0rXiaNtz93WIygQI7hfV7ksgBOPdeiWi409UboGSlEDnkyW49Lc7FSfPUXn QcQduLcEuwZsKsTxTnvGffk93abz4CTerzovvJTYMWgcNFs1Ciz0tppFDnnMhYifoQ1Y KS2Q== X-Gm-Message-State: APuU4Z8THS+kBW9isOKBYw/Oh17zOKu8e/wLu6WuK6UFj0lFSdPDtjMb AL3kR6s4cyCmcZADZ1X2JyySL85sxoidRZo4jkmY6ikI36dPAdc6VHaLHbFtzIrr X-Gm-Gg: AYBFou2bmhYp4aLtlcAwz4C2hPwkcvn/5MJE4tXdWyE91fbasnGDhxhtBvzP2S+HkuS wwhryzDcqxmeyacA2isU1iNsUz+lGhviX8mSCteATJrDZWrezJNpvyp1HaL34qRdDL49HWHuBsb +NwLmTXsMPsfROCE4ARhEmzP6Y/2dw4IA8AwT2Y6ezeaHuM239daK8WLkQnpvfir4tWKQT7DKUL Q5lAN2Z1pMwWOonWwbl6Fu46M+XjxQWiMLmz+CQZnlgPCRbbR2Fs5S+KZKxh7zt5LXhq68ui8c8 4Q3bpVMgNCow9/KvBKbhImXVlWKiF/8J9SVTSPUauSHpoeYXtwYQ1cuqWuyesQdxJJLFOlqlL2a T36c75G0ndmqBgi9TuJA4tFgYsR7aMBBoDKfdPDtXSVaWwrgQrZGQkKUDJ2Y/19dkqIo3P9PFzd jn1BqAT6SCtKAQrF3mIPDz7SKs+Kf0Dd/Hpj3oZPDLKok21AYjtLG07u/KvvDKviis5hT04wuv0 w/6GOawAdx+lewC41zrAuTivMSkycVK1KZm4bXI3/c8I8IbHzas8KjzXw4Ri8MFs3B4KZ+NVl2P yd1tpGv9jp/4WCboqVsiod0qOfmVvNGWXk30SwYW3NQqE27RcuUsQVtsgCtmlGKwFDggPg== X-Received: by 2002:a5d:5e91:0:b0:48e:6669:fefb with SMTP id ffacd0b85a97d-4927997bcb0mr1887782f8f.22.1793920039155; Thu, 05 Nov 2026 15:07:19 -0800 (PST) Received: from figssurface ([176.223.29.246]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-492d3d60e94sm183428f8f.2.2026.11.05.15.07.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2026 15:07:18 -0800 (PST) From: Afonso Figuinha To: libcamera-devel@lists.libcamera.org Subject: [PATCH 2/4] libcamera: camera_sensor_properties: Add OV9734 Date: Thu, 5 Nov 2026 23:07:06 +0000 Message-ID: <20261105230708.14601-3-afonso.figuinha@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261105230708.14601-1-afonso.figuinha@gmail.com> References: <20261105230708.14601-1-afonso.figuinha@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 06 Nov 2026 07:12:06 +0100 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 the OmniVision OV9734 to the camera sensor properties database. The pixel size is 1.4 um x 1.4 um according to the OmniVision product brief. The Linux driver exposes five test patterns. Only "Disabled" and "Standard Color Bar" have a matching libcamera test pattern mode. The change and this description were drafted with an AI coding assistant (Claude Code, model Claude Opus 5.5). The author reviewed them and tested them on a Microsoft Surface Laptop 1. Signed-off-by: Afonso Figuinha --- src/libcamera/sensor/camera_sensor_properties.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/libcamera/sensor/camera_sensor_properties.cpp b/src/libcamera/sensor/camera_sensor_properties.cpp index 20cfd0bc..33f1ab7c 100644 --- a/src/libcamera/sensor/camera_sensor_properties.cpp +++ b/src/libcamera/sensor/camera_sensor_properties.cpp @@ -553,6 +553,20 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen }, .sensorDelays = { }, } }, + { "ov9734", { + .unitCellSize = { 1400, 1400 }, + .testPatternModes = { + { controls::draft::TestPatternModeOff, 0 }, + { controls::draft::TestPatternModeColorBars, 1 }, + /* + * No corresponding test pattern mode for: + * 2: "Top-Bottom Darker Color Bar" + * 3: "Right-Left Darker Color Bar" + * 4: "Bottom-Top Darker Color Bar" + */ + }, + .sensorDelays = { }, + } }, { "ov9281", { .unitCellSize = { 3000, 3000 }, .testPatternModes = { },