get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1132697,
    "url": "http://patchwork.ozlabs.org/api/patches/1132697/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190716115745.12585-38-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-38-jagan@amarulasolutions.com>",
    "list_archive_url": null,
    "date": "2019-07-16T11:57:25",
    "name": "[U-Boot,v3,37/57] ram: rk3399: Get lpddr4 tsel_rd_en from io settings",
    "commit_ref": "4eceda01d5df9d90d6402dfd5fcf1bcc9c5c00e6",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c4702688cb4ea80ea13118c7bfd94df008dfd6b2",
    "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-38-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/1132697/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1132697/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=\"jVR8wFlm\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45nznP5kKrz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 16 Jul 2019 22:13:13 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 5CAE1C21E52; Tue, 16 Jul 2019 12:03:38 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 462C2C21E39;\n\tTue, 16 Jul 2019 12:01:08 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 685ACC21E38; Tue, 16 Jul 2019 12:00:13 +0000 (UTC)",
            "from mail-pl1-f195.google.com (mail-pl1-f195.google.com\n\t[209.85.214.195])\n\tby lists.denx.de (Postfix) with ESMTPS id 892F9C21E3B\n\tfor <u-boot@lists.denx.de>; Tue, 16 Jul 2019 12:00:09 +0000 (UTC)",
            "by mail-pl1-f195.google.com with SMTP id c14so9986026plo.0\n\tfor <u-boot@lists.denx.de>; Tue, 16 Jul 2019 05:00:09 -0700 (PDT)",
            "from localhost.localdomain ([49.206.201.107])\n\tby smtp.gmail.com with ESMTPSA id\n\tz24sm36269566pfr.51.2019.07.16.05.00.04\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 16 Jul 2019 05:00:07 -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=58XLNuDyUTU9lKLmcFIrRJzh/d2o9C03p3D5LTCflwA=;\n\tb=jVR8wFlmPsDrXd8SngNSRsyWJjgalB/JejjWD736YdhtiXmAYJ60miT9pOLP9CbWLg\n\tBy0T05brwYGn93kg6rLNh35dslHbzR4PO83EeMt2YvNK+VAnbSmbmPmWTkHiezYxmtjZ\n\tSuNmsPHpFmoCs7YXCJEjA++C7YkX3fLigkrqA=",
        "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=58XLNuDyUTU9lKLmcFIrRJzh/d2o9C03p3D5LTCflwA=;\n\tb=rY/1H6BVyeU7RhByJIQudAzXr8B+JHKUkRNrELvZiRVZwmK8R9pX2hw7SvG3MHhoR/\n\trBeq1bK8udLbpXwpRAUhR0Kc3ZW9aYHE+SjU4iYUC5Ef0k9jybBteSVyDz2t/dH4mqvI\n\t2pBonFR3Bm0bdzrxTk2GZYBsaYxD/xNUfobG8jOpB13S7WS7CiGMkuL7x++DpZi2vOSP\n\tqsxYiNHtIg28HmoEaW3p3jaImO4Z91HZcPmQv5aaf4h2C5B0doEJ041QcxI3JWiSejhv\n\tBYIABDSVN0IWeQF08uP0w1+GBxXRkzyV6dsD6e1wc5EODSxlJlMWFtpC4Ddx864S+g8j\n\t0UmQ==",
        "X-Gm-Message-State": "APjAAAUErL8pCZzHHd7lOInHIXviUiJUmJKaTZJuW+8zsQDFZqE0oo+C\n\tD0Kd3lGXxaSWVL2rLDCuozCPXA==",
        "X-Google-Smtp-Source": "APXvYqwDi695rkeTM06MuCsUHVIU5orw2yY2Noh9Vml4k5Gf63ph18dlRY6R0x6Z9ozUkcZofY6O1Q==",
        "X-Received": "by 2002:a17:902:8509:: with SMTP id\n\tbj9mr35076461plb.79.1563278408205; \n\tTue, 16 Jul 2019 05:00:08 -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:25 +0530",
        "Message-Id": "<20190716115745.12585-38-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 37/57] ram: rk3399: Get lpddr4 tsel_rd_en from\n\tio settings",
        "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": "For base.odt 1 the lpddr4 tsel_rd_en value is depending\non IO settings of rd_odt_en.\n\nAdd support for it.\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 | 8 ++++++--\n 1 file changed, 6 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c\nindex e0be9d2485..9e40880835 100644\n--- a/drivers/ram/rockchip/sdram_rk3399.c\n+++ b/drivers/ram/rockchip/sdram_rk3399.c\n@@ -645,10 +645,14 @@ static void set_ds_odt(const struct chan_info *chan,\n \t\ttsel_ckcs_select_n = PHY_DRV_ODT_34_3;\n \t}\n \n-\tif (params->base.odt == 1)\n+\tif (params->base.odt == 1) {\n \t\ttsel_rd_en = 1;\n-\telse\n+\n+\t\tif (params->base.dramtype == LPDDR4)\n+\t\t\ttsel_rd_en = io->rd_odt_en;\n+\t} else {\n \t\ttsel_rd_en = 0;\n+\t}\n \n \ttsel_wr_en = 0;\n \ttsel_idle_en = 0;\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "37/57"
    ]
}