get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2228931,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228931/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260427135854.18496-8-angelo@kernel-space.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<20260427135854.18496-8-angelo@kernel-space.org>",
    "date": "2026-04-27T13:58:53",
    "name": "[v2,8/9] m68k: mcf5441x: create stub to use imx drivers",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "8c78e147ff11f7532c39222d4264e2be6d5eef30",
    "submitter": {
        "id": 85702,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/85702/?format=api",
        "name": "Angelo Dureghello",
        "email": "angelo@kernel-space.org"
    },
    "delegate": {
        "id": 14103,
        "url": "http://patchwork.ozlabs.org/api/1.1/users/14103/?format=api",
        "username": "spectrum",
        "first_name": "Angelo",
        "last_name": "Dureghello",
        "email": "sysamfw@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260427135854.18496-8-angelo@kernel-space.org/mbox/",
    "series": [
        {
            "id": 501654,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501654/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501654",
            "date": "2026-04-27T13:58:46",
            "name": "[v2,1/9] m68k: dts: mcf5441x: add mmc device for mcf5441x",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/501654/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2228931/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228931/checks/",
    "tags": {},
    "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 (1024-bit key;\n unprotected) header.d=kernel-space.org header.i=@kernel-space.org\n header.a=rsa-sha256 header.s=s1 header.b=R/hf+ONU;\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=reject dis=none) header.from=kernel-space.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=kernel-space.org header.i=@kernel-space.org\n header.b=\"R/hf+ONU\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=pass (p=reject dis=none)\n header.from=kernel-space.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=angelo@kernel-space.org"
        ],
        "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 4g44vn6zRXz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 00:00:21 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 565D784378;\n\tMon, 27 Apr 2026 15:59:16 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 46D51842CE; Mon, 27 Apr 2026 15:59:09 +0200 (CEST)",
            "from mail.kernel-space.org (v2202511311555398556.powersrv.de\n [46.38.245.6])\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 C7D48842F2\n for <u-boot@lists.denx.de>; Mon, 27 Apr 2026 15:59:01 +0200 (CEST)",
            "from archlinux (<unknown> [2a07:7e81:7daa:0:62cf:84ff:feee:627])\n by oreshnik (OpenSMTPD) with ESMTPSA id 70136f58\n (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);\n Mon, 27 Apr 2026 13:59:01 +0000 (UTC)"
        ],
        "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,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-space.org;\n s=s1; t=1777298341;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=vRVozhtsbMthbOmNYWaEBCVex49/y7yVLPGwUTGPU+s=;\n b=R/hf+ONUyVM8hbgRBTGMs9CyD9SUQ7/2GJMOw0sx+hofOvMTpHilfaR+W7DnHf9G/GBahv\n h6f6fUfL+Irr6V4k4GPF+8AzABn7mo2Q7DfWtGehmcIHfoQdgvcdHtKmvkoNBuC/6lQrKd\n VPLmDdTTDIvRpujhp9SpULE6N3VfXJM=",
        "From": "Angelo Dureghello <angelo@kernel-space.org>",
        "To": "trini@konsulko.com",
        "Cc": "visitorckw@gmail.com, u-boot@lists.denx.de, sjg@chromium.org,\n Angelo Dureghello <angelo@kernel-space.org>",
        "Subject": "[PATCH v2 8/9] m68k: mcf5441x: create stub to use imx drivers",
        "Date": "Mon, 27 Apr 2026 15:58:53 +0200",
        "Message-ID": "<20260427135854.18496-8-angelo@kernel-space.org>",
        "X-Mailer": "git-send-email 2.54.0",
        "In-Reply-To": "<20260427135854.18496-1-angelo@kernel-space.org>",
        "References": "<20260427135854.18496-1-angelo@kernel-space.org>",
        "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": "Some NXP imx hardware ip module as the esdhc controller are exactly the\nsame in some new ColdFire cpus. For the specific case, mcf5441x needs to\nuse the existing fsl_esdhc_imx.c driver for the esdhc device.\n\nCreate a stub to be able to use NXP \"imx\" serie drivers as the\nfsl_esdhc_imx in the ColdFire architecture.\n\nSigned-off-by: Angelo Dureghello <angelo@kernel-space.org>\n---\n arch/m68k/Kconfig                           |  1 +\n arch/m68k/include/asm/arch-mcf5445x/clock.h | 19 +++++++++++++++++\n arch/m68k/lib/Makefile                      |  1 +\n arch/m68k/lib/clock.c                       | 23 +++++++++++++++++++++\n 4 files changed, 44 insertions(+)\n create mode 100644 arch/m68k/include/asm/arch-mcf5445x/clock.h\n create mode 100644 arch/m68k/lib/clock.c",
    "diff": "diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig\nindex 6ce8f577e3a..00e89bd0a62 100644\n--- a/arch/m68k/Kconfig\n+++ b/arch/m68k/Kconfig\n@@ -62,6 +62,7 @@ config MCF5441x\n \tselect DM\n         select DM_SERIAL\n \tselect ARCH_COLDFIRE\n+\tselect CREATE_ARCH_SYMLINK\n \tbool\n \n config M680x0\ndiff --git a/arch/m68k/include/asm/arch-mcf5445x/clock.h b/arch/m68k/include/asm/arch-mcf5445x/clock.h\nnew file mode 100644\nindex 00000000000..10ceecafcea\n--- /dev/null\n+++ b/arch/m68k/include/asm/arch-mcf5445x/clock.h\n@@ -0,0 +1,19 @@\n+/* SPDX-License-Identifier: GPL-2.0+ */\n+/*\n+ * ColdFire clock support\n+ *\n+ * Copyright 2026 Kernelspace.\n+ * Angelo Dureghello <angelo@kernel-space.org>\n+ */\n+\n+#ifndef __CLOCK_H\n+#define __CLOCK_H\n+\n+/* Stub to use fsl/nxp drivers. */\n+enum mxc_clock {\n+\tMXC_ESDHC_CLK,\n+};\n+\n+int mxc_get_clock(enum mxc_clock clk);\n+\n+#endif /* __CLOCK_H */\ndiff --git a/arch/m68k/lib/Makefile b/arch/m68k/lib/Makefile\nindex cf93715637a..9ad67c4272c 100644\n--- a/arch/m68k/lib/Makefile\n+++ b/arch/m68k/lib/Makefile\n@@ -9,3 +9,4 @@ lib-$(CONFIG_USE_PRIVATE_LIBGCC) += lshrdi3.o muldi3.o ashldi3.o ashrdi3.o\n \n obj-$(CONFIG_CMD_BOOTM) += bootm.o\n obj-$(CONFIG_ARCH_COLDFIRE) += cache.o interrupts.o time.o traps.o bdinfo.o fec.o\n+obj-$(CONFIG_MCF5441x) += clock.o\ndiff --git a/arch/m68k/lib/clock.c b/arch/m68k/lib/clock.c\nnew file mode 100644\nindex 00000000000..5d9aeed96c3\n--- /dev/null\n+++ b/arch/m68k/lib/clock.c\n@@ -0,0 +1,23 @@\n+// SPDX-License-Identifier: GPL-2.0+\n+/*\n+ * (C) Copyright 2026 Kernelspace\n+ * Angelo Dureghello <angelo@kernel-space.org>\n+ */\n+\n+#include <config.h>\n+#include <asm/arch/clock.h>\n+#include <asm/global_data.h>\n+\n+DECLARE_GLOBAL_DATA_PTR;\n+/*\n+ * Stub to use existing nxp/fsl drivers.\n+ */\n+int mxc_get_clock(enum mxc_clock clk)\n+{\n+\tif (clk == MXC_ESDHC_CLK)\n+\t\treturn gd->arch.sdhc_clk;\n+\n+\tprintf(\"Unsupported MXC CLK: %d\\n\", clk);\n+\n+\treturn 0;\n+}\n",
    "prefixes": [
        "v2",
        "8/9"
    ]
}