get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2234879,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2234879/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260508082132.25476-5-Alexander.Feilke@ew.tq-group.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260508082132.25476-5-Alexander.Feilke@ew.tq-group.com>",
    "list_archive_url": null,
    "date": "2026-05-08T08:21:28",
    "name": "[4/8] rtc: pcf85063: add missing register definitions",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "979b648a10445fb4fb01c8123d5ac5c4bf3e8991",
    "submitter": {
        "id": 92142,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/92142/?format=api",
        "name": "Feilke, Alexander",
        "email": "Alexander.Feilke@ew.tq-group.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260508082132.25476-5-Alexander.Feilke@ew.tq-group.com/mbox/",
    "series": [
        {
            "id": 503347,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/503347/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=503347",
            "date": "2026-05-08T08:21:24",
            "name": "rtc: pcf85036: improve spec coherence and extend features",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/503347/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2234879/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2234879/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=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=ew.tq-group.com header.i=@ew.tq-group.com\n header.a=rsa-sha256 header.s=default2602 header.b=F+qFo6y0;\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=fail (p=quarantine dis=none) header.from=ew.tq-group.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=ew.tq-group.com header.i=@ew.tq-group.com\n header.b=\"F+qFo6y0\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=ew.tq-group.com",
            "phobos.denx.de; spf=pass\n smtp.mailfrom=Alexander.Feilke@ew.tq-group.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 4gBhty69g4z1yJq\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 18:22:34 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id DBE9084BD1;\n\tFri,  8 May 2026 10:21:49 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 1F52C84C22; Fri,  8 May 2026 10:21:47 +0200 (CEST)",
            "from www537.your-server.de (www537.your-server.de [188.40.3.216])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 45E0C84C18\n for <u-boot@lists.denx.de>; Fri,  8 May 2026 10:21:42 +0200 (CEST)",
            "from sslproxy06.your-server.de ([78.46.172.3])\n by www537.your-server.de with esmtpsa  (TLS1.3) tls TLS_AES_256_GCM_SHA384\n (Exim 4.96.2) (envelope-from <Alexander.Feilke@ew.tq-group.com>)\n id 1wLGSr-0005nv-2s; Fri, 08 May 2026 10:21:41 +0200",
            "from localhost ([127.0.0.1])\n by sslproxy06.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384\n (Exim 4.96) (envelope-from <Alexander.Feilke@ew.tq-group.com>)\n id 1wLGSs-000P5H-04; Fri, 08 May 2026 10:21:41 +0200"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS\n autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n d=ew.tq-group.com; s=default2602; h=Content-Transfer-Encoding:MIME-Version:\n References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:\n Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From:\n Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID;\n bh=Zo8mG7i99bZ4YgMJMlaxoPyxb790Z8FCGb3ysSiaAvY=; b=F+qFo6y0I/VSHv0YFEKoO2GiTK\n IPW3QX2aXJeZ7+riTAeFrYlXH8+SBUSa8aKqlC9LlfCtW3KuNWLx3gXBAWCX8hsykMOgyFXnbSGxn\n uCvVqqvraIlWG83DPup1o6T/k4VlmBL1DGdjeeTdCxqp+DAY2+4sht4G6YLfnKPTnIHQohooixdOf\n JOKGV8BxupUhL4tb2hxOgPKbs6sKxh0J20VG+T9icWWx2RNPTVpWw+Ts+PoePh2kCLCBNSSFDIf+s\n 1/PN4JJvZI8eRDd+TuO2IM1wlRZTegncdYcn08lH+JIsvL/7DOs9dq/WkpSv22ci4qAR42w/IFmik\n YBxEIUAA==;",
        "From": "Alexander Feilke <Alexander.Feilke@ew.tq-group.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "u-boot@ew.tq-group.com,\n Alexander Feilke <alexander.feilke@ew.tq-group.com>,\n Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH 4/8] rtc: pcf85063: add missing register definitions",
        "Date": "Fri,  8 May 2026 10:21:28 +0200",
        "Message-Id": "<20260508082132.25476-5-Alexander.Feilke@ew.tq-group.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260508082132.25476-1-Alexander.Feilke@ew.tq-group.com>",
        "References": "<20260508082132.25476-1-Alexander.Feilke@ew.tq-group.com>",
        "MIME-Version": "1.0",
        "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.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "From: Alexander Feilke <alexander.feilke@ew.tq-group.com>\n\nSync definitions from upstream linux v6.19.\n\nSigned-off-by: Alexander Feilke <alexander.feilke@ew.tq-group.com>\n---\n drivers/rtc/pcf85063.c | 26 ++++++++++++++++++++++++--\n 1 file changed, 24 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/rtc/pcf85063.c b/drivers/rtc/pcf85063.c\nindex 183a214a3e9..06c85d939e0 100644\n--- a/drivers/rtc/pcf85063.c\n+++ b/drivers/rtc/pcf85063.c\n@@ -11,11 +11,33 @@\n #include <dm/device_compat.h>\n \n #define PCF85063_REG_CTRL1\t\t0x00 /* status */\n-#define PCF85063_REG_CTRL1_SR\t\t0x58\n+#define PCF85063_REG_CTRL1_CAP_SEL\tBIT(0)\n+#define PCF85063_REG_CTRL1_STOP\t\tBIT(5)\n+#define PCF85063_REG_CTRL1_EXT_TEST\tBIT(7)\n+#define PCF85063_REG_CTRL1_SWR\t\t0x58 /* Software reset command */\n+\n+#define PCF85063_REG_CTRL2\t\t0x01\n+#define PCF85063_CTRL2_AF\t\tBIT(6)\n+#define PCF85063_CTRL2_AIE\t\tBIT(7)\n+\n+#define PCF85063_REG_OFFSET\t\t0x02\n+#define PCF85063_OFFSET_SIGN_BIT\t6\t/* 2's complement sign bit */\n+#define PCF85063_OFFSET_MODE\t\tBIT(7)\n+#define PCF85063_OFFSET_STEP0\t\t4340\n+#define PCF85063_OFFSET_STEP1\t\t4069\n+\n+#define PCF85063_REG_CLKO_F_MASK\t0x07 /* frequency mask */\n+#define PCF85063_REG_CLKO_F_32768HZ\t0x00\n+#define PCF85063_REG_CLKO_F_OFF\t\t0x07\n+\n+#define PCF85063_REG_RAM\t\t0x03\n \n #define PCF85063_REG_SC\t\t\t0x04 /* datetime */\n #define PCF85063_REG_SC_OS\t\t0x80\n \n+#define PCF85063_REG_ALM_S\t\t0x0b\n+#define PCF85063_AEN\t\t\tBIT(7)\n+\n static int pcf85063_get_time(struct udevice *dev, struct rtc_time *tm)\n {\n \tu8 regs[7];\n@@ -74,7 +96,7 @@ static int pcf85063_set_time(struct udevice *dev, const struct rtc_time *tm)\n \n static int pcf85063_reset(struct udevice *dev)\n {\n-\treturn dm_i2c_reg_write(dev, PCF85063_REG_CTRL1, PCF85063_REG_CTRL1_SR);\n+\treturn dm_i2c_reg_write(dev, PCF85063_REG_CTRL1, PCF85063_REG_CTRL1_SWR);\n }\n \n static int pcf85063_read(struct udevice *dev, unsigned int offset, u8 *buf,\n",
    "prefixes": [
        "4/8"
    ]
}