get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806925,
    "url": "http://patchwork.ozlabs.org/api/patches/806925/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/8677c8e20e767b27a53468531c1af03016cf22bb.1503977439.git.baolin.wang@spreadtrum.com/",
    "project": {
        "id": 37,
        "url": "http://patchwork.ozlabs.org/api/projects/37/?format=api",
        "name": "Devicetree Bindings",
        "link_name": "devicetree-bindings",
        "list_id": "devicetree.vger.kernel.org",
        "list_email": "devicetree@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<8677c8e20e767b27a53468531c1af03016cf22bb.1503977439.git.baolin.wang@spreadtrum.com>",
    "list_archive_url": null,
    "date": "2017-08-29T03:35:03",
    "name": "[v5,1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "e0146733af66cff9fea39431d3c38300fb459ae7",
    "submitter": {
        "id": 71631,
        "url": "http://patchwork.ozlabs.org/api/people/71631/?format=api",
        "name": "Baolin Wang",
        "email": "baolin.wang@spreadtrum.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/8677c8e20e767b27a53468531c1af03016cf22bb.1503977439.git.baolin.wang@spreadtrum.com/mbox/",
    "series": [
        {
            "id": 291,
            "url": "http://patchwork.ozlabs.org/api/series/291/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=291",
            "date": "2017-08-29T03:35:03",
            "name": "[v5,1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/291/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806925/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806925/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<devicetree-owner@vger.kernel.org>",
        "X-Original-To": "incoming-dt@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming-dt@bilbo.ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhDtB0Q7cz9s7h\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 13:40:18 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751249AbdH2DkQ (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tMon, 28 Aug 2017 23:40:16 -0400",
            "from sci-ig2.spreadtrum.com ([222.66.158.135]:27041 \"EHLO\n\tSHSQR01.spreadtrum.com\" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751218AbdH2DkQ (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Mon, 28 Aug 2017 23:40:16 -0400",
            "from ig2.spreadtrum.com (shmbx04.spreadtrum.com [10.0.1.214])\n\tby SHSQR01.spreadtrum.com with ESMTP id v7T3e0Em090582\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);\n\tTue, 29 Aug 2017 11:40:00 +0800 (CST)\n\t(envelope-from Orson.Zhai@spreadtrum.com)",
            "from SHCAS02.spreadtrum.com (10.0.1.202) by SHMBX04.spreadtrum.com\n\t(10.0.1.214) with Microsoft SMTP Server (TLS) id 15.0.847.32;\n\tTue, 29 Aug 2017 11:39:59 +0800",
            "from localhost (10.0.73.143) by SHCAS02.spreadtrum.com (10.0.1.250)\n\twith Microsoft SMTP Server (TLS) id 15.0.847.32 via Frontend\n\tTransport; Tue, 29 Aug 2017 11:39:59 +0800"
        ],
        "From": "Baolin Wang <baolin.wang@spreadtrum.com>",
        "To": "<wsa@the-dreams.de>, <mark.rutland@arm.com>, <robh+dt@kernel.org>",
        "CC": "<andriy.shevchenko@linux.intel.com>, <linux-i2c@vger.kernel.org>,\n\t<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,\n\t<broonie@kernel.org>, <baolin.wang@linaro.org>,\n\t<baolin.wang@spreadtrum.com>",
        "Subject": "[PATCH v5 1/2] dt-bindings: i2c: Add Spreadtrum I2C controller\n\tdocumentation",
        "Date": "Tue, 29 Aug 2017 11:35:03 +0800",
        "Message-ID": "<8677c8e20e767b27a53468531c1af03016cf22bb.1503977439.git.baolin.wang@spreadtrum.com>",
        "X-Mailer": "git-send-email 2.12.2",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-MAIL": "SHSQR01.spreadtrum.com v7T3e0Em090582",
        "Sender": "devicetree-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<devicetree.vger.kernel.org>",
        "X-Mailing-List": "devicetree@vger.kernel.org"
    },
    "content": "This patch adds the binding documentation for Spreadtrum I2C\ncontroller device.\n\nSigned-off-by: Baolin Wang <baolin.wang@spreadtrum.com>\nAcked-by: Rob Herring <robh@kernel.org>\n---\nChanges since v4:\n - No updates.\n\nChanges since v3:\n - Add Ack from RobH.\n\nChanges since v2:\n - Change compatible strings to be SoC specific.\n\nChanges since v1:\n - No updates.\n---\n Documentation/devicetree/bindings/i2c/i2c-sprd.txt |   31 ++++++++++++++++++++\n 1 file changed, 31 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/i2c/i2c-sprd.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/i2c/i2c-sprd.txt b/Documentation/devicetree/bindings/i2c/i2c-sprd.txt\nnew file mode 100644\nindex 0000000..60b7cda\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/i2c/i2c-sprd.txt\n@@ -0,0 +1,31 @@\n+I2C for Spreadtrum platforms\n+\n+Required properties:\n+- compatible: Should be \"sprd,sc9860-i2c\".\n+- reg: Specify the physical base address of the controller and length\n+  of memory mapped region.\n+- interrupts: Should contain I2C interrupt.\n+- clock-names: Should contain following entries:\n+  \"i2c\" for I2C clock,\n+  \"source\" for I2C source (parent) clock,\n+  \"enable\" for I2C module enable clock.\n+- clocks: Should contain a clock specifier for each entry in clock-names.\n+- clock-frequency: Constains desired I2C bus clock frequency in Hz.\n+- #address-cells: Should be 1 to describe address cells for I2C device address.\n+- #size-cells: Should be 0 means no size cell for I2C device address.\n+\n+Optional properties:\n+- Child nodes conforming to I2C bus binding\n+\n+Examples:\n+i2c0: i2c@70500000 {\n+\tcompatible = \"sprd,sc9860-i2c\";\n+\treg = <0 0x70500000 0 0x1000>;\n+\tinterrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;\n+\tclock-names = \"i2c\", \"source\", \"enable\";\n+\tclocks = <&clk_i2c3>, <&ext_26m>, <&clk_ap_apb_gates 11>;\n+\tclock-frequency = <400000>;\n+\t#address-cells = <1>;\n+\t#size-cells = <0>;\n+};\n+\n",
    "prefixes": [
        "v5",
        "1/2"
    ]
}