get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806149,
    "url": "http://patchwork.ozlabs.org/api/patches/806149/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1503778616-25013-3-git-send-email-aford173@gmail.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": "<1503778616-25013-3-git-send-email-aford173@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-26T20:16:56",
    "name": "[U-Boot,3/3] arm: da850-evm: Enable DM and device tree support for da850-evm",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "21058e1e96ca2e11c3d103545c8b7eaf201e2d47",
    "submitter": {
        "id": 67132,
        "url": "http://patchwork.ozlabs.org/api/people/67132/?format=api",
        "name": "Adam Ford",
        "email": "aford173@gmail.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1503778616-25013-3-git-send-email-aford173@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/806149/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806149/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\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"omQ77P79\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xfqB21yRkz9sN5\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 27 Aug 2017 06:19:06 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 0A9F2C220D6; Sat, 26 Aug 2017 20:18:32 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id AEFB2C2210B;\n\tSat, 26 Aug 2017 20:17:31 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 7FF9FC220EB; Sat, 26 Aug 2017 20:17:30 +0000 (UTC)",
            "from mail-io0-f196.google.com (mail-io0-f196.google.com\n\t[209.85.223.196])\n\tby lists.denx.de (Postfix) with ESMTPS id 0FA2EC220EB\n\tfor <u-boot@lists.denx.de>; Sat, 26 Aug 2017 20:17:18 +0000 (UTC)",
            "by mail-io0-f196.google.com with SMTP id v96so1314302ioi.3\n\tfor <u-boot@lists.denx.de>; Sat, 26 Aug 2017 13:17:18 -0700 (PDT)",
            "from ubuntu16.lan (c-73-65-120-235.hsd1.mn.comcast.net.\n\t[73.65.120.235]) by smtp.gmail.com with ESMTPSA id\n\tg16sm2019549ita.43.2017.08.26.13.17.16\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSat, 26 Aug 2017 13:17:16 -0700 (PDT)"
        ],
        "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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=qJP8WOH1wlODrUnn4PBNe5EDzukDDamrorRzRq+coWw=;\n\tb=omQ77P793ehGc+MVfEMeHx7K5jzoyC+gcIvQLkkOgwd8m7bnem+kXVKj3wDnctHPim\n\tgFDKmPKIGtpHm6eqvLgpjA93dtx0REvCUMyQTEcYY55NYMACqjNZg3ptMebq0GUGofPr\n\t+mywy+NsFHXRRwTZd1rXKXGStKZouRQh1BKIZwQyXGi3yNzOgjwKTOp2dNqZAh8cn/eA\n\t1TXuRVIs4Nud4ElLM1OPvU1f7VwaU1pUZVc4g4QW1pWB0rq92k4EYXkWcOSzA39CNus+\n\tqAzsSpS+X2+29tn0F3GFXyp6rcSHQGE1ilnUZr/QEwc5eidIJNgouRtQZkiaE0jcBl07\n\txmSQ==",
        "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=qJP8WOH1wlODrUnn4PBNe5EDzukDDamrorRzRq+coWw=;\n\tb=AKHOwnmbI3P1kTGiSeejYbwfGLS0SW0kvp/jORpqkb5n4WeUmtZq8bh/qd2waCYsR0\n\t50hUR2rSiWqw5gAxL5wswK4X/MkmuFUdG1mQZHNPutqqcZrO/OsdF7vtkVFh81GVpH/B\n\tMP4gu8w/1TyriEQ7HCu4iDHAv8GC9Sm446ApkclFv9/Vjq/lsnIEV41V6uRy9lNVXGal\n\tyBtvaHViRv6Xh7GjD+zuDABna+UOjwFTpwUAscU3aDBjaYNaDYsbmZ/sYdxrG3yNDMLp\n\tHkFVHBN+6/Ba46quVJB4LjuLP3EGSISK0caGHl0iFPjkfuEJk8aKvT2WmfjI6pqnFIwU\n\t3owg==",
        "X-Gm-Message-State": "AHYfb5jF7tqTTXbMnYnJwvMJyMvsQTaAL1BGXO9SYNf4nLgOm6HTXfSE\n\tBFWBak3OpMCOxxyi",
        "X-Received": "by 10.107.132.86 with SMTP id g83mr1978862iod.179.1503778636762; \n\tSat, 26 Aug 2017 13:17:16 -0700 (PDT)",
        "From": "Adam Ford <aford173@gmail.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Sat, 26 Aug 2017 15:16:56 -0500",
        "Message-Id": "<1503778616-25013-3-git-send-email-aford173@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1503778616-25013-1-git-send-email-aford173@gmail.com>",
        "References": "<1503778616-25013-1-git-send-email-aford173@gmail.com>",
        "Cc": "albert.u.boot@aribaud.net, jagan@openedev.com",
        "Subject": "[U-Boot] [PATCH 3/3] arm: da850-evm: Enable DM and device tree\n\tsupport for da850-evm",
        "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": "With the device tree ported and DM compatible drivers, enable:\nOF_CONTROL, DM_SPI, DM_SPI_FLASH and DM_SERIAL\n\nSigned-off-by: Adam Ford <aford173@gmail.com>\n---\n configs/da850evm_defconfig |  9 +++++++--\n include/configs/da850evm.h | 17 +++++++++++++++--\n 2 files changed, 22 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig\nindex 0135e7d..652da01 100644\n--- a/configs/da850evm_defconfig\n+++ b/configs/da850evm_defconfig\n@@ -6,8 +6,8 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n CONFIG_SPL_SPI_FLASH_SUPPORT=y\n CONFIG_SPL_SPI_SUPPORT=y\n+CONFIG_DEFAULT_DEVICE_TREE=\"da850-evm\"\n CONFIG_SYS_EXTRA_OPTIONS=\"MAC_ADDR_IN_SPIFLASH\"\n-CONFIG_ENV_IS_IN_SPI_FLASH=y\n CONFIG_BOOTDELAY=3\n CONFIG_USE_BOOTARGS=y\n CONFIG_BOOTARGS=\"mem=32M console=ttyS2,115200n8 root=/dev/mtdblock2 rw noinitrd ip=dhcp\"\n@@ -34,8 +34,13 @@ CONFIG_CMD_PING=y\n CONFIG_CMD_EXT2=y\n CONFIG_CMD_FAT=y\n CONFIG_CMD_DIAG=y\n+CONFIG_OF_CONTROL=y\n+CONFIG_ENV_IS_IN_SPI_FLASH=y\n+CONFIG_DM=y\n+CONFIG_DM_SPI_FLASH=y\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_STMICRO=y\n CONFIG_SPI_FLASH_WINBOND=y\n+CONFIG_DM_SERIAL=y\n CONFIG_SYS_NS16550=y\n-CONFIG_OF_LIBFDT=y\n+CONFIG_DM_SPI=y\ndiff --git a/include/configs/da850evm.h b/include/configs/da850evm.h\nindex 0736b39..b147bc5 100644\n--- a/include/configs/da850evm.h\n+++ b/include/configs/da850evm.h\n@@ -21,6 +21,15 @@\n #endif\n \n /*\n+* Disable DM_* for SPL build and can be re-enabled after adding\n+* DM support in SPL\n+*/\n+#ifdef CONFIG_SPL_BUILD\n+#undef CONFIG_DM_SPI\n+#undef CONFIG_DM_SPI_FLASH\n+#undef CONFIG_DM_I2C\n+#endif\n+/*\n  * SoC Configuration\n  */\n #define CONFIG_MACH_DAVINCI_DA850_EVM\n@@ -130,18 +139,23 @@\n /*\n  * Serial Driver info\n  */\n+\n+#ifdef CONFIG_SPL_BUILD\n #define CONFIG_SYS_NS16550_SERIAL\n #define CONFIG_SYS_NS16550_REG_SIZE\t-4\t/* NS16550 register size */\n #define CONFIG_SYS_NS16550_COM1\tDAVINCI_UART2_BASE /* Base address of UART2 */\n+#endif\n #define CONFIG_SYS_NS16550_CLK\tclk_get(DAVINCI_UART2_CLKID)\n #define CONFIG_CONS_INDEX\t1\t\t/* use UART0 for console */\n \n #define CONFIG_SPI\n #define CONFIG_DAVINCI_SPI\n-#define CONFIG_SYS_SPI_BASE\t\tDAVINCI_SPI1_BASE\n #define CONFIG_SYS_SPI_CLK\t\tclk_get(DAVINCI_SPI1_CLKID)\n+#ifdef CONFIG_SPL_BUILD\n+#define CONFIG_SYS_SPI_BASE\t\tDAVINCI_SPI1_BASE\n #define CONFIG_SF_DEFAULT_SPEED\t\t30000000\n #define CONFIG_ENV_SPI_MAX_HZ\tCONFIG_SF_DEFAULT_SPEED\n+#endif\n \n #ifdef CONFIG_USE_SPIFLASH\n #define CONFIG_SPL_SPI_LOAD\n@@ -152,7 +166,6 @@\n /*\n  * I2C Configuration\n  */\n-#define CONFIG_SYS_I2C\n #define CONFIG_SYS_I2C_DAVINCI\n #define CONFIG_SYS_DAVINCI_I2C_SPEED\t\t25000\n #define CONFIG_SYS_DAVINCI_I2C_SLAVE   10 /* Bogus, master-only in U-Boot */\n",
    "prefixes": [
        "U-Boot",
        "3/3"
    ]
}