From patchwork Fri Dec 4 17:59:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tuan Kiet Huynh X-Patchwork-Id: 29164 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 CC1F2C3300 for ; Fri, 4 Dec 2026 17:59:18 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6368A6AB79; Fri, 4 Dec 2026 18:59:18 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="zOAlsAv0"; dkim-atps=neutral Received: from mail-dl1-x122e.google.com (mail-dl1-x122e.google.com [IPv6:2607:f8b0:4864:20::122e]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2F5946AB01 for ; Fri, 4 Dec 2026 18:59:16 +0100 (CET) Received: by mail-dl1-x122e.google.com with SMTP id a92af1059eb24-1b5d5f0ba39so1426119c88.0 for ; Fri, 04 Dec 2026 09:59:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796407154; x=1797011954; darn=lists.libcamera.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=XOV4MhSPeK7FQCqEiD256lgnFZRPCLRQOKV0L4xin6w=; b=zOAlsAv0c4SrU8bvu437OqXFAt+hIr7KwQreA/WRyYSEYm0LB26+z0G1kIE7JSEqtT KzzWpPLB+VdKbsQcDUfNuJ43Rsjqhw+zrswD/U4l2MCS1MFxf1xuGjVQxTUPoNv4QjQL 2QfFuPrXE/HGmZh3KpWo2VYAUvv0kt3iYppinAloMVJZ599iBWOmU7l8zRZy2iy2zf9j b5HUdqz9NshLxcNohlKxrApF8KFwDzFeKWti+oXPryqHSVWrGR6ZLmo10k1s1X9oQEvb Mkcmx4rqCxFpq75Rtk8N6UPGS8GydlEDh2dC9wk02E9+Wuf/MvmmkmPWkL+Lgj0cUlr6 OK1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796407154; x=1797011954; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=XOV4MhSPeK7FQCqEiD256lgnFZRPCLRQOKV0L4xin6w=; b=KOiLxG7lPzt0AYPDYTK8ApGwAiVngznj6OtrO+l3M1NZpW4WOFuJ3uwqkz3NL75nL3 nHuuUVtAQbDm9hlxhEL5BDxb1p5hQ21mJ4d1arxLtVX7F5bwMB//dedkTSpU8+GAqDn6 6YAIILq32gpBInnV5HrI3lu6baEkewOaUL6z4Umqft1BKbZgj9T3SCTjNlO0GJQqXhd0 c7FV/4mE1orbH1CdeRquzkYRut6uxZSG9lTW60QTPHaTDRhQsAoIH/HrIYaEoeQV24Hl XoV7w/0VjPGjgu3KDGGjSYpkb0B6luZymoAkRObsIpmE6JTMrsErTy9AhZZfIx0Mt0l0 s4gA== X-Gm-Message-State: AB4q+uH+Wtdo7RcWOB5NKb8a0J616g9U1w2ltpAAs6i0VkWP/x4pfPPD w2Yy7q6Uwa38EMqb4517Q+RH1/Lr2M53RAtrLoVmCrIGGKKYr4SVRlB+E2k1Wvrra7g0QA== X-Gm-Gg: AZFdTZddZQi6U2J4uTfcYFUQFs01Q0HnnKvfApF5HE7jTU+lWXN9EVtvHBgpJ6/BISs KwGViwjhJgaI4Pm4i7Wr1fLxYybg8nS/SmeupNLr4o3eKksz8gZaN0VP9u/DIvKuJyScQfNUR6K rskcLkZQqWFefJiylEc2N4rsjRn4Qy717wlt3ZSowL6gTcKTEzl+EGvb7g01fgJrNC7RU/rVRI7 wWvS7XrKSeX54fJlOhLFV/l5Iyh+IPZB80eZpRKSRLCuo3okEJAd4CRNx3xCFBmipyvVzuZaMSP Zc6iJLlkZGqcLbcEEvqrpOMRcXx6KsApr6kv2/Y0+3XzNuwpXGQxg1K5DYLHUNN2iG8wUiEoOnh wK4GFRHN4se5gvKPYqQ1mp5rid2ByE/S6h+A++pCRYeHBOB+45dmOk/u4nY1TUwlMPWu/DctPMP kWqzC6T3kwrO5+X23RIxNGzNyGD4IUskldrQ4KMHiNVP23LtSyhvzVI29yYhVoRfPO6j7k1bQs3 EwAkUVUOuZCM6lzXkbNUgU86H3zYZ+xGqJzTrbIUFnORssBxYrzruukLsYL6ocb8QmOjfN/sN1K 179pj4T4yk5JythMUG/XZK6AicCpfAghkin4h3f906qrmhyj2efZqwy/A1xUGv8L0ZBNoyWbLpI dwypIdCXUUZ0VBOoGUSn9 X-Received: by 2002:a05:693c:63ce:b0:387:492c:9c69 with SMTP id 5a478bee46e88-387521fe48fmr2002909eec.36.1796407154426; Fri, 04 Dec 2026 09:59:14 -0800 (PST) Received: from default-vnic.degu-barley.ts.net ([161.118.211.100]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-387521bdedbsm9892360eec.12.2026.12.04.09.59.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 09:59:13 -0800 (PST) From: Tuan Kiet Huynh To: libcamera-devel@lists.libcamera.org Cc: Kieran Bingham , =?utf-8?q?Barnab?= =?utf-8?b?w6FzIFDFkWN6ZQ==?= , Tuan Kiet Huynh Subject: [PATCH v4 0/2] libcamera: Add Samsung S5K5E8 sensor properties and helper Date: Sat, 5 Dec 2026 00:59:08 +0700 Message-ID: <20261204175910.1268741-1-huynhtuankiet33@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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 This is v4 of the Samsung S5K5E8 support for libcamera. The kernel driver for this sensor is being upstreamed separately by Hikmah Gumelar, whose v5 series is the upstream base: Link: https://lore.kernel.org/all/20261127134507.125513-1-hikmahgumelar@gmail.com/ Changes in v4: - Drop the verbose, device-specific ("Redmi"/"mido") and platform-specific ("RPi") comments in camera_sensor_properties.cpp (1/2) and camera_sensor_helper.cpp (2/2), and remove the stray reflow note from 1/2's commit message, per Kieran Bingham's review. - Document how the sensor control delays were measured in 1/2's commit message (raw V4L2 S_CTRL step tests after DQBUF(N) with AE disabled). - Point Link: to Hikmah Gumelar's v5 kernel series, the upstream base for this sensor. Changes in v3: - Add TestPatternModePn9 (mode 4) to camera_sensor_properties.cpp (1/2) and Link: to the kernel submission, addressing Barnabás Pőcze's v2 review. Changes in v2: - Drop S5K3L8 and rename S5K5E8YX -> S5K5E8 to match the upstream kernel submission, and resend after v1 was lost in list moderation. Tuan Kiet Huynh (2): libcamera: sensor: camera_sensor_properties: Add Samsung S5K5E8 ipa: libipa: camera_sensor_helper: Add Samsung S5K5E8 src/ipa/libipa/camera_sensor_helper.cpp | 13 +++++++++++++ .../sensor/camera_sensor_properties.cpp | 16 ++++++++++++++++ 2 files changed, 29 insertions(+)