get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 819439,
    "url": "http://patchwork.ozlabs.org/api/patches/819439/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-aspeed/patch/20170928075149.8154-9-joel@jms.id.au/",
    "project": {
        "id": 57,
        "url": "http://patchwork.ozlabs.org/api/projects/57/?format=api",
        "name": "Linux ASPEED SoC development",
        "link_name": "linux-aspeed",
        "list_id": "linux-aspeed.lists.ozlabs.org",
        "list_email": "linux-aspeed@lists.ozlabs.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170928075149.8154-9-joel@jms.id.au>",
    "list_archive_url": null,
    "date": "2017-09-28T07:51:49",
    "name": "[8/8] ARM: dts: aspeed: Clean up UART nodes",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7111edb1ae9ad1867afbc2d22804a080fd6aef61",
    "submitter": {
        "id": 48628,
        "url": "http://patchwork.ozlabs.org/api/people/48628/?format=api",
        "name": "Joel Stanley",
        "email": "joel@jms.id.au"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-aspeed/patch/20170928075149.8154-9-joel@jms.id.au/mbox/",
    "series": [
        {
            "id": 5506,
            "url": "http://patchwork.ozlabs.org/api/series/5506/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-aspeed/list/?series=5506",
            "date": "2017-09-28T07:51:41",
            "name": "ARM: dts: aspeed: Device tree updates",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/5506/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/819439/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/819439/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-aspeed@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "linux-aspeed@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y2n4T53V8z9t2c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 17:53:29 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3y2n4T1Vb2zDsPp\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 17:53:29 +1000 (AEST)",
            "from mail-pg0-x244.google.com (mail-pg0-x244.google.com\n\t[IPv6:2607:f8b0:400e:c05::244])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3y2n4R3GrCzDsPp\n\tfor <linux-aspeed@lists.ozlabs.org>;\n\tThu, 28 Sep 2017 17:53:27 +1000 (AEST)",
            "by mail-pg0-x244.google.com with SMTP id 125so759789pgj.4\n\tfor <linux-aspeed@lists.ozlabs.org>;\n\tThu, 28 Sep 2017 00:53:27 -0700 (PDT)",
            "from aurora.jms.id.au ([203.0.153.9])\n\tby smtp.gmail.com with ESMTPSA id\n\te2sm1801390pfc.176.2017.09.28.00.53.18\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 28 Sep 2017 00:53:23 -0700 (PDT)",
            "by aurora.jms.id.au (sSMTP sendmail emulation);\n\tThu, 28 Sep 2017 17:23:16 +0930"
        ],
        "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=\"t6wRnR7T\"; dkim-atps=neutral",
            "lists.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=\"t6wRnR7T\"; dkim-atps=neutral",
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c05::244; helo=mail-pg0-x244.google.com;\n\tenvelope-from=joel.stan@gmail.com; receiver=<UNKNOWN>)",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"t6wRnR7T\"; dkim-atps=neutral"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=W3AE2lB8EA8cIV5mU2Dh96HRVxUH10d0tBsHDiMaIcc=;\n\tb=t6wRnR7TlKv5cqqBd2P+OCBBgG52vbzaRtZdqhnbrgiuQVXRRjsryf7CZA45ZG5OBD\n\tk0lOelN4Dof2bgSvmhRu0++J7sdPGClePZ4ZLa4QjOYayvOWcngdqao0Uuj7BXsW0J2D\n\tx9d47jLJ/x7A4fMHe1Y3iUbPiQDk8q5S+/YldyQI6BiYgBM0ViD+GHjdY/JqUQqmJOMy\n\twEPFKnTwgtO/7A0RyNG0pdTOkZNafr0V2JZTYWKT2EisUHJ6XZmZIeLF3YOXJ6fCmaGD\n\tLVlh+ONXov+CDEySdtLDfg7IXZZmBpYsglUC7BJDNe9tub2BsZih/r0uvJ+yNBP4BBjL\n\tsX2g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=W3AE2lB8EA8cIV5mU2Dh96HRVxUH10d0tBsHDiMaIcc=;\n\tb=f791QsWH6fpH9HEdV1O2mu0Nr1xHzUFAT++mqSI6bsSnPbE4rsNCtRB4DXuFac6qPH\n\tGlEnFG0mMe6QPFofxqOMBM6EPnuEhEsyKQknMN/tUdMOTe13Fpgce0a5Fc7iwy0kNXwf\n\taFvBFIGUNndQ/4oLxHVKqnjz0S5rq4H3UWcw5rrnDAlx8Q3GppHrjEkt2cqmKDa0UiUj\n\tk6jhnkkrMg3jJ3Qd/RS+Y2BVYVIow7WaE0bbhBksOjJ33TdNMVBCwbjx0iu82egycf7+\n\tMLkZCgmssUoAglCqPWCTPsXVaBjmGWaX0hWabK+NKv0kKWfntASwRiQUyHM7WiGuUWHt\n\twmqA==",
        "X-Gm-Message-State": "AHPjjUhpg7FMIfCPakYSrdMmenxOXZTNAQ7ZMDYirtUWVyLLqGQga3wI\n\tDVRpi+6jRCGJ22GVUkF99Ds=",
        "X-Google-Smtp-Source": "AOwi7QAeu4vFLSmT3/0ecZKzjy97BbvW3jtE8HyAHsEjhvC+LbGWJfl+1O4kt5OaBTtYxtuXmPPR5A==",
        "X-Received": "by 10.99.181.23 with SMTP id y23mr3455510pge.165.1506585205428; \n\tThu, 28 Sep 2017 00:53:25 -0700 (PDT)",
        "From": "Joel Stanley <joel@jms.id.au>",
        "To": "Joel Stanley <joel@jms.id.au>, Rob Herring <robh+dt@kernel.org>,\n\tMark Rutland <mark.rutland@arm.com>",
        "Subject": "[PATCH 8/8] ARM: dts: aspeed: Clean up UART nodes",
        "Date": "Thu, 28 Sep 2017 17:21:49 +0930",
        "Message-Id": "<20170928075149.8154-9-joel@jms.id.au>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170928075149.8154-1-joel@jms.id.au>",
        "References": "<20170928075149.8154-1-joel@jms.id.au>",
        "X-BeenThere": "linux-aspeed@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.24",
        "Precedence": "list",
        "List-Id": "Linux ASPEED SoC development <linux-aspeed.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linux-aspeed>,\n\t<mailto:linux-aspeed-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linux-aspeed/>",
        "List-Post": "<mailto:linux-aspeed@lists.ozlabs.org>",
        "List-Help": "<mailto:linux-aspeed-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linux-aspeed>,\n\t<mailto:linux-aspeed-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org,\n\tBrendan Higgins <brendanhiggins@google.com>,\n\tRussell King <linux@armlinux.org.uk>, linux-kernel@vger.kernel.org,\n\tRick Altherr <raltherr@google.com>, linux-arm-kernel@lists.infradead.org",
        "Errors-To": "linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linux-aspeed\"\n\t<linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>"
    },
    "content": "- Shorten size of reg property so it covers only the implemented\n registers\n\n - Add VUART compatible\n\n - Move stray uart1 in g5 definition\n\n - Remove outdated current-speed property. Different bootloaders use\n different speeds, so this is no longer helpful\n\nSigned-off-by: Joel Stanley <joel@jms.id.au>\n---\n arch/arm/boot/dts/aspeed-g4.dtsi | 17 +++++++++--------\n arch/arm/boot/dts/aspeed-g5.dtsi | 36 ++++++++++++++++++------------------\n 2 files changed, 27 insertions(+), 26 deletions(-)",
    "diff": "diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi\nindex 191c33d18122..7a4a53666d70 100644\n--- a/arch/arm/boot/dts/aspeed-g4.dtsi\n+++ b/arch/arm/boot/dts/aspeed-g4.dtsi\n@@ -27,6 +27,7 @@\n \t\tserial2 = &uart3;\n \t\tserial3 = &uart4;\n \t\tserial4 = &uart5;\n+\t\tserial5 = &vuart;\n \t};\n \n \tcpus {\n@@ -199,7 +200,7 @@\n \n \t\t\tuart1: serial@1e783000 {\n \t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e783000 0x1000>;\n+\t\t\t\treg = <0x1e783000 0x20>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <9>;\n \t\t\t\tclocks = <&clk_uart>;\n@@ -209,7 +210,7 @@\n \n \t\t\tuart2: serial@1e78d000 {\n \t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e78d000 0x1000>;\n+\t\t\t\treg = <0x1e78d000 0x20>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <32>;\n \t\t\t\tclocks = <&clk_uart>;\n@@ -219,7 +220,7 @@\n \n \t\t\tuart3: serial@1e78e000 {\n \t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e78e000 0x1000>;\n+\t\t\t\treg = <0x1e78e000 0x20>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <33>;\n \t\t\t\tclocks = <&clk_uart>;\n@@ -229,7 +230,7 @@\n \n \t\t\tuart4: serial@1e78f000 {\n \t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e78f000 0x1000>;\n+\t\t\t\treg = <0x1e78f000 0x20>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <34>;\n \t\t\t\tclocks = <&clk_uart>;\n@@ -239,7 +240,7 @@\n \n \t\t\tuart5: serial@1e784000 {\n \t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e784000 0x1000>;\n+\t\t\t\treg = <0x1e784000 0x20>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <10>;\n \t\t\t\tclocks = <&clk_uart>;\n@@ -248,9 +249,9 @@\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n \n-\t\t\tuart6: serial@1e787000 {\n-\t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e787000 0x1000>;\n+\t\t\tvuart: vuart@1e787000 {\n+\t\t\t\tcompatible = \"aspeed,ast2400-vuart\";\n+\t\t\t\treg = <0x1e787000 0x40>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <10>;\n \t\t\t\tclocks = <&clk_uart>;\ndiff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi\nindex 251fc9f4637e..0b793305120a 100644\n--- a/arch/arm/boot/dts/aspeed-g5.dtsi\n+++ b/arch/arm/boot/dts/aspeed-g5.dtsi\n@@ -27,6 +27,7 @@\n \t\tserial2 = &uart3;\n \t\tserial3 = &uart4;\n \t\tserial4 = &uart5;\n+\t\tserial5 = &vuart;\n \t};\n \n \tcpus {\n@@ -247,16 +248,6 @@\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n \n-\t\t\tuart1: serial@1e783000 {\n-\t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e783000 0x1000>;\n-\t\t\t\treg-shift = <2>;\n-\t\t\t\tinterrupts = <9>;\n-\t\t\t\tclocks = <&clk_uart>;\n-\t\t\t\tno-loopback-test;\n-\t\t\t\tstatus = \"disabled\";\n-\t\t\t};\n-\n \t\t\tlpc: lpc@1e789000 {\n \t\t\t\tcompatible = \"aspeed,ast2500-lpc\", \"simple-mfd\";\n \t\t\t\treg = <0x1e789000 0x1000>;\n@@ -287,9 +278,19 @@\n \t\t\t\t};\n \t\t\t};\n \n+\t\t\tuart1: serial@1e783000 {\n+\t\t\t\tcompatible = \"ns16550a\";\n+\t\t\t\treg = <0x1e783000 0x20>;\n+\t\t\t\treg-shift = <2>;\n+\t\t\t\tinterrupts = <9>;\n+\t\t\t\tclocks = <&clk_uart>;\n+\t\t\t\tno-loopback-test;\n+\t\t\t\tstatus = \"disabled\";\n+\t\t\t};\n+\n \t\t\tuart2: serial@1e78d000 {\n \t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e78d000 0x1000>;\n+\t\t\t\treg = <0x1e78d000 0x20>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <32>;\n \t\t\t\tclocks = <&clk_uart>;\n@@ -299,7 +300,7 @@\n \n \t\t\tuart3: serial@1e78e000 {\n \t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e78e000 0x1000>;\n+\t\t\t\treg = <0x1e78e000 0x20>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <33>;\n \t\t\t\tclocks = <&clk_uart>;\n@@ -309,7 +310,7 @@\n \n \t\t\tuart4: serial@1e78f000 {\n \t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e78f000 0x1000>;\n+\t\t\t\treg = <0x1e78f000 0x20>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <34>;\n \t\t\t\tclocks = <&clk_uart>;\n@@ -319,18 +320,17 @@\n \n \t\t\tuart5: serial@1e784000 {\n \t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e784000 0x1000>;\n+\t\t\t\treg = <0x1e784000 0x20>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <10>;\n \t\t\t\tclocks = <&clk_uart>;\n-\t\t\t\tcurrent-speed = <38400>;\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n \n-\t\t\tuart6: serial@1e787000 {\n-\t\t\t\tcompatible = \"ns16550a\";\n-\t\t\t\treg = <0x1e787000 0x1000>;\n+\t\t\tvuart: vuart@1e787000 {\n+\t\t\t\tcompatible = \"aspeed,ast2500-vuart\";\n+\t\t\t\treg = <0x1e787000 0x40>;\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <10>;\n \t\t\t\tclocks = <&clk_uart>;\n",
    "prefixes": [
        "8/8"
    ]
}