get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806929,
    "url": "http://patchwork.ozlabs.org/api/patches/806929/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1503976853-3029-2-git-send-email-yamada.masahiro@socionext.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/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": "<1503976853-3029-2-git-send-email-yamada.masahiro@socionext.com>",
    "list_archive_url": null,
    "date": "2017-08-29T03:20:51",
    "name": "[U-Boot,2/4] reset: uniphier: add PXs3 support",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "812eff3f755ee3c4a5e01264a7647eddb25daa5f",
    "submitter": {
        "id": 65882,
        "url": "http://patchwork.ozlabs.org/api/people/65882/?format=api",
        "name": "Masahiro Yamada",
        "email": "yamada.masahiro@socionext.com"
    },
    "delegate": {
        "id": 38701,
        "url": "http://patchwork.ozlabs.org/api/users/38701/?format=api",
        "username": "masahir0y",
        "first_name": "Masahiro",
        "last_name": "Yamada",
        "email": "yamada.m@jp.panasonic.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1503976853-3029-2-git-send-email-yamada.masahiro@socionext.com/mbox/",
    "series": [
        {
            "id": 294,
            "url": "http://patchwork.ozlabs.org/api/series/294/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=294",
            "date": "2017-08-29T03:20:51",
            "name": "[U-Boot,1/4] reset: uniphier: fix compatible for SD reset node for LD11/LD20",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/294/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806929/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806929/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>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=nifty.com header.i=@nifty.com\n\theader.b=\"zg6JmB1v\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhFJs6180z9sRm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 13:59:57 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 51359C22689; Tue, 29 Aug 2017 03:38:28 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id CF673C22690;\n\tTue, 29 Aug 2017 03:38:22 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 722EEC222EF; Tue, 29 Aug 2017 03:21:17 +0000 (UTC)",
            "from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74])\n\tby lists.denx.de (Postfix) with ESMTPS id 29076C22684\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 03:21:14 +0000 (UTC)",
            "from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp\n\t[153.142.97.92]) (authenticated)\n\tby conuserg-07.nifty.com with ESMTP id v7T3KuI2005509;\n\tTue, 29 Aug 2017 12:20:57 +0900"
        ],
        "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=T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v7T3KuI2005509",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1503976857;\n\tbh=TUXgqV/wLFF5ukSxQz31h/qXJqXqcsiSB7Nn3W2C/pk=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=zg6JmB1vbFTsc5hrAQ37ELds/cuXD3dOMem0OSE07Xntlcytg325uzb89mdbjP3f7\n\t7HTm29I9jwFIevVXvKi+TyUFslEQf3xgjS6XUg1mdYPc7u9vkbiJnKADYEeIdPvnj0\n\tkP2jwo0aspXpuGSfkwn5FTmrJ9zEUbkMO1BGoZvb4zALbFAyXqFiZ3r3E2yZvNwi0T\n\tJ9Zli5yU9430dUeKlUh7Psfx0hfE9C17ds4dXIrX50Je08KIuCXKeNQyWa9p6Y/GyF\n\tY/nm1qXxmb/tCsLNlaxCVOAoDDsH+73arYvNcrwP/1+Zdx3MxoFIJE6bKSlt88GoD6\n\tT/MarxMfANIAA==",
        "X-Nifty-SrcIP": "[153.142.97.92]",
        "From": "Masahiro Yamada <yamada.masahiro@socionext.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Tue, 29 Aug 2017 12:20:51 +0900",
        "Message-Id": "<1503976853-3029-2-git-send-email-yamada.masahiro@socionext.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1503976853-3029-1-git-send-email-yamada.masahiro@socionext.com>",
        "References": "<1503976853-3029-1-git-send-email-yamada.masahiro@socionext.com>",
        "Subject": "[U-Boot] [PATCH 2/4] reset: uniphier: add PXs3 support",
        "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": "Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n---\n\n drivers/reset/reset-uniphier.c | 23 +++++++++++++++++++++++\n 1 file changed, 23 insertions(+)",
    "diff": "diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c\nindex 8a037cf735dd..b6bde70d6f6e 100644\n--- a/drivers/reset/reset-uniphier.c\n+++ b/drivers/reset/reset-uniphier.c\n@@ -77,6 +77,17 @@ static const struct uniphier_reset_data uniphier_ld20_sys_reset_data[] = {\n \tUNIPHIER_RESET_END,\n };\n \n+static const struct uniphier_reset_data uniphier_pxs3_sys_reset_data[] = {\n+\tUNIPHIER_RESETX(2, 0x200c, 0),\t\t/* NAND */\n+\tUNIPHIER_RESETX(4, 0x200c, 2),\t\t/* eMMC */\n+\tUNIPHIER_RESETX(8, 0x200c, 12),\t\t/* STDMAC */\n+\tUNIPHIER_RESETX(12, 0x200c, 5),\t\t/* GIO0 */\n+\tUNIPHIER_RESETX(13, 0x200c, 6),\t\t/* GIO1 */\n+\tUNIPHIER_RESETX(16, 0x200c, 16),\t/* USB30-PHY */\n+\tUNIPHIER_RESETX(20, 0x200c, 17),\t/* USB31-PHY */\n+\tUNIPHIER_RESET_END,\n+};\n+\n /* Media I/O reset data */\n #define UNIPHIER_MIO_RESET_SD(id, ch)\t\t\t\\\n \tUNIPHIER_RESETX((id), 0x110 + 0x200 * (ch), 0)\n@@ -268,6 +279,10 @@ static const struct udevice_id uniphier_reset_match[] = {\n \t\t.compatible = \"socionext,uniphier-ld20-reset\",\n \t\t.data = (ulong)uniphier_ld20_sys_reset_data,\n \t},\n+\t{\n+\t\t.compatible = \"socionext,uniphier-pxs3-reset\",\n+\t\t.data = (ulong)uniphier_pxs3_sys_reset_data,\n+\t},\n \t/* Media I/O reset */\n \t{\n \t\t.compatible = \"socionext,uniphier-ld4-mio-reset\",\n@@ -301,6 +316,10 @@ static const struct udevice_id uniphier_reset_match[] = {\n \t\t.compatible = \"socionext,uniphier-ld20-sd-reset\",\n \t\t.data = (ulong)uniphier_mio_reset_data,\n \t},\n+\t{\n+\t\t.compatible = \"socionext,uniphier-pxs3-sd-reset\",\n+\t\t.data = (ulong)uniphier_mio_reset_data,\n+\t},\n \t/* Peripheral reset */\n \t{\n \t\t.compatible = \"socionext,uniphier-ld4-peri-reset\",\n@@ -330,6 +349,10 @@ static const struct udevice_id uniphier_reset_match[] = {\n \t\t.compatible = \"socionext,uniphier-ld20-peri-reset\",\n \t\t.data = (ulong)uniphier_pro4_peri_reset_data,\n \t},\n+\t{\n+\t\t.compatible = \"socionext,uniphier-pxs3-peri-reset\",\n+\t\t.data = (ulong)uniphier_pro4_peri_reset_data,\n+\t},\n \t{ /* sentinel */ }\n };\n \n",
    "prefixes": [
        "U-Boot",
        "2/4"
    ]
}