get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1644797,
    "url": "http://patchwork.ozlabs.org/api/patches/1644797/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20220617104726.158688-7-pan@semihalf.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": "<20220617104726.158688-7-pan@semihalf.com>",
    "list_archive_url": null,
    "date": "2022-06-17T10:47:21",
    "name": "[v3,06/11] misc: atsha204a: Increase wake delay by tWHI",
    "commit_ref": "73d88cf9719e505eedb389d117704f806e4747d1",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8e8ca7e3b73dc45b93c14ebfa0956b13a561b645",
    "submitter": {
        "id": 82560,
        "url": "http://patchwork.ozlabs.org/api/people/82560/?format=api",
        "name": "Paweł Anikiel",
        "email": "pan@semihalf.com"
    },
    "delegate": {
        "id": 88515,
        "url": "http://patchwork.ozlabs.org/api/users/88515/?format=api",
        "username": "simongoldschmidt",
        "first_name": "Simon",
        "last_name": "Goldschmidt",
        "email": "simon.k.r.goldschmidt@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20220617104726.158688-7-pan@semihalf.com/mbox/",
    "series": [
        {
            "id": 305278,
            "url": "http://patchwork.ozlabs.org/api/series/305278/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=305278",
            "date": "2022-06-17T10:47:15",
            "name": "Add Chameleon v3 support",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/305278/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1644797/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1644797/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": [
            "bilbo.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=semihalf.com header.i=@semihalf.com header.a=rsa-sha256\n header.s=google header.b=neBceN5y;\n\tdkim-atps=neutral",
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>)",
            "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=semihalf.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=semihalf.com header.i=@semihalf.com\n header.b=\"neBceN5y\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=semihalf.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=pan@semihalf.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (2048 bits))\n\t(No client certificate requested)\n\tby bilbo.ozlabs.org (Postfix) with ESMTPS id 4LPbPs71qKz9s5V\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Jun 2022 20:49:05 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id B3B688431E;\n\tFri, 17 Jun 2022 12:48:07 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 323D78440C; Fri, 17 Jun 2022 12:48:00 +0200 (CEST)",
            "from mail-lf1-x133.google.com (mail-lf1-x133.google.com\n [IPv6:2a00:1450:4864:20::133])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 3B4A4843D4\n for <u-boot@lists.denx.de>; Fri, 17 Jun 2022 12:47:53 +0200 (CEST)",
            "by mail-lf1-x133.google.com with SMTP id t25so6333778lfg.7\n for <u-boot@lists.denx.de>; Fri, 17 Jun 2022 03:47:53 -0700 (PDT)",
            "from panikiel.roam.corp.google.com\n (staticline-31-182-204-250.toya.net.pl. [31.182.204.250])\n by smtp.gmail.com with ESMTPSA id\n a17-20020ac25e71000000b00479342519e5sm592379lfr.210.2022.06.17.03.47.50\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 17 Jun 2022 03:47:51 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,\n T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no\n version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com;\n s=google;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=dabF5BEOiEFKUgRAOhf6bmuoFEWh/2PfWKkd6AIZa+g=;\n b=neBceN5yQdn7UNcEgcmz5j1/Zh3+GAl5U/MvRyoAZYjI/WnkxZZK3jkhSnsjan1dom\n iLe5vua21x3XhedsvHcGQyZxz2bDYvkXM2YF52AwdOzinfXrRVHC5keQXQcpLQHcdHGC\n VaR5Gd1shpNm6hkueiRWSvwj6ElUCG9N/hYPg1zSrmwofLm9zL9L9wSw02yFBDWqWYuF\n ox6voVXDrWSW7gjuSrW4uaVRdyxHYD4rTNcAo70tN7WqDn4x4P67ylFUkQxKT6fY9STh\n M++3EtjcWQYde27owJYlLGIMoB0+7eTCDL3VscWoUNIDoJWJdgPxJsEJU56sRL4iv1uw\n W2gQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=dabF5BEOiEFKUgRAOhf6bmuoFEWh/2PfWKkd6AIZa+g=;\n b=kCidMEsZ5UT3JtBJLaHhz/NYBKvyIEBvQcxjgubokCI3yla5xEhSrDykXI992I6yrE\n twYe7Vd0P4xepsCfxJeFTq77hLrBIrnpSIKVh3tE5uqOb2iAo/n2SeMzHC0/bNs+8Pez\n +/STTLYHWErYS5SJkgjbo+YWTTeBw84aEvF0m7l5gMWeW0iFsM7CYW1ExYBgCLkKEJeE\n Moq8sOJOffvRDK30Z1UvtUmp182CPcAFHQ6tg5DBM35Xk986fbMj+/TJRQyX5yDTtpAl\n si4SL9kaH+Se5dG+w4eNSbqV6b+0xd2w0dTVU47qarH9LrM8YvGfQW65LqEXfdf/7S2y\n HcnQ==",
        "X-Gm-Message-State": "AJIora9+I6dbbNg6I6mXvlSQ9vurDP08TqsJc5W552t+S0SnkUsMxpCS\n c2letBER9vHVQ445CPiGdqzuRQ==",
        "X-Google-Smtp-Source": "\n AGRyM1sCedJNKXYceZneoY45cC6/X/0B4LC49BJjTZ0TI6tfqMbEBWWgiMQ2L7xqeW/cgabMDvtl1g==",
        "X-Received": "by 2002:a05:6512:6c6:b0:47d:b651:daeb with SMTP id\n u6-20020a05651206c600b0047db651daebmr5104704lff.360.1655462872398;\n Fri, 17 Jun 2022 03:47:52 -0700 (PDT)",
        "From": "=?utf-8?q?Pawe=C5=82_Anikiel?= <pan@semihalf.com>",
        "To": "marex@denx.de, simon.k.r.goldschmidt@gmail.com, tien.fong.chee@intel.com,\n michal.simek@xilinx.com",
        "Cc": "u-boot@lists.denx.de, sjg@chromium.org, festevam@denx.de,\n jagan@amarulasolutions.com, andre.przywara@arm.com, narmstrong@baylibre.com,\n pbrobinson@gmail.com, tharvey@gateworks.com, paul.liu@linaro.org,\n christianshewitt@gmail.com, adrian.fiergolski@fastree3d.com,\n marek.behun@nic.cz, wd@denx.de, elly.siew.chin.lim@intel.com,\n upstream@semihalf.com, amstan@chromium.org,\n =?utf-8?q?Pawe=C5=82_Anikiel?= <pan@semihalf.com>",
        "Subject": "[PATCH v3 06/11] misc: atsha204a: Increase wake delay by tWHI",
        "Date": "Fri, 17 Jun 2022 12:47:21 +0200",
        "Message-Id": "<20220617104726.158688-7-pan@semihalf.com>",
        "X-Mailer": "git-send-email 2.36.1.476.g0c4daa206d-goog",
        "In-Reply-To": "<20220617104726.158688-1-pan@semihalf.com>",
        "References": "<20220617104726.158688-1-pan@semihalf.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://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 <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.5 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "From the ATSHA204A datasheet (document DS40002025A):\n\nWake: If SDA is held low for a period greater than tWLO, the device\nexits low-power mode and, after a delay of tWHI, is ready to receive\nI2C commands.\n\ntWHI value can be found in table 7-2.\n\nSigned-off-by: Paweł Anikiel <pan@semihalf.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\n---\n drivers/misc/atsha204a-i2c.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c\nindex aa6acf0f9a..81ecb5b617 100644\n--- a/drivers/misc/atsha204a-i2c.c\n+++ b/drivers/misc/atsha204a-i2c.c\n@@ -21,7 +21,8 @@\n #include <linux/bitrev.h>\n #include <u-boot/crc.h>\n \n-#define ATSHA204A_TWLO\t\t\t60\n+#define ATSHA204A_TWLO_US\t\t60\n+#define ATSHA204A_TWHI_US\t\t2500\n #define ATSHA204A_TRANSACTION_TIMEOUT\t100000\n #define ATSHA204A_TRANSACTION_RETRY\t5\n #define ATSHA204A_EXECTIME\t\t5000\n@@ -109,7 +110,7 @@ int atsha204a_wakeup(struct udevice *dev)\n \t\t\tcontinue;\n \t\t}\n \n-\t\tudelay(ATSHA204A_TWLO);\n+\t\tudelay(ATSHA204A_TWLO_US + ATSHA204A_TWHI_US);\n \n \t\tres = atsha204a_recv_resp(dev, &resp);\n \t\tif (res) {\n",
    "prefixes": [
        "v3",
        "06/11"
    ]
}