From patchwork Fri May 19 15:48:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Bara X-Patchwork-Id: 18640 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 8163FC31E9 for ; Fri, 19 May 2023 15:49:01 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E565C6285F; Fri, 19 May 2023 17:49:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1684511340; bh=yY+nYU2Rp0WNR08uxdo4CfGs+e5uNUwX0pHb/w6vnts=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=x2P/X/KelaN9KbP1ljZdj/AG6BQHwpiO1ZlhH1pa5nvdo+VMW+jrau5wlDuaQ7/bd ZEMrsue/kOIfQLzC+DcrjNIHp6X65Bn2bK7aPSV8/hXZRgzxlMsFM7ES3GxlveDOH0 zXDZ2nbNWtEUtjHYMEhE7DXS/wrw/83fTylcXz06mWbMTfOjXTNL009ns+elvOJ5Pz 9Pou2/XzGpcnh09jihN5sgAjItQeZcovfEy698uAMi0qOmqJ+7umsYjXnAHDk+Hmjf RCC2mLkAS0vD963u+JUwkJCsEB/dv0NHbjkvMrekC6Za8jh+lmT+jeh5TAv2dnZG2G DbduIyubg0vbQ== Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D8764627CD for ; Fri, 19 May 2023 17:48:59 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IbAhjInr"; dkim-atps=neutral Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-9659e9bbff5so626769966b.1 for ; Fri, 19 May 2023 08:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684511339; x=1687103339; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=peiJjYcZcqj5+JpAkM3lpnh5EbS52aRp+aOvXPp7+yc=; b=IbAhjInrPhaQxCXlaUIJG1BPgkQ9GJDgyTpi9mYnQ0HEI1FLsDa9tsuBFmtrknUISH Jsbhy5/pj51QLGcQU8/HJhHBGEr1Xl/0sxA0/bkQdC20GGEIaZ5Sj9CiRgeWgDpCfW9L BVqnFPlczf2aXE1/f0u4RI8EFxMauKWH0wRZl+hRUyW5vfB/GQNgrdZUcwUu2yaaVdNs LdtpYmyDvSLYXSKTTstWeBxEFaKHfX56qD4O9LjV9HzKROfDh82/1Us7itMBJWTj0hXz 8PObxh0PKcZLvZnMEdg6u8ZOuoVoorwy6KIFL+CO2xAT8hxI9Tl3Rp8hzwEGoqEMHna9 sa5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684511339; x=1687103339; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=peiJjYcZcqj5+JpAkM3lpnh5EbS52aRp+aOvXPp7+yc=; b=ZkypHPuDREl8y8f5ucwaK0QfUXAU0QlP0a98R738OZ5PjfmHFRJRNHXIFKuLov32vC pQTOn1fwLA3Ao4EykSZFUrWXT1CdLIHrhPKvPUZZUHy8tAG/oeyM7PqF+/261bh6jlp0 6wojr2wfZOriQ1IXnVXxXAThXZnojIyeb+IDKPalJK0YCVLiXeaRtfr9Q+/QyeVcd8Nd jo2+TDQZwpH2bD2qPNR8irvOY3Uaqv2+2sCchkqwj1GK56H5HRxOruF0udml4jeVSXTs BzwfKAGnEkKj07t6TECoijVp1m3mdsnIrbvUl+VMMSrrDY1Qg/tym2IIeQ9T12nU7p/a 9NfQ== X-Gm-Message-State: AC+VfDx2zj2vB8heAZFlgHrXX9u2eFt6Sj3PQDOoMgEOQk3Sb4AdF/Co WJDGgtI0zzU7MdVt1KAXUcE9E0TIvmg= X-Google-Smtp-Source: ACHHUZ52sngjPkoM6nfVBq0mEuXAqcu+Kn//O0Vb0OXkABFGvEd4lHd1EYEwQwX9wL4Lfun+26Jcjg== X-Received: by 2002:a17:907:7290:b0:96a:1f7c:31ff with SMTP id dt16-20020a170907729000b0096a1f7c31ffmr2075788ejc.73.1684511338804; Fri, 19 May 2023 08:48:58 -0700 (PDT) Received: from PCBABN.skidata.net ([91.230.2.244]) by smtp.gmail.com with ESMTPSA id y14-20020a1709064b0e00b0095807ab4b57sm2455583eju.178.2023.05.19.08.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 08:48:58 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Fri, 19 May 2023 17:48:13 +0200 Message-Id: <20230519154813.448664-1-bbara93@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libipa: camera_sensor_helper: Add IMX327 helper 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: Benjamin Bara via libcamera-devel From: Benjamin Bara Reply-To: Benjamin Bara Cc: Benjamin Bara Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Benjamin Bara Add support for the Sony IMX327, which is added to the kernel with commit 2d41947ec2c0 ("media: i2c: imx290: Add support for imx327 variant"). It is basically a derivate of the IMX290, therefore also derive the helper. Signed-off-by: Benjamin Bara Reviewed-by: Kieran Bingham Reviewed-by: Jacopo Mondi --- src/ipa/libipa/camera_sensor_helper.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ipa/libipa/camera_sensor_helper.cpp b/src/ipa/libipa/camera_sensor_helper.cpp index 21cdabd1..2eebd7ab 100644 --- a/src/ipa/libipa/camera_sensor_helper.cpp +++ b/src/ipa/libipa/camera_sensor_helper.cpp @@ -428,6 +428,11 @@ public: }; REGISTER_CAMERA_SENSOR_HELPER("imx290", CameraSensorHelperImx290) +class CameraSensorHelperImx327 : public CameraSensorHelperImx290 +{ +}; +REGISTER_CAMERA_SENSOR_HELPER("imx327", CameraSensorHelperImx327) + class CameraSensorHelperImx296 : public CameraSensorHelper { public: