get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 799650,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/799650/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1502248361-7953-3-git-send-email-william.wu@rock-chips.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1502248361-7953-3-git-send-email-william.wu@rock-chips.com>",
    "list_archive_url": null,
    "date": "2017-08-09T03:12:40",
    "name": "[U-Boot,2/3] ARM: dts: rockchip: add USB nodes for evb-rv1108",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "1d2418781cb53c46702a8d40ef96269bac7c3242",
    "submitter": {
        "id": 69388,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/69388/?format=api",
        "name": "William Wu",
        "email": "william.wu@rock-chips.com"
    },
    "delegate": {
        "id": 69486,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/69486/?format=api",
        "username": "ptomsich",
        "first_name": "Philipp",
        "last_name": "Tomsich",
        "email": "philipp.tomsich@theobroma-systems.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1502248361-7953-3-git-send-email-william.wu@rock-chips.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/799650/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/799650/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xS7QN3lTYz9rxm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  9 Aug 2017 20:52:44 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 2CEEFC21F46; Wed,  9 Aug 2017 10:51:49 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 8C215C21EE7;\n\tWed,  9 Aug 2017 10:51:05 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 2C19EC21C2F; Wed,  9 Aug 2017 03:12:55 +0000 (UTC)",
            "from regular1.263xmail.com (regular1.263xmail.com [211.150.99.131])\n\tby lists.denx.de (Postfix) with ESMTPS id 49A12C21C3E\n\tfor <u-boot@lists.denx.de>; Wed,  9 Aug 2017 03:12:54 +0000 (UTC)",
            "from william.wu?rock-chips.com (unknown [192.168.167.193])\n\tby regular1.263xmail.com (Postfix) with ESMTP id 5354C621A;\n\tWed,  9 Aug 2017 11:12:50 +0800 (CST)",
            "from localhost.localdomain (localhost [127.0.0.1])\n\tby smtp.263.net (Postfix) with ESMTPA id 8AEA93D9;\n\tWed,  9 Aug 2017 11:12:49 +0800 (CST)",
            "from unknown (unknown [58.22.7.114])\n\tby smtp.263.net (Postfix) whith SMTP id 4176DG4TO1;\n\tWed, 09 Aug 2017 11:12:50 +0800 (CST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "X-263anti-spam": "KSV:0;",
        "X-MAIL-GRAY": "0",
        "X-MAIL-DELIVERY": "1",
        "X-KSVirus-check": "0",
        "X-ABS-CHECKED": "4",
        "X-RL-SENDER": "william.wu@rock-chips.com",
        "X-FST-TO": "sjg@chromium.org",
        "X-SENDER-IP": "58.22.7.114",
        "X-LOGIN-NAME": "william.wu@rock-chips.com",
        "X-UNIQUE-TAG": "<ecf2b967261aabd8a229e793b3eb1ff4>",
        "X-ATTACHMENT-NUM": "0",
        "X-SENDER": "wulf@rock-chips.com",
        "X-DNS-TYPE": "0",
        "From": "William Wu <william.wu@rock-chips.com>",
        "To": "sjg@chromium.org, philipp.tomsich@theobroma-systems.com,\n\tandy.yan@rock-chips.com",
        "Date": "Wed,  9 Aug 2017 11:12:40 +0800",
        "Message-Id": "<1502248361-7953-3-git-send-email-william.wu@rock-chips.com>",
        "X-Mailer": "git-send-email 2.0.0",
        "In-Reply-To": "<1502248361-7953-1-git-send-email-william.wu@rock-chips.com>",
        "References": "<1502248361-7953-1-git-send-email-william.wu@rock-chips.com>",
        "X-Mailman-Approved-At": "Wed, 09 Aug 2017 10:51:00 +0000",
        "Cc": "huangtao@rock-chips.com, albert.u.boot@aribaud.net,\n\tfrank.wang@rock-chips.com, u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH 2/3] ARM: dts: rockchip: add USB nodes for\n\tevb-rv1108",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "This patch adds USB OTG/EHCI/OHCI nodes for evb-rv1108 USB ports.\n\nSigned-off-by: William Wu <william.wu@rock-chips.com>\n---\n arch/arm/dts/rv1108-evb.dts | 22 ++++++++++++++++++++++\n arch/arm/dts/rv1108.dtsi    | 24 ++++++++++++++++++++++++\n 2 files changed, 46 insertions(+)",
    "diff": "diff --git a/arch/arm/dts/rv1108-evb.dts b/arch/arm/dts/rv1108-evb.dts\nindex 0128dd8..2b221b6 100644\n--- a/arch/arm/dts/rv1108-evb.dts\n+++ b/arch/arm/dts/rv1108-evb.dts\n@@ -20,6 +20,15 @@\n \tchosen {\n \t\tstdout-path = \"serial2:1500000n8\";\n \t};\n+\n+\tvcc5v0_otg: vcc5v0-otg-drv {\n+\t\tcompatible = \"regulator-fixed\";\n+\t\tenable-active-high;\n+\t\tregulator-name = \"vcc5v0_otg\";\n+\t\tgpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;\n+\t\tregulator-min-microvolt = <5000000>;\n+\t\tregulator-max-microvolt = <5000000>;\n+\t};\n };\n \n &gmac {\n@@ -52,3 +61,16 @@\n &uart2 {\n \tstatus = \"okay\";\n };\n+\n+&usb20_otg {\n+\tvbus-supply = <&vcc5v0_otg>;\n+\tstatus = \"okay\";\n+};\n+\n+&usb_host_ehci {\n+\tstatus = \"okay\";\n+};\n+\n+&usb_host_ohci {\n+\tstatus = \"okay\";\n+};\ndiff --git a/arch/arm/dts/rv1108.dtsi b/arch/arm/dts/rv1108.dtsi\nindex 77ca24e..3153dfe 100644\n--- a/arch/arm/dts/rv1108.dtsi\n+++ b/arch/arm/dts/rv1108.dtsi\n@@ -175,6 +175,30 @@\n \t\tstatus = \"disabled\";\n \t};\n \n+\tusb_host_ehci: usb@30140000 {\n+\t\tcompatible = \"generic-ehci\";\n+\t\treg = <0x30140000 0x20000>;\n+\t\tinterrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;\n+\t\tstatus = \"disabled\";\n+\t};\n+\n+\tusb_host_ohci: usb@30160000 {\n+\t\tcompatible = \"generic-ohci\";\n+\t\treg = <0x30160000 0x20000>;\n+\t\tinterrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;\n+\t\tstatus = \"disabled\";\n+\t};\n+\n+\tusb20_otg: usb@30180000 {\n+\t\tcompatible = \"rockchip,rv1108-usb\", \"rockchip,rk3288-usb\",\n+\t\t\t     \"snps,dwc2\";\n+\t\treg = <0x30180000 0x40000>;\n+\t\tinterrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;\n+\t\thnp-srp-disable;\n+\t\tdr_mode = \"otg\";\n+\t\tstatus = \"disabled\";\n+\t};\n+\n \tsfc: sfc@301c0000 {\n \t\tcompatible = \"rockchip,sfc\";\n \t\treg = <0x301c0000 0x200>;\n",
    "prefixes": [
        "U-Boot",
        "2/3"
    ]
}