{"id":8807,"url":"https://patchwork.libcamera.org/api/1.1/covers/8807/?format=json","web_url":"https://patchwork.libcamera.org/cover/8807/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20200715011833.24600-1-laurent.pinchart@ideasonboard.com>","date":"2020-07-15T01:18:20","name":"[libcamera-devel,v2,00/13] raspberrypi: Report sensor orientation through DT","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/8807/mbox/","series":[{"id":1108,"url":"https://patchwork.libcamera.org/api/1.1/series/1108/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1108","date":"2020-07-15T01:18:21","name":"raspberrypi: Report sensor orientation through DT","version":2,"mbox":"https://patchwork.libcamera.org/series/1108/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/8807/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 626EFBD790\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 15 Jul 2020 01:18:48 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 3FB0F60933;\n\tWed, 15 Jul 2020 03:18:47 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 314EE60913\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 15 Jul 2020 03:18:44 +0200 (CEST)","from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi\n\t[81.175.216.236])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 8441B576;\n\tWed, 15 Jul 2020 03:18:43 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"nq4TwEiL\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1594775923;\n\tbh=PMfV7HfdpcSm88BGO6H2x+BEli+f58lkFwy3mYCZb/o=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=nq4TwEiLYlzquRUbVjuZ3FMDf8gPtyhwnfkSvOMy5Gy9J1hhUpNLyXUK5VG7Leut6\n\t0jZXcFQlA7Aaqe0DfXxoDJlX3EP3ZL3yLZ2eEJKMPN68UFiykdQpCuiTONs8ZtZNEv\n\tok+p+xJIRGiDWpPnQ/SJ01t1S3TCBYPbIpTPvE1s=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"Dave Stevenson <dave.stevenson@raspberrypi.com>","Date":"Wed, 15 Jul 2020 04:18:20 +0300","Message-Id":"<20200715011833.24600-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.27.0","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v2 00/13] raspberrypi: Report sensor\n\torientation through DT","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"libcamera-devel@lists.libcamera.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi Dave,\n\nThis patch series reports sensor orientation through DT for the OV5647,\nIMX219 and IMX477. The first 8 patches are backported from mainline,\nwhile the last 5 patches are new.\n\nCompared to v1, I've mentioned the upstream commit SHA1 in all the\nbackported patches, and enabled DT overlay parameter support.\n\nThe patches are based on top of rpi-5.4.y. I've posted\nhttps://github.com/raspberrypi/linux/pull/3723 (I'm sure it's at least\npartly due to me being used to the mailing list workflow, but going\nthrough the github UI is so frustrating :-S).\n\nThe kernel and libcamera sides need to be merged together. Could you\nplease let me know when you plan to merge the kernel changes ? I'll push\nthe libcamera changes accordingly.\n\nJacopo Mondi (8):\n  media: dt-bindings: video-interfaces: Document 'orientation' property\n  media: dt-bindings: video-interface: Replace 'rotation' description\n  media: v4l2-ctrl: Document V4L2_CID_CAMERA_ORIENTATION\n  media: v4l2-ctrl: Document V4L2_CID_CAMERA_SENSOR_ROTATION\n  media: v4l2-ctrls: Add camera orientation and rotation\n  media: v4l2-fwnode: Add helper to parse device properties\n  media: v4l2-ctrls: Add helper to register properties\n  media: i2c: imx219: Parse and register properties\n\nLaurent Pinchart (5):\n  media: i2c: ov5647: Parse and register properties\n  media: i2c: imx477: Parse and register properties\n  dt/dtoverlays: ov5647: Add parameter to set camera module rotation\n  dt/dtoverlays: imx219: Add parameter to set camera module rotation\n  dt/dtoverlays: imx477: Add parameter to set camera module rotation\n\n .../bindings/media/video-interfaces.txt       | 370 +++++++++++++++++-\n .../media/uapi/v4l/ext-ctrls-camera.rst       | 151 +++++++\n arch/arm/boot/dts/overlays/README             |  15 +-\n arch/arm/boot/dts/overlays/imx219-overlay.dts |   6 +\n arch/arm/boot/dts/overlays/imx477-overlay.dts |   6 +\n arch/arm/boot/dts/overlays/ov5647-overlay.dts |   4 +\n drivers/media/i2c/imx219.c                    |  12 +-\n drivers/media/i2c/imx477.c                    |  12 +-\n drivers/media/i2c/ov5647.c                    |  13 +-\n drivers/media/v4l2-core/v4l2-ctrls.c          |  53 +++\n drivers/media/v4l2-core/v4l2-fwnode.c         |  42 ++\n include/media/v4l2-ctrls.h                    |  26 ++\n include/media/v4l2-fwnode.h                   |  47 +++\n include/uapi/linux/v4l2-controls.h            |   7 +\n 14 files changed, 752 insertions(+), 12 deletions(-)"}