get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1132684,
    "url": "http://patchwork.ozlabs.org/api/patches/1132684/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190716115745.12585-27-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": "<20190716115745.12585-27-jagan@amarulasolutions.com>",
    "list_archive_url": null,
    "date": "2019-07-16T11:57:14",
    "name": "[U-Boot,v3,26/57] ram: rk3399: Configure PHY_898, PHY_919 for lpddr4",
    "commit_ref": "009fe1bac96889bd5f10f8d7a3edf4f1ba125ff3",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "cca62aace834e8390d57366eb2cd9accf03d6788",
    "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/20190716115745.12585-27-jagan@amarulasolutions.com/mbox/",
    "series": [
        {
            "id": 119754,
            "url": "http://patchwork.ozlabs.org/api/series/119754/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=119754",
            "date": "2019-07-16T11:56:48",
            "name": "ram: rk3399: Add LPDDR4 support",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/119754/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1132684/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1132684/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=\"OMtEuoLB\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45nzkd0nk2z9sNf\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 16 Jul 2019 22:10:48 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid B5299C21E07; Tue, 16 Jul 2019 12:09:26 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 00C97C21DA6;\n\tTue, 16 Jul 2019 12:06:22 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 03A76C21E16; Tue, 16 Jul 2019 11:59:33 +0000 (UTC)",
            "from mail-pf1-f194.google.com (mail-pf1-f194.google.com\n\t[209.85.210.194])\n\tby lists.denx.de (Postfix) with ESMTPS id 256B6C21DED\n\tfor <u-boot@lists.denx.de>; Tue, 16 Jul 2019 11:59:30 +0000 (UTC)",
            "by mail-pf1-f194.google.com with SMTP id i189so9006907pfg.10\n\tfor <u-boot@lists.denx.de>; Tue, 16 Jul 2019 04:59:30 -0700 (PDT)",
            "from localhost.localdomain ([49.206.201.107])\n\tby smtp.gmail.com with ESMTPSA id\n\tz24sm36269566pfr.51.2019.07.16.04.59.25\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 16 Jul 2019 04:59:28 -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=uqu7PB29bSdtqH47pAusxbjypIHUbAZ//ch+/8e+yqE=;\n\tb=OMtEuoLBtLQGwzdO8h2/25rJASWHwHPT2fB14+/Up8z4IBNePRz8xB/dAfNl6kl50T\n\tE8fFft4hdHj1A6/srjv5xqlhDUgSrSNDXDeJs9RVn43noVolIFTs6Rb+QB/4UguFsen7\n\tJiOxs7l/SPG7xurTcUycIvbvGNDz7O26cgVaM=",
        "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=uqu7PB29bSdtqH47pAusxbjypIHUbAZ//ch+/8e+yqE=;\n\tb=eE+V0NAbSCqlPoUysRmymOh715PARZvOdZXcUjFXYqTY/PFPe0humAENnYIs+9vbZd\n\tfsIx+HW/ItsM2q4DO8seuqUdUfXr4/tu2uaa5jqITNY+EQXHheEb6Nd4fAwyiMBaHidT\n\tzX+BICZ1SrtdPeLZS8dr81ARMA5IcBFyEe90tZi9spNDOQ5Wbh6aWCiAJjWOq1MZiQEe\n\t8+0bGHySOXiptKWdjz2bGia/I+Wa2NNnieI5ygn4zDTiHxa/DhAPzlAW91Le/fyRQzKK\n\tVITTH86QjE3anJzNNEN5Gk4iV1wzWtYJ52sme9Egdbg60R9h1UqhPD9oO/sDDsAbeRYy\n\tfGFw==",
        "X-Gm-Message-State": "APjAAAXueZVmS15GJyke/8W+hH/NjiV8nNFBSm9HRq8wjleJob/RLvt/\n\t4qlmwSwkKs8wGbSW3DtGg1/wfA==",
        "X-Google-Smtp-Source": "APXvYqz2XWMoR0dXlSlHSbds1Bw1pP+7R8SUmytvPF20MPkJxaY9WxbdJGhnYj/Q+vH2DmNJAeFKWQ==",
        "X-Received": "by 2002:a17:90a:2506:: with SMTP id\n\tj6mr36804665pje.129.1563278368728; \n\tTue, 16 Jul 2019 04:59:28 -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": "Tue, 16 Jul 2019 17:27:14 +0530",
        "Message-Id": "<20190716115745.12585-27-jagan@amarulasolutions.com>",
        "X-Mailer": "git-send-email 2.18.0.321.gffc6fa0e3",
        "In-Reply-To": "<20190716115745.12585-1-jagan@amarulasolutions.com>",
        "References": "<20190716115745.12585-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 26/57] ram: rk3399: Configure PHY_898,\n\tPHY_919 for lpddr4",
        "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": "PHY_898, PHY_919 would require to configure PHY LP4 boot\npll control and ca for lpddr4.\n\nSo, configure the same in pctl_cfg for LPDDR4.\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 | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c\nindex beb4f6de54..7625506458 100644\n--- a/drivers/ram/rockchip/sdram_rk3399.c\n+++ b/drivers/ram/rockchip/sdram_rk3399.c\n@@ -574,6 +574,11 @@ static int pctl_cfg(struct dram_info *dram, const struct chan_info *chan,\n \twritel(params->phy_regs.denali_phy[911], &denali_phy[911]);\n \twritel(params->phy_regs.denali_phy[912], &denali_phy[912]);\n \n+\tif (IS_ENABLED(CONFIG_RAM_RK3399_LPDDR4)) {\n+\t\twritel(params->phy_regs.denali_phy[898], &denali_phy[898]);\n+\t\twritel(params->phy_regs.denali_phy[919], &denali_phy[919]);\n+\t}\n+\n \tdram->pwrup_srefresh_exit[channel] = readl(&denali_ctl[68]) &\n \t\t\t\t\t     PWRUP_SREFRESH_EXIT;\n \tclrbits_le32(&denali_ctl[68], PWRUP_SREFRESH_EXIT);\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "26/57"
    ]
}