get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1099374,
    "url": "http://patchwork.ozlabs.org/api/patches/1099374/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190514093457.43837-1-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-1-ran.wang_1@nxp.com>",
    "list_archive_url": null,
    "date": "2019-05-14T09:34:56",
    "name": "[U-Boot,v3,1/2] armv8: ls1028a: enable workaround for USBerratum A-008997",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "989a04cda47c4a32d3c5e5d9a92b3bfce0735055",
    "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-1-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/1099374/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1099374/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 453CD85nbHz9sBp\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 14 May 2019 19:33:28 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 5235EC21DF3; Tue, 14 May 2019 09:33:22 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 1C9E2C21D8E;\n\tTue, 14 May 2019 09:33:20 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid EBA86C21DD7; 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 97B0EC21C51\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 D0BD61A005F;\n\tTue, 14 May 2019 11:33:16 +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 461081A015A;\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 BAC01402C8;\n\tTue, 14 May 2019 17:33:10 +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:56 +0800",
        "Message-Id": "<20190514093457.43837-1-ran.wang_1@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "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 1/2] armv8: ls1028a: enable workaround for USB\n\terratum A-008997",
        "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": "This is supplement for patch which would handle A-008997\n\nCompared to other Layerscape SoCs, ls1028a has moved register\nPCSTXSWINGFULL from SCFG to DSCR.\n\nSigned-off-by: Ran Wang <ran.wang_1@nxp.com>\n---\nChange in v3:\n\t- Add more explaination to commit message.\n\nChange in v2:\n\t- Update commit subject to make it clearer\n\n arch/arm/cpu/armv8/fsl-layerscape/Kconfig              | 1 +\n arch/arm/cpu/armv8/fsl-layerscape/soc.c                | 4 ++++\n arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 2 ++\n 3 files changed, 7 insertions(+)",
    "diff": "diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig\nindex 8ecd095c76..fc4e866f1e 100644\n--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig\n+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig\n@@ -48,6 +48,7 @@ config ARCH_LS1028A\n \tselect SYS_I2C_MXC_I2C6\n \tselect SYS_I2C_MXC_I2C7\n \tselect SYS_I2C_MXC_I2C8\n+\tselect SYS_FSL_ERRATUM_A008997\n \tselect SYS_FSL_ERRATUM_A009007\n \tselect SYS_FSL_ERRATUM_A008514 if !TFABOOT\n \tselect SYS_FSL_ERRATUM_A009663 if !TFABOOT\ndiff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c\nindex 06f3edb302..f2392f0ebf 100644\n--- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c\n+++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c\n@@ -126,6 +126,10 @@ static void erratum_a008997(void)\n \tset_usb_pcstxswingfull(scfg, SCFG_USB3PRM2CR_USB2);\n \tset_usb_pcstxswingfull(scfg, SCFG_USB3PRM2CR_USB3);\n #endif\n+#elif defined(CONFIG_ARCH_LS1028A)\n+\tclrsetbits_le32(DCSR_BASE +  DCSR_USB_IOCR1,\n+\t\t\t0x7F << 11,\n+\t\t\tDCSR_USB_PCSTXSWINGFULL << 11);\n #endif\n #endif /* CONFIG_SYS_FSL_ERRATUM_A008997 */\n }\ndiff --git a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h\nindex dbf3215cb6..dd73de4a9a 100644\n--- a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h\n+++ b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h\n@@ -214,6 +214,8 @@\n #define USB_PHY_RX_EQ_VAL_2\t\t0x0080\n #define USB_PHY_RX_EQ_VAL_3\t\t0x0380\n #define USB_PHY_RX_EQ_VAL_4\t\t0x0b80\n+#define DCSR_USB_IOCR1\t\t\t0x108004\n+#define DCSR_USB_PCSTXSWINGFULL\t0x71\n \n #define TP_ITYP_AV\t\t0x00000001\t/* Initiator available */\n #define TP_ITYP_TYPE(x)\t(((x) & 0x6) >> 1)\t/* Initiator Type */\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "1/2"
    ]
}