get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 453832,
    "url": "http://patchwork.ozlabs.org/api/patches/453832/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1427203163-27226-1-git-send-email-haikun.wang@freescale.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": "<1427203163-27226-1-git-send-email-haikun.wang@freescale.com>",
    "list_archive_url": null,
    "date": "2015-03-24T13:19:23",
    "name": "[U-Boot,4/5,v1] dm: ls1021a: dts: Update DSPI node to support DM SPI",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b9c4cc98be2b0351fbee2e741535854d76566c26",
    "submitter": {
        "id": 65869,
        "url": "http://patchwork.ozlabs.org/api/people/65869/?format=api",
        "name": "Haikun.Wang@freescale.com",
        "email": "Haikun.Wang@freescale.com"
    },
    "delegate": {
        "id": 3184,
        "url": "http://patchwork.ozlabs.org/api/users/3184/?format=api",
        "username": "sjg",
        "first_name": "Simon",
        "last_name": "Glass",
        "email": "sjg@chromium.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1427203163-27226-1-git-send-email-haikun.wang@freescale.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/453832/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/453832/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",
        "Received": [
            "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 8E6CB140079\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 25 Mar 2015 00:22:49 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 2A2014A033;\n\tTue, 24 Mar 2015 14:22:47 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id PdK1a2RaqTLS; Tue, 24 Mar 2015 14:22:46 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 5EBEF4A036;\n\tTue, 24 Mar 2015 14:22:46 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 875664A036\n\tfor <u-boot@lists.denx.de>; Tue, 24 Mar 2015 14:22:44 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id R_7R4hOONwsS for <u-boot@lists.denx.de>;\n\tTue, 24 Mar 2015 14:22:44 +0100 (CET)",
            "from na01-bl2-obe.outbound.protection.outlook.com\n\t(mail-bl2on0108.outbound.protection.outlook.com [65.55.169.108])\n\tby theia.denx.de (Postfix) with ESMTPS id 1310A4A029\n\tfor <u-boot@lists.denx.de>; Tue, 24 Mar 2015 14:22:40 +0100 (CET)",
            "from CH1PR03CA001.namprd03.prod.outlook.com (10.255.156.146) by\n\tBN1PR0301MB0612.namprd03.prod.outlook.com (25.160.170.27) with\n\tMicrosoft SMTP\n\tServer (TLS) id 15.1.118.21; Tue, 24 Mar 2015 13:22:37 +0000",
            "from BL2FFO11FD041.protection.gbl (10.255.156.132) by\n\tCH1PR03CA001.outlook.office365.com (10.255.156.146) with Microsoft\n\tSMTP Server (TLS) id 15.1.118.21 via Frontend Transport;\n\tTue, 24 Mar 2015 13:22:37 +0000",
            "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBL2FFO11FD041.mail.protection.outlook.com (10.173.161.137) with\n\tMicrosoft SMTP Server (TLS) id 15.1.125.13 via Frontend Transport;\n\tTue, 24 Mar 2015 13:22:37 +0000",
            "from titan.ap.freescale.net ([10.192.208.233])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\tt2ODMWvX016926; Tue, 24 Mar 2015 06:22:34 -0700"
        ],
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)",
        "From": "Haikun Wang <haikun.wang@freescale.com>",
        "To": "<u-boot@lists.denx.de>",
        "Date": "Tue, 24 Mar 2015 21:19:23 +0800",
        "Message-ID": "<1427203163-27226-1-git-send-email-haikun.wang@freescale.com>",
        "X-Mailer": "git-send-email 2.1.0.27.g96db324",
        "X-EOPAttributedMessage": "0",
        "Received-SPF": "Fail (protection.outlook.com: domain of freescale.com does not\n\tdesignate 192.88.168.50 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.168.50; helo=tx30smr01.am.freescale.net;",
        "Authentication-Results": "spf=fail (sender IP is 192.88.168.50)\n\tsmtp.mailfrom=haikun.wang@freescale.com;\n\tfreescale.mail.onmicrosoft.com; \n\tdkim=none (message not signed) header.d=none;",
        "X-Forefront-Antispam-Report": "CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI;\n\tBMV:1; SFV:NSPM;\n\tSFS:(10019020)(6009001)(339900001)(199003)(189002)(50986999)(47776003)(110136001)(50226001)(77096005)(46102003)(104016003)(92566002)(36756003)(50466002)(2351001)(77156002)(229853001)(62966003)(33646002)(105606002)(6806004)(85426001)(48376002)(19580395003)(87936001)(86362001)(106466001)(19580405001);\n\tDIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR0301MB0612;\n\tH:tx30smr01.am.freescale.net; \n\tFPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; ",
        "MIME-Version": "1.0",
        "X-Microsoft-Antispam": "UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR0301MB0612;",
        "X-Microsoft-Antispam-PRVS": "<BN1PR0301MB06121A023775AD0B6D4E967AF80A0@BN1PR0301MB0612.namprd03.prod.outlook.com>",
        "X-Exchange-Antispam-Report-Test": "UriScan:;",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(601004)(5005006)(5002010); SRVR:BN1PR0301MB0612; BCL:0; PCL:0;\n\tRULEID:; SRVR:BN1PR0301MB0612; ",
        "X-Forefront-PRVS": "0525BB0ADF",
        "X-OriginatorOrg": "freescale.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "24 Mar 2015 13:22:37.1153\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-Id": "710a03f5-10f6-4d38-9ff4-a80b81da590d",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;\n\tIp=[192.88.168.50]; \n\tHelo=[tx30smr01.am.freescale.net]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "BN1PR0301MB0612",
        "Subject": "[U-Boot] [PATCH 4/5 v1] dm: ls1021a: dts: Update DSPI node to\n\tsupport DM SPI",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/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": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "Update DSPI controller node in ls1021a.dtsi.\nUpdate flash device node in ls1021a-qds.dts.\nLs1021a-twr board doesn't support DSPI, so remove DSPI node\nin ls1021a-twr.dts.\n\nSigned-off-by: Haikun Wang <Haikun.Wang@freescale.com>\n---\n arch/arm/dts/ls1021a-qds.dts |  3 ++-\n arch/arm/dts/ls1021a-twr.dts | 15 ---------------\n arch/arm/dts/ls1021a.dtsi    |  4 ++--\n 3 files changed, 4 insertions(+), 18 deletions(-)",
    "diff": "diff --git a/arch/arm/dts/ls1021a-qds.dts b/arch/arm/dts/ls1021a-qds.dts\nindex 7454ac6..8971c18 100644\n--- a/arch/arm/dts/ls1021a-qds.dts\n+++ b/arch/arm/dts/ls1021a-qds.dts\n@@ -18,6 +18,7 @@\n \t\tenet2_rgmii_phy = &rgmii_phy3;\n \t\tenet0_sgmii_phy = &sgmii_phy1c;\n \t\tenet1_sgmii_phy = &sgmii_phy1d;\n+\t\tspi1 = &dspi0;\n \t};\n };\n \n@@ -28,7 +29,7 @@\n \tdspiflash: at45db021d@0 {\n \t\t#address-cells = <1>;\n \t\t#size-cells = <1>;\n-\t\tcompatible = \"atmel,at45db021d\", \"atmel,at45\", \"atmel,dataflash\";\n+\t\tcompatible = \"spi-flash\";\n \t\tspi-max-frequency = <16000000>;\n \t\tspi-cpol;\n \t\tspi-cpha;\ndiff --git a/arch/arm/dts/ls1021a-twr.dts b/arch/arm/dts/ls1021a-twr.dts\nindex 2f0481d..3d9f23b 100644\n--- a/arch/arm/dts/ls1021a-twr.dts\n+++ b/arch/arm/dts/ls1021a-twr.dts\n@@ -19,21 +19,6 @@\n \t};\n };\n \n-&dspi1 {\n-\tbus-num = <0>;\n-\tstatus = \"okay\";\n-\n-\tdspiflash: s25fl064k@0 {\n-\t\t#address-cells = <1>;\n-\t\t#size-cells = <1>;\n-\t\tcompatible = \"spansion,s25fl064k\";\n-\t\tspi-max-frequency = <16000000>;\n-\t\tspi-cpol;\n-\t\tspi-cpha;\n-\t\treg = <0>;\n-\t};\n-};\n-\n &i2c0 {\n \tstatus = \"okay\";\n };\ndiff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi\nindex 064d10c..8b3c557 100644\n--- a/arch/arm/dts/ls1021a.dtsi\n+++ b/arch/arm/dts/ls1021a.dtsi\n@@ -152,7 +152,7 @@\n \t\t\tinterrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;\n \t\t\tclock-names = \"dspi\";\n \t\t\tclocks = <&platform_clk 1>;\n-\t\t\tspi-num-chipselects = <5>;\n+\t\t\tnum-cs = <6>;\n \t\t\tbig-endian;\n \t\t\tstatus = \"disabled\";\n \t\t};\n@@ -165,7 +165,7 @@\n \t\t\tinterrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;\n \t\t\tclock-names = \"dspi\";\n \t\t\tclocks = <&platform_clk 1>;\n-\t\t\tspi-num-chipselects = <5>;\n+\t\t\tnum-cs = <6>;\n \t\t\tbig-endian;\n \t\t\tstatus = \"disabled\";\n \t\t};\n",
    "prefixes": [
        "U-Boot",
        "4/5",
        "v1"
    ]
}