Show a patch.

GET /api/1.1/patches/8592/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 8592,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/8592/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/8592/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20200704004028.21153-2-laurent.pinchart@ideasonboard.com>",
    "date": "2020-07-04T00:40:17",
    "name": "[libcamera-devel,01/12] media: dt-bindings: video-interfaces: Document 'orientation' property",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "0c6c297ddd4c953ed96dc6b542cedd94312bd6bd",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/8592/mbox/",
    "series": [
        {
            "id": 1080,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1080/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1080",
            "date": "2020-07-04T00:40:16",
            "name": "raspberrypi: Report sensor orientation through DT",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1080/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/8592/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/8592/checks/",
    "tags": {},
    "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 A104FC2E69\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat,  4 Jul 2020 00:40:39 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 927AB60CAE;\n\tSat,  4 Jul 2020 02:40:38 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8FCAE609C5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat,  4 Jul 2020 02:40:36 +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 08A1251B;\n\tSat,  4 Jul 2020 02:40:35 +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=\"oyN+626z\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1593823236;\n\tbh=BEpqhittIRJ0Bt7OPS3q2OvzZs7nV3kRIh6X167AnZU=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=oyN+626zOafvP1V079frUV2FHcMVb+yObp5y7hLL8ZrZ1pMhK7cBlsJTjs8vpeCkf\n\tKN3ATbdStyPYUl8S9Rd/fVfvNiw16hK5IZ3dAuGtf9JLvuJZfdK23v65WLcEIyEdnS\n\tRqAbApASxbjhfdWaX6PoJNg7Qp6TK86I+lQQbVSQ=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "Dave Stevenson <dave.stevenson@raspberrypi.com>",
        "Date": "Sat,  4 Jul 2020 03:40:17 +0300",
        "Message-Id": "<20200704004028.21153-2-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20200704004028.21153-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20200704004028.21153-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH 01/12] media: dt-bindings:\n\tvideo-interfaces: Document 'orientation' property",
        "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": "From: Jacopo Mondi <jacopo@jmondi.org>\n\nAdd the 'orientation' device property, used to specify the device mounting\nposition. The property is particularly meaningful for mobile devices\nwith a well defined usage orientation.\n\nReviewed-by: Rob Herring <robh@kernel.org>\nAcked-by: Tomasz Figa <tfiga@chromium.org>\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\nSigned-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>\nSigned-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>\n---\n .../devicetree/bindings/media/video-interfaces.txt    | 11 +++++++++++\n 1 file changed, 11 insertions(+)",
    "diff": "diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt\nindex f884ada0bffc..b1ff492c7da7 100644\n--- a/Documentation/devicetree/bindings/media/video-interfaces.txt\n+++ b/Documentation/devicetree/bindings/media/video-interfaces.txt\n@@ -89,6 +89,17 @@ Optional properties\n   but a number of degrees counter clockwise. Typical values are 0 and 180\n   (upside down).\n \n+- orientation: The orientation of a device (typically an image sensor or a flash\n+  LED) describing its mounting position relative to the usage orientation of the\n+  system where the device is installed on.\n+  Possible values are:\n+  0 - Front. The device is mounted on the front facing side of the system.\n+  For mobile devices such as smartphones, tablets and laptops the front side is\n+  the user facing side.\n+  1 - Back. The device is mounted on the back side of the system, which is\n+  defined as the opposite side of the front facing one.\n+  2 - External. The device is not attached directly to the system but is\n+  attached in a way that allows it to move freely.\n \n Optional endpoint properties\n ----------------------------\n",
    "prefixes": [
        "libcamera-devel",
        "01/12"
    ]
}