get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 829983,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/829983/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20171024175714.15840-4-clabbe.montjoie@gmail.com/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20171024175714.15840-4-clabbe.montjoie@gmail.com>",
    "list_archive_url": null,
    "date": "2017-10-24T17:57:07",
    "name": "[v9,03/10] arm: dts: sunxi: h3/h5: Restore EMAC changes",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "bee06d900795893e7db4039882fd7ca716389a89",
    "submitter": {
        "id": 64152,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/64152/?format=api",
        "name": "Corentin Labbe",
        "email": "clabbe.montjoie@gmail.com"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20171024175714.15840-4-clabbe.montjoie@gmail.com/mbox/",
    "series": [
        {
            "id": 10031,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/10031/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=10031",
            "date": "2017-10-24T17:57:06",
            "name": "net: stmmac: dwmac-sun8i: Handle integrated PHY",
            "version": 9,
            "mbox": "http://patchwork.ozlabs.org/series/10031/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/829983/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/829983/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@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=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"CZAXXxtB\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3yM1Kv3YkRz9s1h\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 25 Oct 2017 05:01:23 +1100 (AEDT)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751933AbdJXSA7 (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 24 Oct 2017 14:00:59 -0400",
            "from mail-wm0-f68.google.com ([74.125.82.68]:49371 \"EHLO\n\tmail-wm0-f68.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751683AbdJXSAs (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Tue, 24 Oct 2017 14:00:48 -0400",
            "by mail-wm0-f68.google.com with SMTP id b189so17207967wmd.4;\n\tTue, 24 Oct 2017 11:00:47 -0700 (PDT)",
            "from Red.local (LFbn-MAR-1-580-96.w90-118.abo.wanadoo.fr.\n\t[90.118.159.96]) by smtp.googlemail.com with ESMTPSA id\n\ts18sm818968wrg.87.2017.10.24.11.00.45\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 24 Oct 2017 11:00:46 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=bZoVHS3dVwiMo0Kx9CpA8ml5rqRdl2WFAzPrr/Qotjg=;\n\tb=CZAXXxtBJOsr6wWBCVPXjIFxrVwyBWswfsgSoZEnL1jngTRjJhQnU/gt2ymO0+4EdE\n\txaaTUQYdc/sW+foMv7nWtMCp7Lzu+stsiPgwQ9YuQq6lVtYNM2Sfg8KXbFnmnLoiTG8b\n\tEnh/uYtCTJnbmAHXoACNYN8SuBUyMXkiFtwyUMXGKEi8/c9Pcn0XPpxmg1B+zSR5E24i\n\ttij3zolW0os5QFYZp63uT4AIUKnwAaIcBEZ4Hx9OEwg4HQvKgjurQ3fdX+K8D/cYNz6b\n\t9OefzrwUbVmci2y9KV0pdJgLbvArKD7fl25kywhm8pa9NEloGoaR1C10uNLGFkmuFfPk\n\tXipA==",
        "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;\n\tbh=bZoVHS3dVwiMo0Kx9CpA8ml5rqRdl2WFAzPrr/Qotjg=;\n\tb=s9JPULNw/lfk3Wb3jwrAu4i/fVMlV5tZzn/HRMU5If3fniFh2FpKSCN0cozBqaCxB5\n\t6fOj1ux5B06Rr4iNMdO55Qi1tmT4QyzrQFk7H4wD9VfuYIc1jwx4OE9M6P35JqvX8QFp\n\t29Gou1+21PSi0pabLGL9dyuzn6ol34ByDCXuM7U7OS0tVp8IfZDjYY1XiA5Ff61W/p7b\n\tDork/VqBdyNRPHHV3e+Wvq802slQ52ole0LgO/Qg4/SNjuN7ciSOCZewFGei6YFIHdtZ\n\tZXPVvhTgWQWEQ1BrJLRInfr1+C+etFtSqKJkhXh/U6HIAYT7gdpOveLorQWs7dlZkf5M\n\tNV2Q==",
        "X-Gm-Message-State": "AMCzsaX66LUP/3KgS4E87Kv4tkEWgzxSpfUUxa9c9YRVQOKNmce9Tilr\n\tgVnDSeAHgeF717aX4az5twY=",
        "X-Google-Smtp-Source": "ABhQp+SfSkIIcbVIava0dS2ez89+2VMIBukJdmD+3/d90DDZIyTm2mt++XxCv9Jb31jj0yNblhS3LQ==",
        "X-Received": "by 10.28.12.65 with SMTP id 62mr9819960wmm.129.1508868046891;\n\tTue, 24 Oct 2017 11:00:46 -0700 (PDT)",
        "From": "Corentin Labbe <clabbe.montjoie@gmail.com>",
        "To": "robh+dt@kernel.org, mark.rutland@arm.com,\n\tmaxime.ripard@free-electrons.com, wens@csie.org,\n\tlinux@armlinux.org.uk, catalin.marinas@arm.com,\n\twill.deacon@arm.com, peppe.cavallaro@st.com,\n\talexandre.torgue@st.com, andrew@lunn.ch, f.fainelli@gmail.com",
        "Cc": "netdev@vger.kernel.org, devicetree@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org,\n\tCorentin Labbe <clabbe.montjoie@gmail.com>",
        "Subject": "[PATCH v9 03/10] arm: dts: sunxi: h3/h5: Restore EMAC changes",
        "Date": "Tue, 24 Oct 2017 19:57:07 +0200",
        "Message-Id": "<20171024175714.15840-4-clabbe.montjoie@gmail.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "In-Reply-To": "<20171024175714.15840-1-clabbe.montjoie@gmail.com>",
        "References": "<20171024175714.15840-1-clabbe.montjoie@gmail.com>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "The original dwmac-sun8i DT bindings have some issue on how to handle\nintegrated PHY and was reverted in last RC of 4.13.\nBut now we have a solution so we need to get back that was reverted.\n\nThis patch restore sunxi-h3-h5.dtsi\nThis reverts partially commit fe45174b72ae (\"arm: dts: sunxi: Revert EMAC changes\")\n\nSigned-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>\n---\n arch/arm/boot/dts/sunxi-h3-h5.dtsi | 26 ++++++++++++++++++++++++++\n 1 file changed, 26 insertions(+)",
    "diff": "diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi\nindex c1bd09dab3da..d762098fc589 100644\n--- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi\n+++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi\n@@ -408,6 +408,32 @@\n \t\t\tclocks = <&osc24M>;\n \t\t};\n \n+\t\temac: ethernet@1c30000 {\n+\t\t\tcompatible = \"allwinner,sun8i-h3-emac\";\n+\t\t\tsyscon = <&syscon>;\n+\t\t\treg = <0x01c30000 0x10000>;\n+\t\t\tinterrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;\n+\t\t\tinterrupt-names = \"macirq\";\n+\t\t\tresets = <&ccu RST_BUS_EMAC>;\n+\t\t\treset-names = \"stmmaceth\";\n+\t\t\tclocks = <&ccu CLK_BUS_EMAC>;\n+\t\t\tclock-names = \"stmmaceth\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <0>;\n+\t\t\tstatus = \"disabled\";\n+\n+\t\t\tmdio: mdio {\n+\t\t\t\t#address-cells = <1>;\n+\t\t\t\t#size-cells = <0>;\n+\t\t\t\tint_mii_phy: ethernet-phy@1 {\n+\t\t\t\t\tcompatible = \"ethernet-phy-ieee802.3-c22\";\n+\t\t\t\t\treg = <1>;\n+\t\t\t\t\tclocks = <&ccu CLK_BUS_EPHY>;\n+\t\t\t\t\tresets = <&ccu RST_BUS_EPHY>;\n+\t\t\t\t};\n+\t\t\t};\n+\t\t};\n+\n \t\tspi0: spi@1c68000 {\n \t\t\tcompatible = \"allwinner,sun8i-h3-spi\";\n \t\t\treg = <0x01c68000 0x1000>;\n",
    "prefixes": [
        "v9",
        "03/10"
    ]
}