get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194671,
    "url": "http://patchwork.ozlabs.org/api/patches/2194671/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260209-mtk-mach-clean-up-duplicates-v2-4-e3b22282c74d@baylibre.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": "<20260209-mtk-mach-clean-up-duplicates-v2-4-e3b22282c74d@baylibre.com>",
    "list_archive_url": null,
    "date": "2026-02-09T16:39:29",
    "name": "[v2,4/7] arm: mediatek: make mtk_pll_early_init() static",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f9297eb415648200b0e79d8a39d889e22b65d7e4",
    "submitter": {
        "id": 87228,
        "url": "http://patchwork.ozlabs.org/api/people/87228/?format=api",
        "name": "David Lechner",
        "email": "dlechner@baylibre.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260209-mtk-mach-clean-up-duplicates-v2-4-e3b22282c74d@baylibre.com/mbox/",
    "series": [
        {
            "id": 491533,
            "url": "http://patchwork.ozlabs.org/api/series/491533/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=491533",
            "date": "2026-02-09T16:39:25",
            "name": "arm: mediatek: clean up some redundant board init",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/491533/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194671/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194671/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=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=zR1CX3n9;\n\tdkim-atps=neutral",
            "legolas.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=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=baylibre.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=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.b=\"zR1CX3n9\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=baylibre.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=dlechner@baylibre.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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f8rqZ2Ty3z1xvc\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 10 Feb 2026 04:12:58 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 3130C83CD3;\n\tMon,  9 Feb 2026 18:12:18 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 95BBE839A5; Mon,  9 Feb 2026 17:40:29 +0100 (CET)",
            "from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com\n [IPv6:2607:f8b0: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 7C90680325\n for <u-boot@lists.denx.de>; Mon,  9 Feb 2026 17:40:27 +0100 (CET)",
            "by mail-ot1-x32e.google.com with SMTP id\n 46e09a7af769-7cfd65ea639so2987789a34.0\n for <u-boot@lists.denx.de>; Mon, 09 Feb 2026 08:40:27 -0800 (PST)",
            "from [127.0.1.1] ([2600:8803:e7e4:500:cee0:eb0c:b683:ad1d])\n by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7d464785d7esm7731139a34.15.2026.02.09.08.40.25\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 09 Feb 2026 08:40:25 -0800 (PST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1770655226;\n x=1771260026;\n darn=lists.denx.de;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n :reply-to; bh=WJkcOzgvtdS3lgvKIiIH0Y2i+93555r5yUco8FDXnwU=;\n b=zR1CX3n92GNOYlp+k6FsrV4p9uhXMdMnHt7j3ocy3Wa0srSQloW+JiiK4ifgiwnn1w\n mGiO6wJ1zNYPI4HpOXbzIpzlAri4zVKRpn5uAOF3ANiOJ+u8EBJU5MqiG+Ramt8gvWNZ\n zDoMFIyGngp4oPwSxkHv+Hoh38jL4woSqz4ngblT9ymDgovxq5q5RFWF2zOFIxoHipHi\n tx8L4hOzHUsPqnoIbDiRNg2SA5tb4+H8steR7RIOGZjzXJnt/KHjyh6LRD9kk0JMl8E6\n LGQjWpDXS7xqf3FPF9U/rU4GeQgbLPCEVLwmSm+/HFdImCl94TcXdaqX86F9T6izrQ9y\n YDIA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770655226; x=1771260026;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=WJkcOzgvtdS3lgvKIiIH0Y2i+93555r5yUco8FDXnwU=;\n b=GdJsEquqXAofEmGFHwqFE1YP1ueaETU/KgPcMG7PYmRM8fH9SCzGM/vVruQqTOvt0s\n ud3SRfKfWm17+oExCz3xZrlLf4bDxcUDqO1Mx65Edif0Lm6ef2gZZoCuj/WCS/BwPcbR\n 3kNm7YN8zAQ6VgaZgRwgig83Fi07Pu3AlwCpTCKmPStrGSIvmGPIAh3v+E/NS1QMT4AB\n l1NL+rJolw0nAW4NkWEn5RIQ8F03ksq0cxlggvm69PRAgQRSLS1ypFJWWiW039w0Azhd\n sdIPB1xwlCSXn/pgecs37ZeIPUIggZaoa7ihAO3cj+Tu3EcazlTnfITycBskGLq1ulsW\n 0xVg==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCWkwqUnsVMVHme2hvtD43dKaCd01m8+gxHvKzAoXeVtD61m23DANyF9CLpfG/4fIbjfoqGOtqc=@lists.denx.de",
        "X-Gm-Message-State": "AOJu0YwJFQVKO6Zt7iK8kYdv/9XiTkzoJ5/RpMnWEbHGSb7S2nCqW/Mf\n ti13R+9j/CRzCde+cozCsbN5jIOq1kzbdCT7WD9h5bua1n9BGIn9N39fT6cRxcq4kvw=",
        "X-Gm-Gg": "AZuq6aK5YN2rQVJHJInWUPShVyj4y8x8N+zP0GMi2cWQMTYZgwX5P/9LMv58XNqZxMY\n jP4/bKZLFVM+ES59Rctcf5WZpAbHJQCxorYAoGiabz8Syk6sUw7macH+/bXJ7TVo3tfigNScIEJ\n sW2XHZD+0+YZ666rZIIFueZS60p7GsG2wExe8mgfNGX5WjGsdNy3jfL/zqV74WEx5kcbtMhipXp\n bfrQLdUu1uvGSxc75UworBzR6c9JalRRdFiahB5dSpcnW9wTxPf/HbsVyyp7KfQAB0/lS0uTsSR\n uBvDe44T2MFhfX8eLOH8PclfaGA3A2YjTUoMiDH8zSqp+aCSodHlgYigLGiOYOdOzUthktiDt1q\n /t6l77RW7ANJaRBCFwRu6zvi4M8A3a3cN1Th3WYIuEFi8gNPiXkZEj0YkZVZO/k9Q5mSJ3pWJGD\n 2tJuCESWwy25sYm3o=",
        "X-Received": "by 2002:a05:6830:6202:b0:7cf:d784:5ca with SMTP id\n 46e09a7af769-7d46447854emr4849096a34.19.1770655226228;\n Mon, 09 Feb 2026 08:40:26 -0800 (PST)",
        "From": "David Lechner <dlechner@baylibre.com>",
        "Date": "Mon, 09 Feb 2026 10:39:29 -0600",
        "Subject": "[PATCH v2 4/7] arm: mediatek: make mtk_pll_early_init() static",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "\n <20260209-mtk-mach-clean-up-duplicates-v2-4-e3b22282c74d@baylibre.com>",
        "References": "\n <20260209-mtk-mach-clean-up-duplicates-v2-0-e3b22282c74d@baylibre.com>",
        "In-Reply-To": "\n <20260209-mtk-mach-clean-up-duplicates-v2-0-e3b22282c74d@baylibre.com>",
        "To": "Tom Rini <trini@konsulko.com>, Ryder Lee <ryder.lee@mediatek.com>,\n Weijie Gao <weijie.gao@mediatek.com>,\n Chunfeng Yun <chunfeng.yun@mediatek.com>,\n Igor Belwon <igor.belwon@mentallysanemainliners.org>,\n GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>",
        "Cc": "Julien Stephan <jstephan@baylibre.com>,\n Arnaud Ferraris <arnaud.ferraris@collabora.com>, u-boot@lists.denx.de,\n David Lechner <dlechner@baylibre.com>",
        "X-Mailer": "b4 0.14.3",
        "X-Developer-Signature": "v=1; a=openpgp-sha256; l=1170; i=dlechner@baylibre.com;\n h=from:subject:message-id;\n bh=BFjqKadARI0vggSmPYWo8UBjOg9AZyvkdYViC5PTO1w=;\n b=owEBhAF7/pANAwAKAcLMIAH/AY/AAcsmYgBpig3c/RAk20JUMo1CiXv6g5ue/Ckb3GTijHgZo\n 7+0ytPG+O6JAUoEAAEKADQWIQTsGNmeYg6D1pzYaJjCzCAB/wGPwAUCaYoN3BYcZGxlY2huZXJA\n YmF5bGlicmUuY29tAAoJEMLMIAH/AY/AxSQH+wUuxl2toJO5P2pT4rDePHF4p0pmF0jkSWQLd/K\n FBIiawisglgvUarUcITi1Vxymh+ZpunE0O1E9ICki7bm41LVX4ttURpyO/GGguKRNIOYzZnQmAO\n XkGqmMzAPBgayHwYfDr/MZB5tJTmBwAuNwdBudtmHEunJn1/TUcUIcAINngeaPz1tS9GgD8ge2B\n kXD2BkUAOghn5LE/soBq8KCvagsHMvXB9ZFOeSjUBgYD+XDF3PTxqoIMaBqfasKt763eOV7vLiU\n PkJ02iICDY1azHiJSKWGlLUek93T5g4hz5pZCb3KO5rl+w3SyZ+8pAODwDU8P3ivS+U7y4W0t6w\n Bfuk=",
        "X-Developer-Key": "i=dlechner@baylibre.com; a=openpgp;\n fpr=8A73D82A6A1F509907F373881F8AF88C82F77C03",
        "X-Mailman-Approved-At": "Mon, 09 Feb 2026 18:12:16 +0100",
        "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": "Make the mtk_pll_early_init() function static in several files. It is\nonly used within those files, so there is no need to have it in the\nglobal namespace.\n---\n arch/arm/mach-mediatek/mt7629/init.c | 2 +-\n arch/arm/mach-mediatek/mt8516/init.c | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/arch/arm/mach-mediatek/mt7629/init.c b/arch/arm/mach-mediatek/mt7629/init.c\nindex 7cb8b72c364..ff027ed03ef 100644\n--- a/arch/arm/mach-mediatek/mt7629/init.c\n+++ b/arch/arm/mach-mediatek/mt7629/init.c\n@@ -27,7 +27,7 @@\n \n DECLARE_GLOBAL_DATA_PTR;\n \n-int mtk_pll_early_init(void)\n+static int mtk_pll_early_init(void)\n {\n \tunsigned long pll_rates[] = {\n \t\t[CLK_APMIXED_ARMPLL] = 1250000000,\ndiff --git a/arch/arm/mach-mediatek/mt8516/init.c b/arch/arm/mach-mediatek/mt8516/init.c\nindex 892bd441a33..82f8c509745 100644\n--- a/arch/arm/mach-mediatek/mt8516/init.c\n+++ b/arch/arm/mach-mediatek/mt8516/init.c\n@@ -40,7 +40,7 @@ int dram_init_banksize(void)\n \treturn 0;\n }\n \n-int mtk_pll_early_init(void)\n+static int mtk_pll_early_init(void)\n {\n \tunsigned long pll_rates[] = {\n \t\t[CLK_APMIXED_ARMPLL] =   1300000000,\n",
    "prefixes": [
        "v2",
        "4/7"
    ]
}