get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 788208,
    "url": "http://patchwork.ozlabs.org/api/patches/788208/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/patch/eda1f25512db9c6946b303dd43f518ae2f0f3b26.1500021045.git.baolin.wang@spreadtrum.com/",
    "project": {
        "id": 35,
        "url": "http://patchwork.ozlabs.org/api/projects/35/?format=api",
        "name": "Linux I2C development",
        "link_name": "linux-i2c",
        "list_id": "linux-i2c.vger.kernel.org",
        "list_email": "linux-i2c@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<eda1f25512db9c6946b303dd43f518ae2f0f3b26.1500021045.git.baolin.wang@spreadtrum.com>",
    "list_archive_url": null,
    "date": "2017-07-14T09:01:10",
    "name": "[RESEND,v4,1/2] dt-bindings: i2c: Add Spreadtrum I2C controller documentation",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "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/linux-i2c/patch/eda1f25512db9c6946b303dd43f518ae2f0f3b26.1500021045.git.baolin.wang@spreadtrum.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/788208/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/788208/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-i2c-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3x86MF3fW1z9s76\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 14 Jul 2017 19:09:29 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751470AbdGNJJ1 (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tFri, 14 Jul 2017 05:09:27 -0400",
            "from sci-ig2.spreadtrum.com ([222.66.158.135]:58236 \"EHLO\n\tSHSQR01.spreadtrum.com\" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751340AbdGNJJ1 (ORCPT\n\t<rfc822; linux-i2c@vger.kernel.org>); Fri, 14 Jul 2017 05:09:27 -0400",
            "from ig2.spreadtrum.com (shcas03.spreadtrum.com [10.0.1.207])\n\tby SHSQR01.spreadtrum.com with ESMTP id v6E95Iv2073902\n\t(version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\n\tFri, 14 Jul 2017 17:05:18 +0800 (CST)\n\t(envelope-from Orson.Zhai@spreadtrum.com)",
            "from SHCAS01.spreadtrum.com (10.0.1.201) by SHMBX02.spreadtrum.com\n\t(10.0.1.204) with Microsoft SMTP Server (TLS) id 15.0.847.32;\n\tFri, 14 Jul 2017 17:05:17 +0800",
            "from localhost (10.0.73.143) by SHCAS01.spreadtrum.com (10.0.1.250)\n\twith Microsoft SMTP Server (TLS) id 15.0.847.32 via Frontend\n\tTransport; Fri, 14 Jul 2017 17:05:17 +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": "[RESEND PATCH v4 1/2] dt-bindings: i2c: Add Spreadtrum I2C\n\tcontroller documentation",
        "Date": "Fri, 14 Jul 2017 17:01:10 +0800",
        "Message-ID": "<eda1f25512db9c6946b303dd43f518ae2f0f3b26.1500021045.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 v6E95Iv2073902",
        "Sender": "linux-i2c-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-i2c.vger.kernel.org>",
        "X-Mailing-List": "linux-i2c@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 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": [
        "RESEND",
        "v4",
        "1/2"
    ]
}