get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2224442,
    "url": "http://patchwork.ozlabs.org/api/patches/2224442/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260416144426.12728-2-micbis.openwrt@gmail.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": "<20260416144426.12728-2-micbis.openwrt@gmail.com>",
    "list_archive_url": null,
    "date": "2026-04-16T14:44:25",
    "name": "[v2,1/2] regulator: rzg2l: implement connectivity notification",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "8dadde787886e428ff41151ccc2b4558000efed1",
    "submitter": {
        "id": 93164,
        "url": "http://patchwork.ozlabs.org/api/people/93164/?format=api",
        "name": "Michele Bisogno",
        "email": "micbis.openwrt@gmail.com"
    },
    "delegate": {
        "id": 1699,
        "url": "http://patchwork.ozlabs.org/api/users/1699/?format=api",
        "username": "marex",
        "first_name": "Marek",
        "last_name": "Vasut",
        "email": "marek.vasut@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260416144426.12728-2-micbis.openwrt@gmail.com/mbox/",
    "series": [
        {
            "id": 500323,
            "url": "http://patchwork.ozlabs.org/api/series/500323/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500323",
            "date": "2026-04-16T14:44:24",
            "name": "This is version 2 of the RZ/G2L support.",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/500323/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2224442/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2224442/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=SePKLmqN;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.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=gmail.com header.i=@gmail.com header.b=\"SePKLmqN\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=micbis.openwrt@gmail.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fxvhh6Qz5z1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 22:44:20 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E10A78426C;\n\tFri, 17 Apr 2026 14:43:59 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 8D09984201; Thu, 16 Apr 2026 16:45:05 +0200 (CEST)",
            "from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com\n [IPv6:2a00:1450:4864:20::32e])\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 9EF50841C2\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 16:45:03 +0200 (CEST)",
            "by mail-wm1-x32e.google.com with SMTP id\n 5b1f17b1804b1-48374014a77so105949725e9.3\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 07:45:03 -0700 (PDT)",
            "from localhost.localdomain ([151.70.144.55])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-488f58163cbsm58756775e9.1.2026.04.16.07.45.01\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 16 Apr 2026 07:45:01 -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=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,FREEMAIL_FROM,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776350703; x=1776955503; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=wuAzHK5KC8yD7Za8YXNhQGv4356/N2bl4iAgmIWEcuw=;\n b=SePKLmqNraknXWLg0gf1oNyVZqleOvUtjJZ7RNxhdz0PHgDOEiJBiwXfVk8JREM9eY\n axS/bH/yMGbpA+WEkkF5G9QkSSjg/bSf+BS/ATSG5whai4O1gGIsBCP1OSx2vwbb4nOA\n mHsH1zIin0Izr0WMPllZqEkLIMZNmUZLhKCtf4j+DLnjK3WWGawE4sfcWjY5J4oHRPVG\n 2L85aOQv82Ma6hp2/M+hoLOyP3AZSGnErHYZycnlrVG+q1RAi8zZB0DbliFHWtNg4Vwy\n dru1IjO0HKNq7rA+rhxHyLZpBXt+Ng4+Z2NmbeRHjbAXCfMOJtkUCi9KuuvsBHJVJhh/\n ShYQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776350703; x=1776955503;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=wuAzHK5KC8yD7Za8YXNhQGv4356/N2bl4iAgmIWEcuw=;\n b=p+AFWH5gEOkP+mUs7N6ZbkZ/FvM0HT0jXH6tS7GIOhr2stfPQf3sL6VlE9ms+7Kqth\n Ez9pMJD/mBT1XTZwppy+3+6i29kpFMCXSZHRzYCs+BcyX5yeWiKUOvSfsnzDICRtZncQ\n jjY0PbA5lYG/Bk72oWtVFavwTkbTEceW+ozhbAh403HE+JVnjSkJZ6vz1BQNxDsq/n6A\n RuhheQsEw2mC+Ijv6gq5Tlf0DD6kko/5gKwCqwDH9iUqjBJ9lIXtEUIi3p3ZWbxpMgRC\n +8jc0QZKuEM4Og69kPXUuTDmOTW39G4HiSQmjEiMrBjt6wWX0ONZzfitbhSqBrcHR5w2\n sDoA==",
        "X-Gm-Message-State": "AOJu0YzBtQW6fnG5f2kMbB0UWRnuyd7BAFzFw0l0nozhZ8mojc2SSN0P\n 0djSKpTaXQw7oOehcaj65sHsoNcY6uZP/SxmPeoWrHwBXA4H/peTUbwYZAV4UnFfYys=",
        "X-Gm-Gg": "AeBDietMavSf51QI7lsHEKJCok3Lol+VxRP1wtHMckGXPVAk4RyzqJaF8FQBXXBD/HU\n m/SEhj+P70h52L6b+ZF159X9Bs8JnVrayG98gxKCOZXGjFGPoXVm3fMCFBkJ7f7JG+30Js7PAJF\n lOBLZ4gcvzlMUa3CHN4KZfjNZKNbLFo34r7gwpIDv8T0X3xbWzPVwwD/5nLsMd8YU7FnHVjTdfA\n oBAQXMf4HgBu39OfDpkkzmscYnXWBqHwO9CAfyfPmVRvV7aHWmvBNel6xXsAy+Ln2nyBwAz8+H/\n TgMO45IasruycWG0S8d0FnLYhwG2rxaGj2LyBQGXIKRhhZzi5DZ61gKU7+W7ihQpLxFHJP+tveo\n 33Wxt+9LEU6k66onHnMFIoEqslEu9H0DUmi5CKSsGaBcYY6tTF8KBRmRZOVPPmcf5blxH0Sq17/\n GHCo867ZJAMQzDpCFlK5Jjrz1WZFhB3pLWL7uo7UM8",
        "X-Received": "by 2002:a05:600c:1391:b0:486:fe23:1707 with SMTP id\n 5b1f17b1804b1-488d687116amr373059095e9.20.1776350702343;\n Thu, 16 Apr 2026 07:45:02 -0700 (PDT)",
        "From": "Michele Bisogno <micbis.openwrt@gmail.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "marek.vasut+renesas@mailbox.org, paul@pbarker.dev, jh80.chung@samsung.com,\n peng.fan@nxp.com, lukma@denx.de, mkorpershoek@kernel.org,\n trini@konsulko.com, Michele Bisogno <micbis.openwrt@gmail.com>",
        "Subject": "[PATCH v2 1/2] regulator: rzg2l: implement connectivity notification",
        "Date": "Thu, 16 Apr 2026 16:44:25 +0200",
        "Message-Id": "<20260416144426.12728-2-micbis.openwrt@gmail.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260416144426.12728-1-micbis.openwrt@gmail.com>",
        "References": "<20260416144426.12728-1-micbis.openwrt@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Fri, 17 Apr 2026 14:43:59 +0200",
        "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.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "Implement CON_CTRL manual connectivity notification.\nBy setting SEL_CONNECT and CONNECT_1, the UTM+ core is notified of\nconnection status in peripheral mode.\n---\n drivers/power/regulator/rzg2l-usbphy-regulator.c | 10 ++++++++--\n 1 file changed, 8 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/power/regulator/rzg2l-usbphy-regulator.c b/drivers/power/regulator/rzg2l-usbphy-regulator.c\nindex 0354555d0b5..03f8dec4f08 100644\n--- a/drivers/power/regulator/rzg2l-usbphy-regulator.c\n+++ b/drivers/power/regulator/rzg2l-usbphy-regulator.c\n@@ -9,16 +9,22 @@\n #include <renesas/rzg2l-usbphy.h>\n \n #define VBENCTL\t\t\t0x03c\n+#define CON_CTRL\t\t0x020\n #define VBENCTL_VBUS_SEL\tBIT(0)\n+#define SEL_CONNECT\t\tBIT(4)\n+#define CONNECT_1\t\tBIT(0)\n \n static int rzg2l_usbphy_regulator_set_enable(struct udevice *dev, bool enable)\n {\n \tstruct rzg2l_usbphy_ctrl_priv *priv = dev_get_priv(dev->parent);\n \n-\tif (enable)\n+\tif (enable) {\n \t\tclrbits_le32(priv->regs + VBENCTL, VBENCTL_VBUS_SEL);\n-\telse\n+\t\tsetbits_le32(priv->regs + CON_CTRL, SEL_CONNECT | CONNECT_1);\n+\t} else {\n \t\tsetbits_le32(priv->regs + VBENCTL, VBENCTL_VBUS_SEL);\n+\t\tclrbits_le32(priv->regs + CON_CTRL, SEL_CONNECT | CONNECT_1);\n+\t}\n \n \treturn 0;\n }\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}