From patchwork Tue May 23 17:12:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Bara X-Patchwork-Id: 18650 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 DAA8BC3284 for ; Tue, 23 May 2023 17:12:59 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 34616626E1; Tue, 23 May 2023 19:12:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1684861979; bh=renyWgEUsy05ZyrUxEIH+yM1NUqRuPDaI7ksoKj0gwM=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=CANG1g/vF01GBqrG4fbLst7JUKm9ExTvkMy+AuKqGd8rtXWPb/kcQRls9QNs5jcZX 6xoG3QDEBu8vJkPpRWOJCDiAwC4LHGYJbtpR4+EhNnI63oXkkFKs87F0d2ibYlA43l S4k0anCndO4mUl9o+Fu5WpokpOiOinp67IwktLOQk1QPCeH9XRb/gCR2cxFyyf+rnl 5JSYRN1GB5/cHrVZDLWLeraU6FYIw2HmqP3n7wHheXHA/qz2EuiHb4jZyP5Rmk4VkP EOnTdam7Q6ig6t+Xdvk48HZKWoFY2uUGgZNfd8Htfd6paLhapTyHI3cfOYC1TIDcus 7IgRlGug2jeMg== Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9B517626DD for ; Tue, 23 May 2023 19:12:57 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="huYgwt+K"; dkim-atps=neutral Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-510d8ead2f1so154137a12.3 for ; Tue, 23 May 2023 10:12:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684861977; x=1687453977; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=xuc0vjrp8Ts9eiUPclL2195iDsI1ZyQ3EzkQOQeFBHA=; b=huYgwt+KLK2NNz0CBXm7CLCAiIDWliP3w/BPl6xF78lHxvT60RLcyQyx83HtRrqR1F 2JIXxNMbDm28xSiHjL3dvoAjv56mULJSrj50DMHM17UG7+hpiqp47XfZBCPx2PZvTfH0 CJ/8Kk6RMiVX1WD9DAB/5l8IF7n34vSBAUvZrFkqyPqopxKmqgkyGbd/B9p5djzDeBJc TpcoqgMi5aC5PM6Qz6TN2G1K+5obDYRBqxr2GfnjcidNkbIoYApx5zwZAj7x59W6dApE AJdUPi1PrrtO6w3iVZ1m7WXdRRT98T2skeZzyaZldo2UOokRiSiYi5QZtJZQXU39e53v +pMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684861977; x=1687453977; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xuc0vjrp8Ts9eiUPclL2195iDsI1ZyQ3EzkQOQeFBHA=; b=ehy0E92XkhnCxKSH3k2pW5TsMLUD8E2kyrg2Nzd2jyXm0ns+t0V5tE1MYaIjDNTdaH 0KiR7NMeaz4YAE/+s+7+icARAUuh1xQb4mokR8S90R2Rbd82kr2oSHSvCA6mp+J6/GOA ZFUqOPtuWjoJvk/7ZR4X13FUlm4/gSnBWRaT0ZLzo2CzZNBowtQm4nomUtIq6BTYkuBa xLJaddWMmefq7EUeEj/q8e8oRUbz2TcHA4HaI+m4evLhP17LaT0Zy8avkc3nT/xhHYPC JvMvOxe++JhQMopieUck56I0SsM6N6p5anqMtmDK1bcGErLEjWqgtzTcZGVPP3o8/4dK 2l1A== X-Gm-Message-State: AC+VfDzQU14jwpWtw5ZpOkeB64ZHcmdOO82sqvj9TsOUWloAAd9iLdiJ 02ghrAlWdTc2Yx2M/mg3qKeX7qC8cTE= X-Google-Smtp-Source: ACHHUZ7G4nuV9hJutUSWRHHdUaWw/HBKH3nkeiNcQfwcS3U3/FcWNnNM3LVIgATo9tZHLMdQRIMweg== X-Received: by 2002:aa7:ce02:0:b0:510:d197:e873 with SMTP id d2-20020aa7ce02000000b00510d197e873mr11961416edv.31.1684861976964; Tue, 23 May 2023 10:12:56 -0700 (PDT) Received: from [127.0.1.1] ([91.230.2.244]) by smtp.gmail.com with ESMTPSA id be5-20020a0564021a2500b0050dfd7de30dsm4211839edb.94.2023.05.23.10.12.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 10:12:56 -0700 (PDT) Date: Tue, 23 May 2023 19:12:43 +0200 MIME-Version: 1.0 Message-Id: <20230523-imx327-properties-v1-1-bd1e3933ec84@skidata.com> X-B4-Tracking: v=1; b=H4sIAAr0bGQC/x3NQQqDMBCF4avIrDtgEmykVyldTOyoszCGGRFBv Htjlz+Pj3eCsQobvJoTlHcxWXMN92hgmClPjPKtDb71oe18QFmO4CMWXQvrVik+HUca+y4mclB dImNMSnmYb7mQbaz3UJRHOf5n7891/QArRjgifAAAAA== To: libcamera-devel@lists.libcamera.org X-Mailer: b4 0.12.2 Subject: [libcamera-devel] [PATCH] libcamera: camera_sensor: Add Sony IMX327 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: 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 Copy the sensor properties from Sony IMX290, as the IMX327 is a variant of it. Signed-off-by: Benjamin Bara Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham --- Hi, I forgot to add the properties when adding the helper last week. These could also be squashed :) --- src/libcamera/camera_sensor_properties.cpp | 4 ++++ 1 file changed, 4 insertions(+) --- base-commit: e8fccaea46b9e545282cd37d54b1acb168608a46 change-id: 20230523-imx327-properties-61e7af857ba1 Best regards, diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index fefb8afc..d35055d4 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -103,6 +103,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen .unitCellSize = { 2900, 2900 }, .testPatternModes = {}, } }, + { "imx327", { + .unitCellSize = { 2900, 2900 }, + .testPatternModes = {}, + } }, { "imx296", { .unitCellSize = { 3450, 3450 }, .testPatternModes = {},