get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1132166,
    "url": "http://patchwork.ozlabs.org/api/patches/1132166/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190715182110.21336-9-jagan@amarulasolutions.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": "<20190715182110.21336-9-jagan@amarulasolutions.com>",
    "list_archive_url": null,
    "date": "2019-07-15T18:21:03",
    "name": "[U-Boot,v3,08/15] ram: rk3399: s/ca_tsel_wr_select_p/tsel_wr_select_ca_p",
    "commit_ref": "30bd86a399a0d6af2307ee2eb035ac93ff571b93",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d4655d62a0e3541671b40023a192df49d01b118d",
    "submitter": {
        "id": 69820,
        "url": "http://patchwork.ozlabs.org/api/people/69820/?format=api",
        "name": "Jagan Teki",
        "email": "jagan@amarulasolutions.com"
    },
    "delegate": {
        "id": 93623,
        "url": "http://patchwork.ozlabs.org/api/users/93623/?format=api",
        "username": "kevery",
        "first_name": "Kever",
        "last_name": "Yang",
        "email": "ykai007@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190715182110.21336-9-jagan@amarulasolutions.com/mbox/",
    "series": [
        {
            "id": 119571,
            "url": "http://patchwork.ozlabs.org/api/series/119571/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=119571",
            "date": "2019-07-15T18:20:55",
            "name": "ram: rk3399: Code cleanup",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/119571/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1132166/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1132166/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; dmarc=none (p=none dis=none)\n\theader.from=amarulasolutions.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=amarulasolutions.com\n\theader.i=@amarulasolutions.com header.b=\"bZMfoeuf\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45nX590P1Sz9s3l\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 16 Jul 2019 04:25:17 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid B467AC21F99; Mon, 15 Jul 2019 18:23:48 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 595A1C21F52;\n\tMon, 15 Jul 2019 18:22:28 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 948ECC21FA6; Mon, 15 Jul 2019 18:21:54 +0000 (UTC)",
            "from mail-pg1-f196.google.com (mail-pg1-f196.google.com\n\t[209.85.215.196])\n\tby lists.denx.de (Postfix) with ESMTPS id EACF0C21F0F\n\tfor <u-boot@lists.denx.de>; Mon, 15 Jul 2019 18:21:49 +0000 (UTC)",
            "by mail-pg1-f196.google.com with SMTP id g15so8114375pgi.4\n\tfor <u-boot@lists.denx.de>; Mon, 15 Jul 2019 11:21:49 -0700 (PDT)",
            "from localhost.localdomain ([49.206.201.107])\n\tby smtp.gmail.com with ESMTPSA id\n\tl15sm18152405pgf.5.2019.07.15.11.21.45\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 15 Jul 2019 11:21:47 -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=RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=amarulasolutions.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=bP5RUNOPzdBiXN4Wuu7IIKjZLRMU38B7qIBozOuu1g8=;\n\tb=bZMfoeuf5sba30If4+SZWgFLDW7XluxsElc+Y097WZt4krLE/bDfHKjR9hk1zmyU3W\n\tSAb92UuKJwLF+khdfApRvIQIoX4Mqjs/jtGE7AzV/xhKTbGuxrjcXQRcHz4WbfN3mG5h\n\theZbDeQk3/W72toBHMmtyF9lqLSe2N0rW847g=",
        "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:mime-version:content-transfer-encoding;\n\tbh=bP5RUNOPzdBiXN4Wuu7IIKjZLRMU38B7qIBozOuu1g8=;\n\tb=APKNKIdkBSX+V2Djqa5jIjRPcUTqIz4VCa2Sv0k69gP56rjpqy34D2V0JrXJMT1CS0\n\ttFw1t8Bb5C31C0hLV8JwFp0GvUU2cfSNyssZQ4GKmYEzxlzb6NrWUnkNrQ1w9ls9z+jH\n\t/iIHLevic8JYVpOGqSLUcWL1+ufbeoI8leRvTx5taXDls/BwcLS0gKUp0QNs0O7X+JE6\n\tngy3E/6gGNH2J14SCIjU8jZyNxc4FmZhWWi+qBTwJh+OGoVp3Xv0jnrMtNXa+4712xM1\n\tjOz2OYdKRGsPRq7GW2pWKS3uroIg4I7HaNrQAZ9vRiysdt9AmbtVxwlUle14vOSmqaj1\n\txHjg==",
        "X-Gm-Message-State": "APjAAAW/McQToBSN+De/7jISV0T+tknxKAckIV1rEgqyEFFpuW6f96mh\n\tvRFs44FqzKpbOEcoMF1WFBJTug==",
        "X-Google-Smtp-Source": "APXvYqyDGsE9i7HAdAC0HoIN4G517WUpxdBTnVuKhzQ3apbb2Y465vjr8Sv6CcyUfTlyec4aR/+Zeg==",
        "X-Received": "by 2002:a65:5c0a:: with SMTP id\n\tu10mr28580554pgr.410.1563214908423; \n\tMon, 15 Jul 2019 11:21:48 -0700 (PDT)",
        "From": "Jagan Teki <jagan@amarulasolutions.com>",
        "To": "Simon Glass <sjg@chromium.org>,\n\tPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>,\n\tKever Yang <kever.yang@rock-chips.com>,\n\tYouMin Chen <cym@rock-chips.com>, u-boot@lists.denx.de",
        "Date": "Mon, 15 Jul 2019 23:51:03 +0530",
        "Message-Id": "<20190715182110.21336-9-jagan@amarulasolutions.com>",
        "X-Mailer": "git-send-email 2.18.0.321.gffc6fa0e3",
        "In-Reply-To": "<20190715182110.21336-1-jagan@amarulasolutions.com>",
        "References": "<20190715182110.21336-1-jagan@amarulasolutions.com>",
        "MIME-Version": "1.0",
        "Cc": "linux-rockchip@lists.infradead.org, gajjar04akash@gmail.com,\n\tlinux-amarula@amarulasolutions.com,\n\tManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>",
        "Subject": "[U-Boot] [PATCH v3 08/15] ram: rk3399:\n\ts/ca_tsel_wr_select_p/tsel_wr_select_ca_p",
        "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>",
        "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": "Rename ca_tsel_wr_select_p to tsel_wr_select_ca_p based\non the bsp code.\n\nNo functionality change.\n\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\nSigned-off-by: YouMin Chen <cym@rock-chips.com>\n---\n drivers/ram/rockchip/sdram_rk3399.c | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c\nindex bdb46a0128..8a983f9bb1 100644\n--- a/drivers/ram/rockchip/sdram_rk3399.c\n+++ b/drivers/ram/rockchip/sdram_rk3399.c\n@@ -160,14 +160,14 @@ static void set_ds_odt(const struct chan_info *chan,\n \n \tu32 tsel_idle_en, tsel_wr_en, tsel_rd_en;\n \tu32 tsel_idle_select_p, tsel_wr_select_dq_p, tsel_rd_select_p;\n-\tu32 ca_tsel_wr_select_p, tsel_wr_select_ca_n;\n+\tu32 tsel_wr_select_ca_p, tsel_wr_select_ca_n;\n \tu32 tsel_idle_select_n, tsel_wr_select_dq_n, tsel_rd_select_n;\n \tu32 reg_value;\n \n \tif (params->base.dramtype == LPDDR4) {\n \t\ttsel_rd_select_p = PHY_DRV_ODT_HI_Z;\n \t\ttsel_wr_select_dq_p = PHY_DRV_ODT_40;\n-\t\tca_tsel_wr_select_p = PHY_DRV_ODT_40;\n+\t\ttsel_wr_select_ca_p = PHY_DRV_ODT_40;\n \t\ttsel_idle_select_p = PHY_DRV_ODT_HI_Z;\n \n \t\ttsel_rd_select_n = PHY_DRV_ODT_240;\n@@ -177,7 +177,7 @@ static void set_ds_odt(const struct chan_info *chan,\n \t} else if (params->base.dramtype == LPDDR3) {\n \t\ttsel_rd_select_p = PHY_DRV_ODT_240;\n \t\ttsel_wr_select_dq_p = PHY_DRV_ODT_34_3;\n-\t\tca_tsel_wr_select_p = PHY_DRV_ODT_48;\n+\t\ttsel_wr_select_ca_p = PHY_DRV_ODT_48;\n \t\ttsel_idle_select_p = PHY_DRV_ODT_240;\n \n \t\ttsel_rd_select_n = PHY_DRV_ODT_HI_Z;\n@@ -187,7 +187,7 @@ static void set_ds_odt(const struct chan_info *chan,\n \t} else {\n \t\ttsel_rd_select_p = PHY_DRV_ODT_240;\n \t\ttsel_wr_select_dq_p = PHY_DRV_ODT_34_3;\n-\t\tca_tsel_wr_select_p = PHY_DRV_ODT_34_3;\n+\t\ttsel_wr_select_ca_p = PHY_DRV_ODT_34_3;\n \t\ttsel_idle_select_p = PHY_DRV_ODT_240;\n \n \t\ttsel_rd_select_n = PHY_DRV_ODT_240;\n@@ -228,7 +228,7 @@ static void set_ds_odt(const struct chan_info *chan,\n \tclrsetbits_le32(&denali_phy[391], 0xffffff, reg_value);\n \n \t/* phy_adr_tsel_select_ 8bits DENALI_PHY_544/672/800 offset_0 */\n-\treg_value = tsel_wr_select_ca_n | (ca_tsel_wr_select_p << 0x4);\n+\treg_value = tsel_wr_select_ca_n | (tsel_wr_select_ca_p << 0x4);\n \tclrsetbits_le32(&denali_phy[544], 0xff, reg_value);\n \tclrsetbits_le32(&denali_phy[672], 0xff, reg_value);\n \tclrsetbits_le32(&denali_phy[800], 0xff, reg_value);\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "08/15"
    ]
}