get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1099375,
    "url": "http://patchwork.ozlabs.org/api/patches/1099375/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190514093457.43837-2-ran.wang_1@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": "<20190514093457.43837-2-ran.wang_1@nxp.com>",
    "list_archive_url": null,
    "date": "2019-05-14T09:34:57",
    "name": "[U-Boot,v3,2/2] armv8: ls1028a: enable workaround for USBerrarum A-009007",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a02526d964c04c577a7fd00cb8f5bf938a35249a",
    "submitter": {
        "id": 71939,
        "url": "http://patchwork.ozlabs.org/api/people/71939/?format=api",
        "name": "Ran Wang",
        "email": "ran.wang_1@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/20190514093457.43837-2-ran.wang_1@nxp.com/mbox/",
    "series": [
        {
            "id": 107721,
            "url": "http://patchwork.ozlabs.org/api/series/107721/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=107721",
            "date": "2019-05-14T09:34:56",
            "name": "[U-Boot,v3,1/2] armv8: ls1028a: enable workaround for USBerratum A-008997",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/107721/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1099375/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1099375/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 453CF03MjYz9sBp\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 14 May 2019 19:34:12 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid EF1D2C21EC8; Tue, 14 May 2019 09:33:34 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id B37F9C21E13;\n\tTue, 14 May 2019 09:33:20 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 08081C21C51; Tue, 14 May 2019 09:33:17 +0000 (UTC)",
            "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n\tby lists.denx.de (Postfix) with ESMTPS id B4140C21D8E\n\tfor <u-boot@lists.denx.de>; Tue, 14 May 2019 09:33:17 +0000 (UTC)",
            "from inva020.nxp.com (localhost [127.0.0.1])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 840AE1A0146;\n\tTue, 14 May 2019 11:33:17 +0200 (CEST)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id EC8221A0023;\n\tTue, 14 May 2019 11:33:14 +0200 (CEST)",
            "from localhost.localdomain (mega.ap.freescale.net [10.192.208.232])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 6A39340307;\n\tTue, 14 May 2019 17:33:11 +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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "From": "Ran Wang <ran.wang_1@nxp.com>",
        "To": "Albert Aribaud <albert.u.boot@aribaud.net>,\n\tPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>",
        "Date": "Tue, 14 May 2019 17:34:57 +0800",
        "Message-Id": "<20190514093457.43837-2-ran.wang_1@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190514093457.43837-1-ran.wang_1@nxp.com>",
        "References": "<20190514093457.43837-1-ran.wang_1@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Cc": "u-boot@lists.denx.de, Yinbo Zhu <yinbo.zhu@nxp.com>,\n\tRan Wang <ran.wang_1@nxp.com>",
        "Subject": "[U-Boot] [PATCH v3 2/2] armv8: ls1028a: enable workaround for USB\n\terrarum A-009007",
        "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": "From: Yinbo Zhu <yinbo.zhu@nxp.com>\n\nRx Compliance tests may fail intermittently at high jitter\nfrequencies using default register values.\n\nProgram register USB_PHY_RX_OVRD_IN_HI in certain sequence\nto make the Rx compliance test pass.\n\nSigned-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>\nSigned-off-by: Ran Wang <ran.wang_1@nxp.com>\n---\nChange in v3:\n\t- Update commit subject to remove redundant message\n\nChange in v2:\n\t- Update commit subject to make it clearer\n\n arch/arm/cpu/armv8/fsl-layerscape/soc.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c\nindex f2392f0ebf..af2d86bb9d 100644\n--- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c\n+++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c\n@@ -143,7 +143,8 @@ static void erratum_a008997(void)\n \tout_be16((phy) + SCFG_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_3);\t\\\n \tout_be16((phy) + SCFG_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_4)\n \n-#elif defined(CONFIG_ARCH_LS2080A) || defined(CONFIG_ARCH_LS1088A)\n+#elif defined(CONFIG_ARCH_LS2080A) || defined(CONFIG_ARCH_LS1088A) || \\\n+\tdefined(CONFIG_ARCH_LS1028A)\n \n #define PROGRAM_USB_PHY_RX_OVRD_IN_HI(phy)\t\\\n \tout_le16((phy) + DCSR_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_1); \\\n@@ -167,7 +168,8 @@ static void erratum_a009007(void)\n \tusb_phy = (void __iomem *)SCFG_USB_PHY3;\n \tPROGRAM_USB_PHY_RX_OVRD_IN_HI(usb_phy);\n #endif\n-#elif defined(CONFIG_ARCH_LS2080A) || defined(CONFIG_ARCH_LS1088A)\n+#elif defined(CONFIG_ARCH_LS2080A) || defined(CONFIG_ARCH_LS1088A) || \\\n+\tdefined(CONFIG_ARCH_LS1028A)\n \tvoid __iomem *dcsr = (void __iomem *)DCSR_BASE;\n \n \tPROGRAM_USB_PHY_RX_OVRD_IN_HI(dcsr + DCSR_USB_PHY1);\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "2/2"
    ]
}