Show a patch.

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

{
    "id": 3714,
    "url": "https://patchwork.libcamera.org/api/patches/3714/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3714/",
    "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-4-jacopo@jmondi.org>",
    "date": "2020-05-08T10:01:48",
    "name": "[libcamera-devel,v10,03/13] dt-bindings: Add media properties",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "a2beafab20c6f9c6eb62107141f2c918978c8d46",
    "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/3714/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/3714/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3714/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 4E11C603E3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  8 May 2020 11:59:08 +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 35297FF80A;\n\tFri,  8 May 2020 09:59:06 +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:48 +0200",
        "Message-Id": "<20200508100158.3437161-4-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 03/13] dt-bindings: Add media\n\tproperties",
        "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:08 -0000"
    },
    "content": "Add a DT header file to contain definitions for standard media properties.\n\nThe file is named after:\nDocumentation/devicetree/bindings/media/video-interfaces.txt\nwhich contains the standard media properties definitions.\n\nInitially add three macros to define the supported 'orientation'\nproperty values.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n include/dt-bindings/media/video-interfaces.h | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)\n create mode 100644 include/dt-bindings/media/video-interfaces.h\n\n--\n2.26.1",
    "diff": "diff --git a/include/dt-bindings/media/video-interfaces.h b/include/dt-bindings/media/video-interfaces.h\nnew file mode 100644\nindex 0000000000000..404c697d6bd6e\n--- /dev/null\n+++ b/include/dt-bindings/media/video-interfaces.h\n@@ -0,0 +1,15 @@\n+/* SPDX-License-Identifier: GPL-2.0-only */\n+/*\n+ * include/dt-bindings/media/video-interfaces.h\n+ *\n+ * Copyright (C) 2020 Jacopo Mondi <jacopo@jmondi.org>\n+ */\n+\n+#ifndef __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__\n+#define __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__\n+\n+#define FRONT_CAMERA\t\t<0>\n+#define BACK_CAMERA\t\t<1>\n+#define EXTERNAL_CAMERA\t\t<2>\n+\n+#endif /* __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__ */\n",
    "prefixes": [
        "libcamera-devel",
        "v10",
        "03/13"
    ]
}