From patchwork Sat May 9 09:04:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 3725 Return-Path: Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A5123603E2 for ; Sat, 9 May 2020 11:01:53 +0200 (CEST) X-Originating-IP: 212.216.150.148 Received: from uno.homenet.telecomitalia.it (a-ur1-85.tin.it [212.216.150.148]) (Authenticated sender: jacopo@jmondi.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id D51221C0002; Sat, 9 May 2020 09:01:50 +0000 (UTC) From: Jacopo Mondi To: linux-media@vger.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB)), libcamera-devel@lists.libcamera.org, Mauro Carvalho Chehab , Hans Verkuil , Sakari Ailus , Laurent Pinchart Cc: Jacopo Mondi , tfiga@google.com, pavel@ucw.cz Date: Sat, 9 May 2020 11:04:43 +0200 Message-Id: <20200509090456.3496481-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v11 00/13] media: report camera 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-List-Received-Date: Sat, 09 May 2020 09:01:53 -0000 Hello, I've addressed Hans comments on naming and control registration. I've moved "dt-bindings: Add media properties" to the end so that it can be left out if controversial. v10->v11 - s/V4L2_ORIENTATION/V4L2_CAMERA_ORIENTATION - Minor adjustments to the controls registration v9->v10: - s/location/orientation and documentation update - Add DT bindings header for media properties - Make V4L2_CID_CAMERA_ORIENTATION a TYPE_MENU control - Add patch for imx219 v8->v9: - Rebased on media master which has moved media documentation v7->v8: - Add Rob's ack to 03/11 - Address Hans typographical comments in 03/11 Jacopo Mondi (13): dt-bindings: video-interfaces: Document 'orientation' property dt-bindings: video-interface: Replace 'rotation' description media: v4l2-ctrl: Document V4L2_CID_CAMERA_ORIENTATION media: v4l2-ctrl: Document V4L2_CID_CAMERA_SENSOR_ROTATION media: v4l2-ctrls: Add camera orientation and rotation media: v4l2-fwnode: Add helper to parse device properties include: v4l2-ctrl: Sort forward declarations media: v4l2-ctrls: Sort includes alphabetically media: v4l2-ctrls: Add helper to register properties media: i2c: ov5670: Parse and register properties media: i2c: ov13858: Parse and register properties media: i2c: imx219: Parse and register properties dt-bindings: Add media properties .../bindings/media/video-interfaces.txt | 372 +++++++++++++++++- .../media/v4l/ext-ctrls-camera.rst | 151 +++++++ drivers/media/i2c/imx219.c | 12 +- drivers/media/i2c/ov13858.c | 13 +- drivers/media/i2c/ov5670.c | 14 +- drivers/media/v4l2-core/v4l2-ctrls.c | 61 ++- drivers/media/v4l2-core/v4l2-fwnode.c | 42 ++ include/dt-bindings/media/video-interfaces.h | 15 + include/media/v4l2-ctrls.h | 34 +- include/media/v4l2-fwnode.h | 47 +++ include/uapi/linux/v4l2-controls.h | 7 + 11 files changed, 753 insertions(+), 15 deletions(-) create mode 100644 include/dt-bindings/media/video-interfaces.h --- 2.26.1