From patchwork Sat May 2 13:53:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3665 Return-Path: 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 7CCBB603FD for ; Sat, 2 May 2020 15:54:02 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="TABvwdBV"; dkim-atps=neutral Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E6BF0521 for ; Sat, 2 May 2020 15:54:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1588427642; bh=RTfB2azgdqf25bZMstK9NrU9NKhaG84oGmLQuK9Ozfg=; h=From:To:Subject:Date:From; b=TABvwdBVdoYS/qx85IUzFd8jBL2l5JOAI/c9OrxpOsQd6MWD8fDQcFRv4yk2XiCuy j7X4UeceKre4nXCaqRfxOBPu7DGKfIiDiC3nBjDXyiw7sdy46rI/kro380VB+tTRnL EyMgezUYc4kWrni0O/gLlJAYRMR5+A6gP37nIy7I= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Sat, 2 May 2020 16:53:52 +0300 Message-Id: <20200502135355.22757-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.25.3 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/3] libcamera: Prepare to support more complex sensors 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-List-Received-Date: Sat, 02 May 2020 13:54:02 -0000 Hello, This small patch series prepares the CameraSensor class to support camera sensors that expose more than one subdev. One notable use case is all the sensors supported by the smiapp driver. Please see individual patches for details. Laurent Pinchart (3): libcamera: camera_sensor: Access entity directly libcamera: camera_sensor: Store subdevice in std::unique_ptr libcamera: camera_sensor: Prepare for multi-subdev camera sensors src/libcamera/camera_sensor.cpp | 30 +++++++++++++++------------ src/libcamera/include/camera_sensor.h | 5 ++++- 2 files changed, 21 insertions(+), 14 deletions(-)