get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 955997,
    "url": "http://patchwork.ozlabs.org/api/patches/955997/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180810060711.6547-45-jagan@amarulasolutions.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": "<20180810060711.6547-45-jagan@amarulasolutions.com>",
    "list_archive_url": null,
    "date": "2018-08-10T06:07:02",
    "name": "[U-Boot,v2,44/53] clk: sunxi: Implement Ethernet resets",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "19646fa8a1901c5407663c0e82f3550608e55cae",
    "submitter": {
        "id": 69820,
        "url": "http://patchwork.ozlabs.org/api/people/69820/?format=api",
        "name": "Jagan Teki",
        "email": "jagan@amarulasolutions.com"
    },
    "delegate": {
        "id": 17739,
        "url": "http://patchwork.ozlabs.org/api/users/17739/?format=api",
        "username": "jagan",
        "first_name": "Jagannadha Sutradharudu",
        "last_name": "Teki",
        "email": "jagannadh.teki@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20180810060711.6547-45-jagan@amarulasolutions.com/mbox/",
    "series": [
        {
            "id": 60190,
            "url": "http://patchwork.ozlabs.org/api/series/60190/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=60190",
            "date": "2018-08-10T06:06:18",
            "name": "clk: Add Allwinner CLK, RESET support",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/60190/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/955997/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/955997/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; dmarc=none (p=none dis=none)\n\theader.from=amarulasolutions.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=amarulasolutions.com\n\theader.i=@amarulasolutions.com header.b=\"f5MN5BRR\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 41mwRt4qqhz9s8f\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 10 Aug 2018 16:38:18 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 6096FC21DB5; Fri, 10 Aug 2018 06:25:27 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 641C6C21BE5;\n\tFri, 10 Aug 2018 06:16:16 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 8CAFCC21C8B; Fri, 10 Aug 2018 06:10:39 +0000 (UTC)",
            "from mail-pg1-f193.google.com (mail-pg1-f193.google.com\n\t[209.85.215.193])\n\tby lists.denx.de (Postfix) with ESMTPS id F3597C21EBF\n\tfor <u-boot@lists.denx.de>; Fri, 10 Aug 2018 06:10:27 +0000 (UTC)",
            "by mail-pg1-f193.google.com with SMTP id k3-v6so3893376pgq.5\n\tfor <u-boot@lists.denx.de>; Thu, 09 Aug 2018 23:10:27 -0700 (PDT)",
            "from localhost.localdomain ([183.82.228.250])\n\tby smtp.gmail.com with ESMTPSA id\n\tr23-v6sm16880975pfj.5.2018.08.09.23.10.22\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 09 Aug 2018 23:10:26 -0700 (PDT)"
        ],
        "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_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=amarulasolutions.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=1/JOa9t/hSAnV0l5WioONIXtSQTAXL99M0y5EX7uTAo=;\n\tb=f5MN5BRRLbdufQ+ZkqiuDGbDRBlyXEMICPW10DVdkdIgHxHSBgVstjZrrQC7uljhH+\n\tYCdyveZyuRMU56jFMNkBxhWKNH0IpFJViNSLMYO+EjddyO1RUi8T9tucDo23ifS1K4Lo\n\tiA6YaWS//FJjdYown/uOO++9pW68TAhQ0N7C0=",
        "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:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=1/JOa9t/hSAnV0l5WioONIXtSQTAXL99M0y5EX7uTAo=;\n\tb=YKqhd0Ru5xtvdxP0sONefov1JLzSORLhAX7/feo2kNX5yWyaqNbIFkqc2lZKrNkYTM\n\tf7Nj0cahuFuE0EVooI0QvsiJ1D9i8S7PwCMbiKMuIoOU3Gfa02jsPiRSiXeDQb3OdeAq\n\tSgUwQnm7rp3gF3lV6dUt2DePt/MzPuop8BxNGk5ESSTLf3+8lgkXhwbKISsDg2yFwdXx\n\t/mh/H/Hd8izcao8gFrcEmjLjawpGfhJHAc2nUnmjkJLKmQ3dt9Z5gNl9h6v72mNF+vxj\n\t2pFX5IK7RrUntyF72J57YRpRkV4PFa8GITUhhK6akYqA4/F2/neFNkeLWh5oKGIjevm1\n\tuxfg==",
        "X-Gm-Message-State": "AOUpUlEYEVmbcU5YNjFgsmptefCyKcU6wghMo8eAj5AE9l6lflmqw0Nt\n\t3rnKv9C1BQGFDuWL/1ZRVc96wQ==",
        "X-Google-Smtp-Source": "AA+uWPx3jhnfmHPkMdWNzlaaNutCNzuB76eqJ414t2Ex+zMfnxp35nxzHs7s78//uxuKulNyheUUdg==",
        "X-Received": "by 2002:a63:a011:: with SMTP id\n\tr17-v6mr4873928pge.90.1533881426599; \n\tThu, 09 Aug 2018 23:10:26 -0700 (PDT)",
        "From": "Jagan Teki <jagan@amarulasolutions.com>",
        "To": "Maxime Ripard <maxime.ripard@bootlin.com>,\n\tAndre Przywara <andre.przywara@arm.com>, Chen-Yu Tsai <wens@csie.org>,\n\tIcenowy Zheng <icenowy@aosc.io>",
        "Date": "Fri, 10 Aug 2018 11:37:02 +0530",
        "Message-Id": "<20180810060711.6547-45-jagan@amarulasolutions.com>",
        "X-Mailer": "git-send-email 2.18.0.321.gffc6fa0e3",
        "In-Reply-To": "<20180810060711.6547-1-jagan@amarulasolutions.com>",
        "References": "<20180810060711.6547-1-jagan@amarulasolutions.com>",
        "MIME-Version": "1.0",
        "Cc": "Joe Hershberger <joe.hershberger@ni.com>, Tom Rini <trini@konsulko.com>, \n\tu-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH v2 44/53] clk: sunxi: Implement Ethernet resets",
        "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>",
        "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": "Implement Ethernet resets for all relevant Allwinner SoC\nclock drivers via reset map descriptor table.\n\nCc: Joe Hershberger <joe.hershberger@ni.com>\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\n---\n drivers/clk/sunxi/clk_a31.c  | 1 +\n drivers/clk/sunxi/clk_a64.c  | 1 +\n drivers/clk/sunxi/clk_a83t.c | 1 +\n drivers/clk/sunxi/clk_h3.c   | 1 +\n drivers/clk/sunxi/clk_r40.c  | 2 ++\n 5 files changed, 6 insertions(+)",
    "diff": "diff --git a/drivers/clk/sunxi/clk_a31.c b/drivers/clk/sunxi/clk_a31.c\nindex d7a6b2421f..9023640913 100644\n--- a/drivers/clk/sunxi/clk_a31.c\n+++ b/drivers/clk/sunxi/clk_a31.c\n@@ -63,6 +63,7 @@ static struct ccu_reset_map a31_resets[] = {\n \t[RST_AHB1_MMC1]\t\t= { 0x2c0, BIT(9) },\n \t[RST_AHB1_MMC2]\t\t= { 0x2c0, BIT(10) },\n \t[RST_AHB1_MMC3]\t\t= { 0x2c0, BIT(11) },\n+\t[RST_AHB1_EMAC]\t\t= { 0x2c0, BIT(17) },\n \t[RST_AHB1_SPI0]\t\t= { 0x2c0, BIT(20) },\n \t[RST_AHB1_SPI1]\t\t= { 0x2c0, BIT(21) },\n \t[RST_AHB1_SPI2]\t\t= { 0x2c0, BIT(22) },\ndiff --git a/drivers/clk/sunxi/clk_a64.c b/drivers/clk/sunxi/clk_a64.c\nindex 546ddcffa2..b2df499a24 100644\n--- a/drivers/clk/sunxi/clk_a64.c\n+++ b/drivers/clk/sunxi/clk_a64.c\n@@ -54,6 +54,7 @@ static struct ccu_reset_map a64_resets[] = {\n \t[RST_BUS_MMC0]\t\t= { 0x2c0, BIT(8) },\n \t[RST_BUS_MMC1]\t\t= { 0x2c0, BIT(9) },\n \t[RST_BUS_MMC2]\t\t= { 0x2c0, BIT(10) },\n+\t[RST_BUS_EMAC]\t\t= { 0x2c0, BIT(17) },\n \t[RST_BUS_SPI0]\t\t= { 0x2c0, BIT(20) },\n \t[RST_BUS_SPI1]\t\t= { 0x2c0, BIT(21) },\n \t[RST_BUS_OTG]\t\t= { 0x2c0, BIT(23) },\ndiff --git a/drivers/clk/sunxi/clk_a83t.c b/drivers/clk/sunxi/clk_a83t.c\nindex 593ce1ac1b..e1780d6729 100644\n--- a/drivers/clk/sunxi/clk_a83t.c\n+++ b/drivers/clk/sunxi/clk_a83t.c\n@@ -47,6 +47,7 @@ static struct ccu_reset_map a83t_resets[] = {\n \t[RST_BUS_MMC0]\t\t= { 0x2c0, BIT(8) },\n \t[RST_BUS_MMC1]\t\t= { 0x2c0, BIT(9) },\n \t[RST_BUS_MMC2]\t\t= { 0x2c0, BIT(10) },\n+\t[RST_BUS_EMAC]\t\t= { 0x2c0, BIT(17) },\n \t[RST_BUS_OTG]\t\t= { 0x2c0, BIT(24) },\n \t[RST_BUS_EHCI0]\t\t= { 0x2c0, BIT(26) },\n \t[RST_BUS_EHCI1]\t\t= { 0x2c0, BIT(27) },\ndiff --git a/drivers/clk/sunxi/clk_h3.c b/drivers/clk/sunxi/clk_h3.c\nindex ff9f294097..88086580f4 100644\n--- a/drivers/clk/sunxi/clk_h3.c\n+++ b/drivers/clk/sunxi/clk_h3.c\n@@ -60,6 +60,7 @@ static struct ccu_reset_map h3_resets[] = {\n \t[RST_BUS_MMC0]\t\t= { 0x2c0, BIT(8) },\n \t[RST_BUS_MMC1]\t\t= { 0x2c0, BIT(9) },\n \t[RST_BUS_MMC2]\t\t= { 0x2c0, BIT(10) },\n+\t[RST_BUS_EMAC]\t\t= { 0x2c0, BIT(17) },\n \t[RST_BUS_SPI0]\t\t= { 0x2c0, BIT(20) },\n \t[RST_BUS_SPI1]\t\t= { 0x2c0, BIT(21) },\n \t[RST_BUS_OTG]\t\t= { 0x2c0, BIT(23) },\ndiff --git a/drivers/clk/sunxi/clk_r40.c b/drivers/clk/sunxi/clk_r40.c\nindex e5bddc77ee..cf00cf1011 100644\n--- a/drivers/clk/sunxi/clk_r40.c\n+++ b/drivers/clk/sunxi/clk_r40.c\n@@ -66,6 +66,8 @@ static struct ccu_reset_map r40_resets[] = {\n \t[RST_BUS_OHCI1]\t\t= { 0x2c0, BIT(30) },\n \t[RST_BUS_OHCI2]\t\t= { 0x2c0, BIT(31) },\n \n+\t[RST_BUS_GMAC]\t\t= { 0x2c0, BIT(17) },\n+\n \t[RST_BUS_UART0]\t\t= { 0x2d8, BIT(16) },\n \t[RST_BUS_UART1]\t\t= { 0x2d8, BIT(17) },\n \t[RST_BUS_UART2]\t\t= { 0x2d8, BIT(18) },\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "44/53"
    ]
}