From patchwork Wed May 25 11:41:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 16041 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 42445BD160 for ; Wed, 25 May 2022 11:41:17 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8791765661; Wed, 25 May 2022 13:41:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1653478876; bh=vMFuk1Y4eP1YOX4YSlbhUTDzJbeUqqeJfEMzWdQl20g=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=qNt6WmXfKeG+52ygploAE8Ll+SDlrk692G92SygIjy5u+PpYaLM0rRCGwUCTGD0ac /JWvLqSKd2u/Xzl/pQiXC785rEPJJXiUdWf4pjqbXWVQmFv3N4iNiYwICt0lHqdwcC GPRmnfBK/leVNTJlh4qbhLxOfP195JAOXXAoGaSgdwebk1jwafHKiC/kX4Hli9Cc2K X2JM2kbJncsRJa3Y2zRVXyRJOQpKIOfhsyG1Ly3g6/5tReJXsU0Uz19yydTU/w5LRg xx4K10mwINDtXa4HF0Jk2UMiqj5rDdZbQBZTy3RuH9V5K/ACHO9/qqLhbupwmwDwdd 2GUTzvESiCXlA== Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2BD4A60429 for ; Wed, 25 May 2022 13:41:13 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="Wssxijuw"; dkim-atps=neutral Received: by mail-wr1-x430.google.com with SMTP id s28so29600846wrb.7 for ; Wed, 25 May 2022 04:41:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rZ17bnMr0K7jVWRq4lM22loxV6JxmxFmdvg40XvBrVM=; b=Wssxijuw05wGSnIj2nOzmKBauKC5zvqlO0/XxwHkEFCLj7CkXt1ZvUxE3kgh+nd5Oq DTlxb+TiL8nTDNpkWY0borG5lEX923SllDqbz2Y+ctU8Z+8D1t9oxMX1344NNgCjAvqz zWr0NsrcLESRdj4eHa4BkARNavcjGzZvAGhQQNi3pU6I0kKaP9jATn4z/PfIesufKNv6 lkyE9/NlB8VZKoQI2jNJKn1YVAsOluNK5qwq2PCEsQTDoT4CLy6EUFtOzBh6uGsX+VLP HnSMPSwOvevyk3VSXyC+c2ueqyzc1mDWSnV0WOQXCi+oHJVYaiXlmFW9ZHAzIqncbMT1 yXLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rZ17bnMr0K7jVWRq4lM22loxV6JxmxFmdvg40XvBrVM=; b=O0YFHD2e5pCNn+nS79u80BKcg+C4PM1gp5R9YBRDxkJMlaadidh5JfvUxVQrrA4FVj Y/sMLQkvUKGjhAetIiGK47vMRcYKIcqiYaVulpWlCgvrMcYO9LlguitlU+GWhOTGN+WW QOhZLERu7dT0GDeAYKqeynmkGSjLlQ7teaSa4HR8qtX0jXtGVIX1v0UN/OKs44ZFRE5M voOH9GYymYiiUP7q6RiYORZEICuPwlzlV3xImfV2rb7y78X0ZTMTzXQPxQO6iherXcuG V4ifHAZeC51xMruuznkTmvY1HoR768kUerT+5MqDn3yuzXBzrTe9kPfGzK5AKvQZmVQN bjhw== X-Gm-Message-State: AOAM533MExoKMh3G+vZriGBqH7JEFSI5yupUv2QyxyCzHa9l3H5HIMIz nIC48eiqZwyGGmGEWFF5wyzO0rtm0cIGkQ== X-Google-Smtp-Source: ABdhPJwGCpYd/YXqu+/PNtW4lch8DD9wtTKuPoGM9Jq8XqzKFE4OXgZ7BMRvXPdTKWM3tFloDGlweQ== X-Received: by 2002:adf:e2cb:0:b0:20c:c1bb:9fcb with SMTP id d11-20020adfe2cb000000b0020cc1bb9fcbmr26752357wrj.35.1653478872457; Wed, 25 May 2022 04:41:12 -0700 (PDT) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:432b:9dd3:cc5d:e26d]) by smtp.gmail.com with ESMTPSA id n7-20020a5d5887000000b0020feb9c44c2sm2054675wrf.20.2022.05.25.04.41.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 May 2022 04:41:11 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Wed, 25 May 2022 12:41:07 +0100 Message-Id: <20220525114107.3764033-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: camera_sensor: Add IMX477 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: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add an entry to the sensor properties for Sony IMX477. Currently no test pattern modes are supported by the device driver. Signed-off-by: Naushir Patuck Reviewed-by: Laurent Pinchart Reviewed-by: Paul Elder --- src/libcamera/camera_sensor_properties.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index 235edca190ce..e5f27f06eb1d 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -98,6 +98,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen .unitCellSize = { 3450, 3450 }, .testPatternModes = {}, } }, + { "imx477", { + .unitCellSize = { 1550, 1550 }, + .testPatternModes = {}, + } }, { "ov2740", { .unitCellSize = { 1400, 1400 }, .testPatternModes = {