get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 874995,
    "url": "http://patchwork.ozlabs.org/api/patches/874995/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-aspeed/patch/20180219073540.24520-1-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": "<20180219073540.24520-1-joel@jms.id.au>",
    "list_archive_url": null,
    "date": "2018-02-19T07:35:40",
    "name": "ARM: dts: aspeed: Add LPC reset controller node",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8e43d35f6fd30f40b217e1137f8ccb25c2d1f2c0",
    "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/20180219073540.24520-1-joel@jms.id.au/mbox/",
    "series": [
        {
            "id": 29279,
            "url": "http://patchwork.ozlabs.org/api/series/29279/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-aspeed/list/?series=29279",
            "date": "2018-02-19T07:35:40",
            "name": "ARM: dts: aspeed: Add LPC reset controller node",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/29279/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/874995/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/874995/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 3zlFst4fqrz9ryr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 19 Feb 2018 18:36:02 +1100 (AEDT)",
            "from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3zlFst2XJczDrK9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 19 Feb 2018 18:36:02 +1100 (AEDT)",
            "from mail-pf0-x244.google.com (mail-pf0-x244.google.com\n\t[IPv6:2607:f8b0:400e:c00::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 3zlFsn4XwhzDrFk\n\tfor <linux-aspeed@lists.ozlabs.org>;\n\tMon, 19 Feb 2018 18:35:57 +1100 (AEDT)",
            "by mail-pf0-x244.google.com with SMTP id m5so223007pff.7\n\tfor <linux-aspeed@lists.ozlabs.org>;\n\tSun, 18 Feb 2018 23:35:56 -0800 (PST)",
            "from aurora.jms.id.au ([45.124.203.19])\n\tby smtp.gmail.com with ESMTPSA id\n\tf79sm60524747pfd.103.2018.02.18.23.35.49\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSun, 18 Feb 2018 23:35:54 -0800 (PST)",
            "by aurora.jms.id.au (sSMTP sendmail emulation);\n\tMon, 19 Feb 2018 18:05:46 +1030"
        ],
        "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=\"Liiov/CO\"; 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=\"Liiov/CO\"; dkim-atps=neutral",
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c00::244; helo=mail-pf0-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=\"Liiov/CO\"; 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;\n\tbh=7gqTF1bgvZmuNSAMp/bukbVmv8u9iZtBgXHxiYm6rgI=;\n\tb=Liiov/COoNBbvO/ya6eBPvFiOCgeHiKCjg2IkBBEmeytsaoxjVYq5iTc8gZFZLlM3k\n\teOtg61EBmszHpTJhViL1GYkA9rGQHNFcdWdXwKPAkHpOb77SEm9FzpWpQiF9SIEQEq7R\n\tEHA+Gq2QLq+kz35qibWRcUxIQ4L3Up9AwcuTTz47o9pCe9Yf0D+X0/4zcqTD5sAk4+Xo\n\tnYOfuQFb3q5U/VFhpuxSaauO6Z9dB7TPAjfz2R40SUniVlXhlWMBY2nCNNV55S/JgRkl\n\tFYeMp/VAPv6Cbb86jQ7ixQNV/+t+gksR44zmPLaIGD1SR32PLfTBt+yQkAFX4tGmosCx\n\tL3SQ==",
        "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\tbh=7gqTF1bgvZmuNSAMp/bukbVmv8u9iZtBgXHxiYm6rgI=;\n\tb=Sot1t3SeWUOuVYHzf0cGHBoZ4uo51hcWB9avI7giJQ5Wqov66thW4FFr3my/csFMuk\n\tHM6QpC5JH4s/i+nfrCOJywC7b056BDbV9qDNyQMtuXx9hOjRSAoKbmH0TL2sU6VN91BF\n\tdrXpl0VurVYO+PoVy4YMkiG1/4JWBoUbQh/j+CZIQA3u+mirKIi2nc124YcPAImZpyX4\n\tlOO2Cyz+JCS135ExjV2nvS1lxwGM9cNXUOnkeVi4nJKbocO8EvkKE7ZH2H8Jbrhlv2f3\n\tPjPRg63JFdVcCsuXUPosklzkHWd2kRQV4vyA6L/Q/Ci9WoxGd0ro7UXfKQunagLJkDsE\n\thSog==",
        "X-Gm-Message-State": "APf1xPBII+oTLUTRiL5ROrWuYj1ZMtTPBvNid55VmMvqwz2y2yBwnYK+\n\toAb455vR4KmeHHDTHMzuwyI=",
        "X-Google-Smtp-Source": "AH8x226zvWDVxRj608YPMH4+azfJlAb5KNEopTZBZlDCRPvw9uD0eabh3yCUfwSQXBuzoNSVgay1rw==",
        "X-Received": "by 10.99.107.200 with SMTP id\n\tg191mr11450986pgc.165.1519025754746; \n\tSun, 18 Feb 2018 23:35:54 -0800 (PST)",
        "From": "Joel Stanley <joel@jms.id.au>",
        "To": "Joel Stanley <joel@jms.id.au>,\n\tAndrew Jeffery <andrew@aj.id.au>",
        "Subject": "[PATCH] ARM: dts: aspeed: Add LPC reset controller node",
        "Date": "Mon, 19 Feb 2018 18:05:40 +1030",
        "Message-Id": "<20180219073540.24520-1-joel@jms.id.au>",
        "X-Mailer": "git-send-email 2.15.1",
        "X-BeenThere": "linux-aspeed@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.26",
        "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": "Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org,\n\tlinux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,\n\tRob Herring <robh+dt@kernel.org>, 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": "On both the ast2400 and ast2500 SoCs, the LPC reset controller is\nrequired to bring the UARTs out of reset without waiting for the LPC\nreset to be deasserted.\n\nSigned-off-by: Joel Stanley <joel@jms.id.au>\n---\nBindings and driver change is under reivew:\n  https://lkml.org/lkml/2018/2/19/12\n\n arch/arm/boot/dts/aspeed-g4.dtsi | 10 ++++++++++\n arch/arm/boot/dts/aspeed-g5.dtsi | 10 ++++++++++\n 2 files changed, 20 insertions(+)",
    "diff": "diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi\nindex 48c28a71ae7e..36ae23aa3b48 100644\n--- a/arch/arm/boot/dts/aspeed-g4.dtsi\n+++ b/arch/arm/boot/dts/aspeed-g4.dtsi\n@@ -162,6 +162,7 @@\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <9>;\n \t\t\t\tclocks = <&syscon ASPEED_CLK_GATE_UART1CLK>;\n+\t\t\t\tresets = <&lpc_reset 4>;\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n@@ -249,6 +250,12 @@\n \t\t\t\t\t\treg = <0x20 0x24 0x48 0x8>;\n \t\t\t\t\t};\n \n+\t\t\t\t\tlpc_reset: reset-controller@18 {\n+\t\t\t\t\t\tcompatible = \"aspeed,ast2400-lpc-reset\";\n+\t\t\t\t\t\treg = <0x18 0x4>;\n+\t\t\t\t\t\t#reset-cells = <1>;\n+\t\t\t\t\t};\n+\n \t\t\t\t\tibt: ibt@c0  {\n \t\t\t\t\t\tcompatible = \"aspeed,ast2400-ibt-bmc\";\n \t\t\t\t\t\treg = <0xc0 0x18>;\n@@ -264,6 +271,7 @@\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <32>;\n \t\t\t\tclocks = <&syscon ASPEED_CLK_GATE_UART2CLK>;\n+\t\t\t\tresets = <&lpc_reset 5>;\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n@@ -274,6 +282,7 @@\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <33>;\n \t\t\t\tclocks = <&syscon ASPEED_CLK_GATE_UART3CLK>;\n+\t\t\t\tresets = <&lpc_reset 6>;\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n@@ -284,6 +293,7 @@\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <34>;\n \t\t\t\tclocks = <&syscon ASPEED_CLK_GATE_UART4CLK>;\n+\t\t\t\tresets = <&lpc_reset 7>;\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\ndiff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi\nindex 8eac57c33880..17ee0fa33a14 100644\n--- a/arch/arm/boot/dts/aspeed-g5.dtsi\n+++ b/arch/arm/boot/dts/aspeed-g5.dtsi\n@@ -205,6 +205,7 @@\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <9>;\n \t\t\t\tclocks = <&syscon ASPEED_CLK_GATE_UART1CLK>;\n+\t\t\t\tresets = <&lpc_reset 4>;\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n@@ -299,6 +300,12 @@\n \t\t\t\t\t\treg = <0x20 0x24 0x48 0x8>;\n \t\t\t\t\t};\n \n+\t\t\t\t\tlpc_reset: reset-controller@18 {\n+\t\t\t\t\t\tcompatible = \"aspeed,ast2500-lpc-reset\";\n+\t\t\t\t\t\treg = <0x18 0x4>;\n+\t\t\t\t\t\t#reset-cells = <1>;\n+\t\t\t\t\t};\n+\n \t\t\t\t\tibt: ibt@c0 {\n \t\t\t\t\t\tcompatible = \"aspeed,ast2500-ibt-bmc\";\n \t\t\t\t\t\treg = <0xc0 0x18>;\n@@ -314,6 +321,7 @@\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <32>;\n \t\t\t\tclocks = <&syscon ASPEED_CLK_GATE_UART2CLK>;\n+\t\t\t\tresets = <&lpc_reset 5>;\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n@@ -324,6 +332,7 @@\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <33>;\n \t\t\t\tclocks = <&syscon ASPEED_CLK_GATE_UART3CLK>;\n+\t\t\t\tresets = <&lpc_reset 6>;\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n@@ -334,6 +343,7 @@\n \t\t\t\treg-shift = <2>;\n \t\t\t\tinterrupts = <34>;\n \t\t\t\tclocks = <&syscon ASPEED_CLK_GATE_UART4CLK>;\n+\t\t\t\tresets = <&lpc_reset 7>;\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n",
    "prefixes": []
}