From patchwork Thu Jan 19 10:45:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 18161 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 6B3DDC3295 for ; Thu, 19 Jan 2023 10:46:09 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2BA70625F4; Thu, 19 Jan 2023 11:46:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1674125169; bh=PqEtAk0godw7WtFgpTuUq79jP2p798y7UHj990pIgDU=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=iZhgsXwM/QXVgxHSrA7iOin7rT40a6IBzebjVJUUVxK1WymHvNq8Y8EhDrV7wUo+1 SzQpnAuvhds+Z8HQiCl21UM7nKwRJGhFFGCEH2aGG1iy2EW7UleJxL4kQiVDC2j0Lf qR/ANOnTb489qlmh7Tf/wqIxCsYR/nX3ZFIAROARTHkBiw+cLbwzLD3jefWkgEuuHO 7IP6DdVtNR4GPvrenN1W0NXop6PGQONpF+MjJulZhACqM+QVv1tAUe8nJ9M0t/TJ1J fFKs/uGtDGJMvt2Qs41Nxx1/5S7uzGG/PCl/ypqcAi1t5/ofQzmZQHRNMBOMn8lIxv fkD/Eh5fLQ6WA== Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 361E1625E4 for ; Thu, 19 Jan 2023 11:46:02 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="kt8/VPph"; dkim-atps=neutral Received: by mail-wm1-x330.google.com with SMTP id j17so1187022wms.0 for ; Thu, 19 Jan 2023 02:46:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MTN+cFSunGF/5BszoECrkpH7JBcfkSleqCVVOcEdx6s=; b=kt8/VPphDYXU39W4aRrkRvpCFdIiZB8Vo2okrl7Y89TiFHhBSsfd4WWm7laThsFU9v 4V9f0qXdQLKkGVJlfvQThGQcmqwN6YXoyYdfHx6u+cgRQzC+OArgxP9hjps8CRB9Wits JoPPZjaHCrJzrcwv5piaNQKtom7QVoISPL4k33VoJ0nfqBhcZSZnDX0+xuxCY3If7J5U 6oayu9hvj+pK5dahhO5ziAMrJcknesf7EtgWMHNd2TeNzg2f7MOI8tfseAtxocl9888t bVwKERef51wjpTQw4mhFEzCjv0KhS6uLHf1Faq5moaFa8gcLNaUsqCVmGlT11VAEkOiZ gSiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MTN+cFSunGF/5BszoECrkpH7JBcfkSleqCVVOcEdx6s=; b=BEGNHwS1ktBr8KNZZKuMeAP77P3VrrWLk4ixbZsEMJOjW1KCQLk2PxO2IUEM6N5bOb ofE6bKbnmMTR6pgahMhkx0jTWAijR6Cp/jYtyeUsleYEMWJ9A1x22jtBfFIPjQLK3hOL JgJtU3sOP6QnSCy4Ck/yrFGIlMmtorrMeTdkzZuN+ildQ9uogzFAvejDHmEBGllUgnEk EzF8m+FeQEi+PTumxYeK/FZUIHjD7K6ygAYURBJOtfWT2VKjE0UnFyxyy8mdCBuk1lxT o5QGnF572tc7M/d2bbIMEclpXzn4TQDZkC4XyU8C7VpglhZ9UPkuanUUKh7vn5iO+7ZS NzoQ== X-Gm-Message-State: AFqh2ko7UIQxZ/0ugrRfsKlUttB8jcUKrxN9YSeHES4kJuR3Jesm2/KE Q/e3Qc9hG4QipZLzGSXmWkcbpBkObnxGDzLk3sE= X-Google-Smtp-Source: AMrXdXt5noD1uPgQLtWYrWIXbFplWvZgDVsp44C+nmIfvqZ5SwPMf8jZjmVe8VIA0/9ucbAarRelrw== X-Received: by 2002:a05:600c:3545:b0:3c6:e60f:3f4a with SMTP id i5-20020a05600c354500b003c6e60f3f4amr9827370wmq.1.1674125161452; Thu, 19 Jan 2023 02:46:01 -0800 (PST) Received: from localhost.localdomain ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id be12-20020a05600c1e8c00b003db06224953sm5332029wmb.41.2023.01.19.02.46.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 02:46:01 -0800 (PST) To: libcamera-devel@lists.libcamera.org Date: Thu, 19 Jan 2023 10:45:43 +0000 Message-Id: <20230119104544.9456-14-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230119104544.9456-1-naush@raspberrypi.com> References: <20230119104544.9456-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 13/14] libcamera: camera_sensor: Add Sony IMX708 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 Cc: Nick Hollinghurst Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Nick Hollinghurst The IMX708 sensor driver advertises its module variants (narrow/wide angle lens, IR block/pass) by modifying the media entity name string. So add duplicate entries for each variant. Signed-off-by: Nick Hollinghurst Signed-off-by: Naushir Patuck Reviewed-by: Naushir Patuck Reviewed-by: David Plowman Reviewed-by: Kieran Bingham --- src/libcamera/camera_sensor_properties.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index c3c2caced906..3afd500ea3be 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -123,6 +123,22 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen */ }, } }, + { "imx708", { + .unitCellSize = { 1400, 1400 }, + .testPatternModes = {}, + } }, + { "imx708_noir", { + .unitCellSize = { 1400, 1400 }, + .testPatternModes = {}, + } }, + { "imx708_wide", { + .unitCellSize = { 1400, 1400 }, + .testPatternModes = {}, + } }, + { "imx708_wide_noir", { + .unitCellSize = { 1400, 1400 }, + .testPatternModes = {}, + } }, { "ov2740", { .unitCellSize = { 1400, 1400 }, .testPatternModes = {