From patchwork Mon Nov 9 22:43:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaurav Suman X-Patchwork-Id: 28840 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 8EA8BC3307 for ; Mon, 9 Nov 2026 22:50:33 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id F12D86A7D3; Mon, 9 Nov 2026 23:50:30 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="zpZaXXM8"; dkim-atps=neutral Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 96EDC6A7D3 for ; Mon, 9 Nov 2026 23:43:28 +0100 (CET) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-4a5720b0a57so8770625e9.0 for ; Mon, 09 Nov 2026 14:43:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794264208; x=1794869008; darn=lists.libcamera.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=hjuUymizQBLoaLLc6uxigSRAnIV3Fl/CRdxpWO5CEU4=; b=zpZaXXM80Yv/bBMDgOan14v1PWFvM838dS899fUEt5BPwqUSxoMfBz8dxkGfGAXYcv 4SiJSGl83KK/2CAFBWXoWmxh5/eyBHJyGwxpcAgQgRhuqSsdj03++cs5DiVan9x+I5bg ObIJ+PotoXgA9vENnH6gzCBtO+rSxIYTe7Uhs8TUIvYfRKbFu1DUQgKSvN6koEfheR6d qTffo3/fqfHav0rdm1C9E0gKvNs0MbfnWuSYHQSAuc0Tza3d/eeCpDh2S3pt9hwUaBvv awJl805JgQmxHTTkteksACJvpvBDHlbxYrx7Xn4qo6inI+k+SqbJiHYSY+sksA9IUCUK ZHEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794264208; x=1794869008; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=hjuUymizQBLoaLLc6uxigSRAnIV3Fl/CRdxpWO5CEU4=; b=jfBsM4qAxgUJG/XhHa6JMaHk8wKIPauqXYEBqmP22SoCsLtIYjO79nhRv8zBUIM1fU YCxBJVY4dq1Px1p1k/ooEmBWvMFvIUhq2MKwlui7gkTo0lyzDpwYPcMFQkVOzF0zeCkF PJnbx78UXQx1I7O/SNTtUbCaOyYUjj67rwJV0DlfI7sox9iwZemcf5JKSM0shUqPHH4n ZJnl2Dp3uYLybrlIqrzhDwbQ9cM7lz3hexWNXMND2G1AR2LnmJWQvqwwmkYAWLIBf6VU xdSxnIw9ccLM2dmNUCUJ8n/9365zItozQXZFbn1jwpTuNqic2OGLW/8CrKQPkmqzeHlX JN5Q== X-Gm-Message-State: APuU4Z/5tPN04dSAjAN49QB0uBRGKNF96s6iQxjQw9Dj3Pmt0jDO9ls5 9lc9Fft32UhpmWHcgzCxxTloiTyVP1VUcfCHNpu+EdlLGeh5HWo7CiwiVtBSLw== X-Gm-Gg: AYBFou2yz1HSUWTEFTFHi+DaEYiLTLzsqbqUYktmUQTH1SI1yg/Blx6BZdqgE93sobW padcppuH+QVJHfNz20PxN2wpj4mD4KP4qUehnrxgksXSHOn/o6GQQTMfw6pxhWNIu0RGH5Qgj72 fgDz9uQLsU4pp/g9dodlS1uFwccQfw6hSPhfy5AoJCDAlBUpcDSibks8TgLxuYskb+TJzUE5Yq8 SCMqWxjMB5zUdpoNiYiQGI1pb89Mk5tpndfVMZpECLASujel/xvYPrmUjEM7K0Pt8C+jtsMju6j 6soa2UFpi8R7nruPKXiyvoO1bZW1s8IeXpqWEywnd+xS23D/bkyxp+wKLwK89eJBtdtpYHycEba mtffhn0hgNBnzkauRatEKvZIdzNdvr7wfHQ1JgINRHttXMj/7qLK1/aEp/C2AVbC5bPfX8Veqp5 PGGC4MX9cP8JshUDTMmgJWrrZA0aTQYuAws2xcOtb8Vz1XtTLCcntk0ifsC0CKjbiJPzXJj50wQ Bp6d6wRZgRb32KYX+YfNFAx/fnVVfju/OmugFitjbspcfUG9dojrAWidnwqSsapOboIV3/HgWF/ ry2qt9uLSPvUK9JlGk6f9cduS3Ha3uFkd/Th4/G3ep3aSoZPLHZSB7uj22BXN73JxKw2P5rnzR7 dGJyao9vsvCM= X-Received: by 2002:a05:600c:6290:b0:4a1:c6f5:2450 with SMTP id 5b1f17b1804b1-4ba02355942mr10688195e9.17.1794264208032; Mon, 09 Nov 2026 14:43:28 -0800 (PST) Received: from [192.168.215.2] (pd9fd8d57.dip0.t-ipconnect.de. [217.253.141.87]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4ba01feee1asm26072495e9.12.2026.11.09.14.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2026 14:43:27 -0800 (PST) From: Gaurav Suman Date: Mon, 09 Nov 2026 22:43:19 +0000 Subject: [PATCH 2/2] libcamera: camera_sensor_properties: Add IMX363, S5K3M3 and S5KGD1 MIME-Version: 1.0 Message-Id: <20261109-nura-sensors-v1-2-fd93505fe129@gmail.com> References: <20261109-nura-sensors-v1-0-fd93505fe129@gmail.com> In-Reply-To: <20261109-nura-sensors-v1-0-fd93505fe129@gmail.com> To: libcamera-devel@lists.libcamera.org Cc: Gaurav Suman X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1794264205; l=2525; i=gauravsuman007@gmail.com; s=default; h=from:subject:message-id; bh=TabKde+BkbmlWBpWFJUD1u3izVAx8SiKLpfnH8AVzgg=; b=wFb4D0D8Zq8wSA9BAX/JBP34t+Q9gktVjSu1cs4/2e0cgp5+UTJfpM4Oo6aYQkpg/gHlHgY/z tva1Uy2oKgSAz4ZOc7FJIOcB+saQFqvQp4YFRjMlVc2JMmKOB6JSP7A X-Developer-Key: i=gauravsuman007@gmail.com; a=ed25519; pk=lnUC0mQfc0KyA0LE73pQ4+QWYVRaCD8Sd3XWxLZO+JY= X-Mailman-Approved-At: Mon, 09 Nov 2026 23:50:27 +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 unit cell sizes, test pattern modes and sensor control delays for the three sensors of the LG G8x ThinQ. Delays of two frames match the behaviour observed with the simple pipeline handler. Written with the help of an AI coding assistant (Claude Opus 5.5, Anthropic); tested on the phone with the softisp IPA. Signed-off-by: Gaurav Suman --- src/libcamera/sensor/camera_sensor_properties.cpp | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/src/libcamera/sensor/camera_sensor_properties.cpp b/src/libcamera/sensor/camera_sensor_properties.cpp index 20cfd0bc11a661f5cb432e4b6f1b4946cfbce756..18ce59e06bf9f43b75b7948f600a78434269d9b2 100644 --- a/src/libcamera/sensor/camera_sensor_properties.cpp +++ b/src/libcamera/sensor/camera_sensor_properties.cpp @@ -221,6 +221,20 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen }, .sensorDelays = { }, } }, + { "imx363", { /* nura (LG G8x) */ + .unitCellSize = { 1400, 1400 }, + .testPatternModes = { + { controls::draft::TestPatternModeOff, 0 }, + { controls::draft::TestPatternModeSolidColor, 1 }, + { controls::draft::TestPatternModeColorBars, 2 }, + }, + .sensorDelays = { + .exposureDelay = 2, + .gainDelay = 2, + .vblankDelay = 2, + .hblankDelay = 2 + }, + } }, { "imx283", { .unitCellSize = { 2400, 2400 }, .testPatternModes = {}, @@ -482,6 +496,34 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen }, .sensorDelays = { }, } }, + { "s5k3m3", { /* nura (LG G8x) */ + .unitCellSize = { 1000, 1000 }, + .testPatternModes = { + { controls::draft::TestPatternModeOff, 0 }, + { controls::draft::TestPatternModeSolidColor, 1 }, + { controls::draft::TestPatternModeColorBars, 2 }, + }, + .sensorDelays = { + .exposureDelay = 2, + .gainDelay = 2, + .vblankDelay = 2, + .hblankDelay = 2 + }, + } }, + { "s5kgd1", { /* nura (LG G8x) */ + .unitCellSize = { 1600, 1600 }, + .testPatternModes = { + { controls::draft::TestPatternModeOff, 0 }, + { controls::draft::TestPatternModeSolidColor, 1 }, + { controls::draft::TestPatternModeColorBars, 2 }, + }, + .sensorDelays = { + .exposureDelay = 2, + .gainDelay = 2, + .vblankDelay = 2, + .hblankDelay = 2 + }, + } }, { "ov5693", { .unitCellSize = { 1400, 1400 }, .testPatternModes = {