get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1005778,
    "url": "http://patchwork.ozlabs.org/api/patches/1005778/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20181130034447.26269-1-peng.ma@nxp.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": "<20181130034447.26269-1-peng.ma@nxp.com>",
    "list_archive_url": null,
    "date": "2018-11-30T03:44:46",
    "name": "[U-Boot,v1,1/2] armv8: dts: fsl-lx2160a: add sata node support",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "65f9b7d76f50424c1f2d35d577db0574728308e8",
    "submitter": {
        "id": 74390,
        "url": "http://patchwork.ozlabs.org/api/people/74390/?format=api",
        "name": "Peng Ma",
        "email": "peng.ma@nxp.com"
    },
    "delegate": {
        "id": 2467,
        "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api",
        "username": "prabhu_kush",
        "first_name": "Prabhakar",
        "last_name": "Kushwaha",
        "email": "prabhakar@freescale.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20181130034447.26269-1-peng.ma@nxp.com/mbox/",
    "series": [
        {
            "id": 78948,
            "url": "http://patchwork.ozlabs.org/api/series/78948/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=78948",
            "date": "2018-11-30T03:44:46",
            "name": "[U-Boot,v1,1/2] armv8: dts: fsl-lx2160a: add sata node support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/78948/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1005778/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1005778/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\tdmarc=fail (p=none dis=none) header.from=nxp.com"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 435gPX5jFYz9s3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 30 Nov 2018 14:49:36 +1100 (AEDT)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 7A28FC2234F; Fri, 30 Nov 2018 03:49:33 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 8D967C21F8F;\n\tFri, 30 Nov 2018 03:49:30 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 9402BC21E36; Fri, 30 Nov 2018 03:49:29 +0000 (UTC)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby lists.denx.de (Postfix) with ESMTPS id DA513C21D65\n\tfor <u-boot@lists.denx.de>; Fri, 30 Nov 2018 03:49:28 +0000 (UTC)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A8D87200123;\n\tFri, 30 Nov 2018 04:49:28 +0100 (CET)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id F203920005E;\n\tFri, 30 Nov 2018 04:49:22 +0100 (CET)",
            "from titan.ap.freescale.net (TITAN.ap.freescale.net\n\t[10.192.208.233])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 5C53F402C3;\n\tFri, 30 Nov 2018 11:49:15 +0800 (SGT)"
        ],
        "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_DNSWL_BLOCKED\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "From": "Peng Ma <peng.ma@nxp.com>",
        "To": "york.sun@nxp.com",
        "Date": "Fri, 30 Nov 2018 03:44:46 +0000",
        "Message-Id": "<20181130034447.26269-1-peng.ma@nxp.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Cc": "xiaowei.bao@nxp.com, priyanka.jain@nxp.com, Zhiqiang.Hou@nxp.com,\n\tPeng Ma <peng.ma@nxp.com>, u-boot@lists.denx.de,\n\trajat.srivastava@nxp.com, yinbo.zhu@nxp.com",
        "Subject": "[U-Boot] [v1 1/2] armv8: dts: fsl-lx2160a: add sata node 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": "One lx2160A, there is one SATA 3.0 advanced host controller interface\nwhich is a high-performance SATA solution that delivers comprehensive\nand fully-compliant generation 3 (1.5 Gb/s - 6.0 Gb/s) serial ATA\ncapabilities, in accordance with the serial ATA revision 3.0 of Serial\nATA International Organization.\n\nSigned-off-by: Peng Ma <peng.ma@nxp.com>\n---\nDepends on:\n\t- https://patchwork.ozlabs.org/project/uboot/list/?series=72964 \n\t- https://patchwork.ozlabs.org/project/uboot/list/?series=78759\n\n arch/arm/dts/fsl-lx2160a-rdb.dts |   16 ++++++++++++++++\n arch/arm/dts/fsl-lx2160a.dtsi    |   37 +++++++++++++++++++++++++++++++++++++\n 2 files changed, 53 insertions(+), 0 deletions(-)",
    "diff": "diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm/dts/fsl-lx2160a-rdb.dts\nindex c3b3a06..7c4f0e7 100644\n--- a/arch/arm/dts/fsl-lx2160a-rdb.dts\n+++ b/arch/arm/dts/fsl-lx2160a-rdb.dts\n@@ -53,3 +53,19 @@\n &esdhc1 {\n \tstatus = \"okay\";\n };\n+\n+&sata0 {\n+\tstatus = \"okay\";\n+};\n+\n+&sata1 {\n+\tstatus = \"okay\";\n+};\n+\n+&sata2 {\n+\tstatus = \"okay\";\n+};\n+\n+&sata3 {\n+\tstatus = \"okay\";\n+};\ndiff --git a/arch/arm/dts/fsl-lx2160a.dtsi b/arch/arm/dts/fsl-lx2160a.dtsi\nindex c268bd9..c8cab6a 100644\n--- a/arch/arm/dts/fsl-lx2160a.dtsi\n+++ b/arch/arm/dts/fsl-lx2160a.dtsi\n@@ -238,4 +238,41 @@\n \t\tbus-range = <0x0 0xff>;\n \t\tranges = <0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */\n \t};\n+\n+\tsata0: sata@3200000 {\n+\t\t\tcompatible = \"fsl,ls2080a-ahci\";\n+\t\t\treg = <0x0 0x3200000 0x0 0x10000>;\n+\t\t\tinterrupts = <0 133 4>;\n+\t\t\tclocks = <&clockgen 4 3>;\n+\t\t\tstatus = \"disabled\";\n+\n+\t};\n+\n+\tsata1: sata@3210000 {\n+\t\t\tcompatible = \"fsl,ls2080a-ahci\";\n+\t\t\treg = <0x0 0x3210000 0x0 0x10000>;\n+\t\t\tinterrupts = <0 136 4>;\n+\t\t\tclocks = <&clockgen 4 3>;\n+\t\t\tstatus = \"disabled\";\n+\n+\t};\n+\n+\tsata2: sata@3220000 {\n+\t\t\tcompatible = \"fsl,ls2080a-ahci\";\n+\t\t\treg = <0x0 0x3220000 0x0 0x10000>;\n+\t\t\tinterrupts = <0 97 4>;\n+\t\t\tclocks = <&clockgen 4 3>;\n+\t\t\tstatus = \"disabled\";\n+\n+\t};\n+\n+\tsata3: sata@3230000 {\n+\t\t\tcompatible = \"fsl,ls2080a-ahci\";\n+\t\t\treg = <0x0 0x3230000 0x0 0x10000>;\n+\t\t\tinterrupts = <0 100 4>;\n+\t\t\tclocks = <&clockgen 4 3>;\n+\t\t\tstatus = \"disabled\";\n+\n+\t};\n+\n };\n",
    "prefixes": [
        "U-Boot",
        "v1",
        "1/2"
    ]
}