From patchwork Tue May 25 05:56:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Michel Hautbois X-Patchwork-Id: 12397 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 DD19CC3200 for ; Tue, 25 May 2021 05:56:18 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0751A68921; Tue, 25 May 2021 07:56:18 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="dVGmDGjq"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 38DC2602AC for ; Tue, 25 May 2021 07:56:17 +0200 (CEST) Received: from tatooine.ideasonboard.com (unknown [IPv6:2a01:e0a:169:7140:eb61:5650:2f70:81a7]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BA003344; Tue, 25 May 2021 07:56:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1621922176; bh=DGHfCIE4nah/ej7ckSu798aCrVusNzEk/221ZyArkdw=; h=From:To:Cc:Subject:Date:From; b=dVGmDGjqkmkmvn1IqWdaSkI9z/YRJ8KiQdiUmGsihGVx42WdiZAS5ezUD5bVZc/1y Qq5q6Ipyle3Fa7YGUbnMLi3LCofH72bnAW0KH+WUcg4dL0FyPrLAb5wUgOjfOW+3ti L7N9/6jr0WIskLQVx6uHF5wl+C/Lx3V4e8g43BMg= From: jeanmichel.hautbois@ideasonboard.com To: libcamera-devel@lists.libcamera.org Date: Tue, 25 May 2021 07:56:14 +0200 Message-Id: <20210525055614.13417-1-jeanmichel.hautbois@ideasonboard.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: add OV5693 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Jean-Michel Hautbois The new sensor database has introduced several sensors, but ov5693 is missing. It is used on most MS Surface tablets, add it to the database. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Laurent Pinchart Reviewed-by: Umang Jain Reviewed-by: Jacopo Mondi --- src/libcamera/camera_sensor_properties.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index 6ded31dc..2a6e97f7 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -54,6 +54,9 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen { "ov13858", { .unitCellSize = { 1120, 1120 }, } }, + { "ov5693", { + .unitCellSize = { 1400, 1400 }, + } }, }; const auto it = sensorProps.find(sensor);