get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 805780,
    "url": "http://patchwork.ozlabs.org/api/patches/805780/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1503642753-12385-3-git-send-email-chen.zhong@mediatek.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": "<1503642753-12385-3-git-send-email-chen.zhong@mediatek.com>",
    "list_archive_url": null,
    "date": "2017-08-25T06:32:30",
    "name": "[v3,2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "365c9cf28008e793d1daafe7e990b79c365e0032",
    "submitter": {
        "id": 72090,
        "url": "http://patchwork.ozlabs.org/api/people/72090/?format=api",
        "name": "Chen Zhong",
        "email": "chen.zhong@mediatek.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1503642753-12385-3-git-send-email-chen.zhong@mediatek.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/805780/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/805780/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 3xdrwT4KMCz9t1m\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tFri, 25 Aug 2017 16:34:01 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754370AbdHYGcx (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tFri, 25 Aug 2017 02:32:53 -0400",
            "from mailgw01.mediatek.com ([218.249.47.110]:57671 \"EHLO\n\tmailgw01.mediatek.com\" rhost-flags-OK-FAIL-OK-FAIL) by\n\tvger.kernel.org with ESMTP id S1751905AbdHYGcs (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Fri, 25 Aug 2017 02:32:48 -0400",
            "from mtkcas35.mediatek.inc [(172.27.4.250)] by\n\tmailgw01.mediatek.com (envelope-from <chen.zhong@mediatek.com>)\n\t(mailgw01.mediatek.com ESMTP with TLS)\n\twith ESMTP id 1330666011; Fri, 25 Aug 2017 14:32:41 +0800",
            "from MTKCAS32.mediatek.inc (172.27.4.184) by\n\tMTKMBS31N2.mediatek.inc\n\t(172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1210.3;\n\tFri, 25 Aug 2017 14:32:39 +0800",
            "from localhost.localdomain (10.17.3.153) by MTKCAS32.mediatek.inc\n\t(172.27.4.170) with Microsoft SMTP Server id 15.0.1210.3 via\n\tFrontend Transport; Fri, 25 Aug 2017 14:32:38 +0800"
        ],
        "From": "Chen Zhong <chen.zhong@mediatek.com>",
        "To": "Dmitry Torokhov <dmitry.torokhov@gmail.com>",
        "CC": "Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>,\n\tMatthias Brugger <matthias.bgg@gmail.com>,\n\tLee Jones <lee.jones@linaro.org>,\n\tEddie Huang <eddie.huang@mediatek.com>, \n\tAlessandro Zummo <a.zummo@towertech.it>,\n\tAlexandre Belloni <alexandre.belloni@free-electrons.com>,\n\tAndi Shyti <andi.shyti@samsung.com>,\n\tJavier Martinez Canillas <javier@osg.samsung.com>,\n\tChen Zhong <chen.zhong@mediatek.com>,\n\tLinus Walleij <linus.walleij@linaro.org>,\n\tJaechul Lee <jcsing.lee@samsung.com>,\n\t<linux-input@vger.kernel.org>, <devicetree@vger.kernel.org>,\n\t<linux-arm-kernel@lists.infradead.org>,\n\t<linux-mediatek@lists.infradead.org>,\n\t<linux-kernel@vger.kernel.org>, <linux-rtc@vger.kernel.org>",
        "Subject": "[PATCH v3 2/5] dt-bindings: input: Add document bindings for\n\tmtk-pmic-keys",
        "Date": "Fri, 25 Aug 2017 14:32:30 +0800",
        "Message-ID": "<1503642753-12385-3-git-send-email-chen.zhong@mediatek.com>",
        "X-Mailer": "git-send-email 1.7.9.5",
        "In-Reply-To": "<1503642753-12385-1-git-send-email-chen.zhong@mediatek.com>",
        "References": "<1503642753-12385-1-git-send-email-chen.zhong@mediatek.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-MTK": "N",
        "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 device tree binding documentation for the MediaTek\npmic keys found on PMIC MT6397/MT6323.\n\nSigned-off-by: Chen Zhong <chen.zhong@mediatek.com>\n---\n .../devicetree/bindings/input/mtk-pmic-keys.txt    |   38 ++++++++++++++++++++\n 1 file changed, 38 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/input/mtk-pmic-keys.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt\nnew file mode 100644\nindex 0000000..100ec44\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt\n@@ -0,0 +1,38 @@\n+MediaTek MT6397/MT6323 PMIC Keys Device Driver\n+\n+There are two key functions provided by MT6397/MT6323 PMIC, pwrkey\n+and homekey. The key functions are defined as the subnode of the function\n+node provided by MT6397/MT6323 PMIC that is being defined as one kind\n+of Muti-Function Device (MFD)\n+\n+For MT6397/MT6323 MFD bindings see:\n+Documentation/devicetree/bindings/mfd/mt6397.txt\n+\n+Required properties:\n+- compatible: \"mediatek,mt6397-keys\" or \"mediatek,mt6323-keys\"\n+- linux,keycodes: Specifies the numeric keycode values to\n+\tbe used for reporting keys presses. The array can\n+\tcontain up to 2 entries.\n+\n+Optional Properties:\n+- wakeup-source: each key can be used as a wakeup source.\n+- mediatek,long-press-mode: Long press key shutdown setting, 1 for\n+\tpwrkey only, 2 for pwrkey/homekey together, others for disabled.\n+- debounce-interval: Long press key shutdown debouncing interval time\n+\tin seconds. 0/1/2/3 for 8/11/14/5 seconds. If not specified defaults to 0.\n+\n+Example:\n+\n+\tpmic: mt6397 {\n+\t\tcompatible = \"mediatek,mt6397\";\n+\n+\t\t...\n+\n+\t\tmt6397keys: mt6397keys {\n+\t\t\tcompatible = \"mediatek,mt6397-keys\";\n+\t\t\tlinux,keycodes = <KEY_POWER>, <KEY_VOLUMEDOWN>;\n+\t\t\twakeup-source = <1>, <0>;\n+\t\t\tmediatek,long-press-mode = <1>;\n+\t\t\tdebounce-interval = <0>;\n+\t\t};\n+\t};\n",
    "prefixes": [
        "v3",
        "2/5"
    ]
}