get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 717931,
    "url": "http://patchwork.ozlabs.org/api/patches/717931/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170120215605.15728-1-zajec5@gmail.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": "<20170120215605.15728-1-zajec5@gmail.com>",
    "list_archive_url": null,
    "date": "2017-01-20T21:56:03",
    "name": "[V2,1/2] dt-bindings: leds: document new led-triggers property",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "86bb74a82ee4a945f0f1260667bd0cfaec6f78d5",
    "submitter": {
        "id": 5824,
        "url": "http://patchwork.ozlabs.org/api/people/5824/?format=api",
        "name": "Rafał Miłecki",
        "email": "zajec5@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170120215605.15728-1-zajec5@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/717931/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/717931/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",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3v4vhb4s0bz9t1H\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tSat, 21 Jan 2017 08:57:51 +1100 (AEDT)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752380AbdATV5l (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tFri, 20 Jan 2017 16:57:41 -0500",
            "from mail-lf0-f66.google.com ([209.85.215.66]:36336 \"EHLO\n\tmail-lf0-f66.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751146AbdATV4b (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Fri, 20 Jan 2017 16:56:31 -0500",
            "by mail-lf0-f66.google.com with SMTP id h65so9588329lfi.3;\n\tFri, 20 Jan 2017 13:56:30 -0800 (PST)",
            "from linux-samsung.lan\n\t(ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233])\n\tby smtp.gmail.com with ESMTPSA id\n\t187sm3918636ljj.7.2017.01.20.13.56.28\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 20 Jan 2017 13:56:28 -0800 (PST)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"B5ScrRjG\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=BH0lrBDKWYXf/F8CPP0LfUk0hcWn7sjio9NpWGhrNOk=;\n\tb=B5ScrRjGHLQHRrjhbKjgtG1ar5+jZkalS4wATC8MoXL3CM33rT8ruyx/9iIJORP78R\n\t/Uj9R2JC6S0sZbEIw0XRKs0dCKwwl3rhgKPvqoqvbtDqFfs5NGrBNogh5F9wa/C9IzOL\n\taYqOVP9Ea+utK6XK2D2aqHj+dxMCPO4kPoEonxygvyQz8nziz0hAzMeu2ET/pmAaE2Z6\n\tiH/gV4fHA9H5dmUmMkPk0smlcXauIPxCPl2n/uwr2EAGoi1qQuOYC43d+mMrRfsDXHjC\n\tXHUdGExAy6SbYawOOPDrmtvx+HdYXZ/DBEU/+TNRM0lil5Wreor8rku2zuGHvVk+o4e4\n\tVYHQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=BH0lrBDKWYXf/F8CPP0LfUk0hcWn7sjio9NpWGhrNOk=;\n\tb=RLMPU9h9B1Wtq5xhmE5wMOkYneWr6mlgjx+aNu6sR6iiS0me0wl5cnSPrYDsms6/pU\n\t97frduG3u3EvHeUfhvjpDrAIcdmydT4usVT4soCLvypadQ4sM48wTMiNZYrnWim5bzpL\n\tdkiFCGINerIYwYPDuIR4h4J4FyMjRrz2DLAi9rjt6rMDiUy0VT5UJO4r8KPO93OgyTI+\n\t9bQGl7IKwppkBV8xTj8MYc7rvKoPSA0Oq1OP5zhcv8Zbg+1NZABa1K+SshqxqMANMjjz\n\tDeykYchvFChk22yv/5g9BqJAkPMo7EwmkNI+/v0tJ6prcsylmaBzCgV1C3d6kaQmk0qK\n\t57Ug==",
        "X-Gm-Message-State": "AIkVDXKNhLrQF9kusRiO2Ay7zN0g/PcbF3JQEqFl/NIkx4BrqgaA+YD//yS1pV+Z5UCQKQ==",
        "X-Received": "by 10.46.76.18 with SMTP id z18mr7832512lja.32.1484949389275;\n\tFri, 20 Jan 2017 13:56:29 -0800 (PST)",
        "From": "=?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>",
        "To": "Greg Kroah-Hartman <gregkh@linuxfoundation.org>",
        "Cc": "linux-usb@vger.kernel.org, linux-leds@vger.kernel.org,\n\tRichard Purdie <rpurdie@rpsys.net>,\n\tJacek Anaszewski <jacek.anaszewski@gmail.com>,\n\tPavel Machek <pavel@ucw.cz>, devicetree@vger.kernel.org,\n\tRob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>,\n\t=?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>",
        "Subject": "[PATCH V2 1/2] dt-bindings: leds: document new led-triggers property",
        "Date": "Fri, 20 Jan 2017 22:56:03 +0100",
        "Message-Id": "<20170120215605.15728-1-zajec5@gmail.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Sender": "devicetree-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<devicetree.vger.kernel.org>",
        "X-Mailing-List": "devicetree@vger.kernel.org"
    },
    "content": "From: Rafał Miłecki <rafal@milecki.pl>\n\nSome LEDs can be related to particular devices described in DT. This\nproperty allows specifying such relations. E.g. USB LED should usually\nbe used to indicate some USB port(s) state.\n\nSigned-off-by: Rafał Miłecki <rafal@milecki.pl>\n---\nV2: Replace \"usb-ports\" with \"led-triggers\" property which is more generic and\n    allows specifying other devices as well.\n\nWhen bindings patch is related to some followup implementation, they usually go\nthrough the same tree.\n\nGreg: this patch is based on top of e64b8cc72bf9 (\"DT: leds: Improve examples by\nadding some context\") from kernel/git/j.anaszewski/linux-leds.git . Is there any\nway to solve this dependency issue? Or should this patch wait until 3.11 is\nreleased?\n---\n Documentation/devicetree/bindings/leds/common.txt | 16 ++++++++++++++++\n 1 file changed, 16 insertions(+)",
    "diff": "diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt\nindex 24b656014089..17632a041196 100644\n--- a/Documentation/devicetree/bindings/leds/common.txt\n+++ b/Documentation/devicetree/bindings/leds/common.txt\n@@ -49,6 +49,17 @@ Optional properties for child nodes:\n - panic-indicator : This property specifies that the LED should be used,\n \t\t    if at all possible, as a panic indicator.\n \n+- led-triggers : List of devices that should trigger this LED activity. Some\n+\t\t LEDs can be related to a specific device and should somehow\n+\t\t indicate its state. E.g. USB 2.0 LED may react to device(s) in\n+\t\t a USB 2.0 port(s). Another common example is switch or router\n+\t\t with multiple Ethernet ports each of them having its own LED\n+\t\t assigned (assuming they are not hardwired).\n+\t\t In such cases this property should contain phandle(s) of\n+\t\t related device(s). In many cases LED can be related to more\n+\t\t than one device (e.g. one USB LED vs. multiple USB ports) so a\n+\t\t list of entries can be specified.\n+\n Required properties for flash LED child nodes:\n - flash-max-microamp : Maximum flash LED supply current in microamperes.\n - flash-max-timeout-us : Maximum timeout in microseconds after which the flash\n@@ -69,6 +80,11 @@ gpio-leds {\n \t\tlinux,default-trigger = \"heartbeat\";\n \t\tgpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;\n \t};\n+\n+\tusb {\n+\t\tgpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;\n+\t\tled-triggers = <&ohci_port1>, <&ehci_port1>;\n+\t};\n };\n \n max77693-led {\n",
    "prefixes": [
        "V2",
        "1/2"
    ]
}