From patchwork Wed Dec 30 23:05:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10785 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 69747C0F1A for ; Wed, 30 Dec 2020 23:05:55 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B12E1615D2; Thu, 31 Dec 2020 00:05:54 +0100 (CET) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2CF6E6031F for ; Thu, 31 Dec 2020 00:05:53 +0100 (CET) X-Originating-IP: 2.224.242.101 Received: from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id DD7A6C0004 for ; Wed, 30 Dec 2020 23:05:52 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Thu, 31 Dec 2020 00:05:57 +0100 Message-Id: <20201230230603.123486-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/6] libcamera: camera_sensor: Make validation more strict 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" It is my understanding that this series could be pushed if the UVC pipeline handler is instrumented to report properties that cannot be read from the kernel interface. Jacopo Mondi (6): libcamera: Document sensor driver requirements libcamera: camera_sensor: Validate driver support libcamera: camera_sensor: Cache selection targets libcamera: camera_sensor: Default 'location' to External libcamera: camera_sensor: Do not default 'rotation' android: camera_device: Do not default pixel array properties Documentation/index.rst | 1 + Documentation/meson.build | 1 + Documentation/sensor_driver_requirements.rst | 64 ++++++++ include/libcamera/internal/camera_sensor.h | 4 + src/android/camera_device.cpp | 20 +-- src/libcamera/camera_sensor.cpp | 158 +++++++++++++------ 6 files changed, 186 insertions(+), 62 deletions(-) create mode 100644 Documentation/sensor_driver_requirements.rst --- 2.29.2