Show a patch.

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

{
    "id": 3712,
    "url": "https://patchwork.libcamera.org/api/patches/3712/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3712/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20200508100158.3437161-2-jacopo@jmondi.org>",
    "date": "2020-05-08T10:01:46",
    "name": "[libcamera-devel,v10,01/13] dt-bindings: video-interfaces: Document 'orientation' property",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "1b7548bd73ec73912048cce5ab839ef944a17b5c",
    "submitter": {
        "id": 3,
        "url": "https://patchwork.libcamera.org/api/people/3/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo@jmondi.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/3712/mbox/",
    "series": [
        {
            "id": 888,
            "url": "https://patchwork.libcamera.org/api/series/888/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=888",
            "date": "2020-05-08T10:01:45",
            "name": "media: report camera properties",
            "version": 10,
            "mbox": "https://patchwork.libcamera.org/series/888/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/3712/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3712/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<jacopo@jmondi.org>",
        "Received": [
            "from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net\n\t[217.70.183.199])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 73474603E3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  8 May 2020 11:59:00 +0200 (CEST)",
            "from localhost.localdomain (2-224-242-101.ip172.fastwebnet.it\n\t[2.224.242.101]) (Authenticated sender: jacopo@jmondi.org)\n\tby relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 61164FF805;\n\tFri,  8 May 2020 09:58:55 +0000 (UTC)"
        ],
        "X-Originating-IP": "2.224.242.101",
        "From": "Jacopo Mondi <jacopo@jmondi.org>",
        "To": "linux-media@vger.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE\n\t(V4L/DVB)), libcamera-devel@lists.libcamera.org,\n\tMauro Carvalho Chehab <mchehab@kernel.org>,\n\tHans Verkuil <hverkuil-cisco@xs4all.nl>,\n\tSakari Ailus <sakari.ailus@linux.intel.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tRob Herring <robh@kernel.org>",
        "Cc": "Jacopo Mondi <jacopo@jmondi.org>, tfiga@google.com, pavel@ucw.cz,\n\tdevicetree@vger.kernel.org",
        "Date": "Fri,  8 May 2020 12:01:46 +0200",
        "Message-Id": "<20200508100158.3437161-2-jacopo@jmondi.org>",
        "X-Mailer": "git-send-email 2.26.1",
        "In-Reply-To": "<20200508100158.3437161-1-jacopo@jmondi.org>",
        "References": "<20200508100158.3437161-1-jacopo@jmondi.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v10 01/13] dt-bindings: video-interfaces:\n\tDocument '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>",
        "X-List-Received-Date": "Fri, 08 May 2020 09:59:00 -0000"
    },
    "content": "Add 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\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n .../devicetree/bindings/media/video-interfaces.txt    | 11 +++++++++++\n 1 file changed, 11 insertions(+)\n\n--\n2.26.1",
    "diff": "diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt\nindex f884ada0bffc8..b1ff492c7da7a 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",
        "v10",
        "01/13"
    ]
}