Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2228638/?format=api
{ "id": 2228638, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228638/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260427-dwmmc-exynos-hs400-es-v1-2-3495df40a9ac@disroot.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": "<20260427-dwmmc-exynos-hs400-es-v1-2-3495df40a9ac@disroot.org>", "date": "2026-04-27T05:52:50", "name": "[2/4] mmc: dw_mmc: setup set_enhanced_strobe ops in driver", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "7e628850ec17a7e4909961a16f0804863e210eda", "submitter": { "id": 88698, "url": "http://patchwork.ozlabs.org/api/1.1/people/88698/?format=api", "name": "Kaustabh Chakraborty", "email": "kauschluss@disroot.org" }, "delegate": { "id": 1728, "url": "http://patchwork.ozlabs.org/api/1.1/users/1728/?format=api", "username": "prom", "first_name": "Minkyu", "last_name": "Kang", "email": "promsoft@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260427-dwmmc-exynos-hs400-es-v1-2-3495df40a9ac@disroot.org/mbox/", "series": [ { "id": 501590, "url": "http://patchwork.ozlabs.org/api/1.1/series/501590/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501590", "date": "2026-04-27T05:52:48", "name": "HS400 and HS400ES support for Exynos DW-MMC drivers", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501590/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2228638/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2228638/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 (2048-bit key;\n secure) header.d=disroot.org header.i=@disroot.org header.a=rsa-sha256\n header.s=mail header.b=hurwMGA0;\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=disroot.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n secure) header.d=disroot.org header.i=@disroot.org header.b=\"hurwMGA0\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=disroot.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=kauschluss@disroot.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 4g3wDS30mnz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 17:29:12 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 1480E84150;\n\tMon, 27 Apr 2026 09:28:52 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 3FF2A83693; Mon, 27 Apr 2026 07:53:09 +0200 (CEST)", "from layka.disroot.org (layka.disroot.org [178.21.23.139])\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 1876080077\n for <u-boot@lists.denx.de>; Mon, 27 Apr 2026 07:53:07 +0200 (CEST)", "from mail01.disroot.lan (localhost [127.0.0.1])\n by disroot.org (Postfix) with ESMTP id D6AE42761A;\n Mon, 27 Apr 2026 07:53:06 +0200 (CEST)", "from layka.disroot.org ([127.0.0.1])\n by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id WVSAa9jW7slO; Mon, 27 Apr 2026 07:53:06 +0200 (CEST)" ], "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/simple; d=disroot.org; s=mail;\n t=1777269186; bh=LiGNG0vr+GoDjbIMmwjPVAbENdFYtTKn/SGzlsJwvW4=;\n h=From:Date:Subject:References:In-Reply-To:To:Cc;\n b=hurwMGA0GViHFMGeUztUCBCX8hk1h/MqrbxfFgDyuyFm8eFLxUb0TQAKPdL/JiStE\n JNQ2xkwFIDZu2akZkC+txm+XGdBa+XEYzey4SiM1KcoM2FVOvQl2oUngPfH816lisu\n gRlURBBxZO5ikoPPtrBPnvkv4v/wvkeeaEc3usfY8Prx2LdngIsW1dp7tgmohkm14y\n 3su9TlEmbtH5NJdDNhdIdnOJtFpBnI46vQOL9Il8fUNRgORxT4ypdJMQwN6wzYnaeP\n EZZi4AVLDb417MaEwxTkI0S4se0RbewAo4uAhZrQsZHzPYPE1MqDmYLcdb0UZEXpoo\n 6ERvwgdWEjFxw==", "From": "Kaustabh Chakraborty <kauschluss@disroot.org>", "Date": "Mon, 27 Apr 2026 11:22:50 +0530", "Subject": "[PATCH 2/4] mmc: dw_mmc: setup set_enhanced_strobe ops in driver", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20260427-dwmmc-exynos-hs400-es-v1-2-3495df40a9ac@disroot.org>", "References": "<20260427-dwmmc-exynos-hs400-es-v1-0-3495df40a9ac@disroot.org>", "In-Reply-To": "<20260427-dwmmc-exynos-hs400-es-v1-0-3495df40a9ac@disroot.org>", "To": "Peng Fan <peng.fan@nxp.com>, u-boot@lists.denx.de", "Cc": "Minkyu Kang <mk7.kang@samsung.com>, Tom Rini <trini@konsulko.com>,\n Jaehoon Chung <jh80.chung@samsung.com>, Anand Moon <linux.amoon@gmail.com>,\n Sam Protsenko <semen.protsenko@linaro.org>,\n Lukas Timmermann <uboot@timmermann.space>,\n Henrik Grimler <henrik@grimler.se>,\n Kaustabh Chakraborty <kauschluss@disroot.org>", "X-Mailman-Approved-At": "Mon, 27 Apr 2026 09:28:50 +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": "At the end of HS400ES initialization by the core mmc driver,\nmmc_set_enhanced_strobe() is called. This expects the host driver to\nhave an ops function for it.\n\nThe DW-MMC driver does not have it, thus the call fails with -ENOSUPP.\nAdd the ops function to allow control to be passed to the host side.\n\nSince DW-MMC driver implementation depends on the platform, the above\nops function is made to pass its control to the implementation-specific\nfunction available in the platform-specific driver.\n\nSigned-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>\n---\n drivers/mmc/dw_mmc.c | 19 +++++++++++++++++++\n include/dwmmc.h | 10 ++++++++++\n 2 files changed, 29 insertions(+)", "diff": "diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c\nindex d9c05b223d5..0a245d72881 100644\n--- a/drivers/mmc/dw_mmc.c\n+++ b/drivers/mmc/dw_mmc.c\n@@ -730,6 +730,19 @@ static int dwmci_init(struct mmc *mmc)\n \treturn 0;\n }\n \n+#if CONFIG_IS_ENABLED(MMC_HS400_ES_SUPPORT)\n+static int dwmci_set_enhanced_strobe(struct udevice *dev)\n+{\n+\tstruct mmc *mmc = mmc_get_mmc_dev(dev);\n+\tstruct dwmci_host *host = mmc->priv;\n+\n+\tif (host && host->set_enhanced_strobe)\n+\t\treturn host->set_enhanced_strobe(host);\n+\n+\treturn 0;\n+}\n+#endif\n+\n #if CONFIG_IS_ENABLED(DM_MMC)\n int dwmci_probe(struct udevice *dev)\n {\n@@ -741,6 +754,9 @@ int dwmci_probe(struct udevice *dev)\n const struct dm_mmc_ops dm_dwmci_ops = {\n \t.send_cmd\t= dwmci_send_cmd,\n \t.set_ios\t= dwmci_set_ios,\n+#if CONFIG_IS_ENABLED(MMC_HS400_ES_SUPPORT)\n+\t.set_enhanced_strobe = dwmci_set_enhanced_strobe,\n+#endif\n };\n \n #else\n@@ -748,6 +764,9 @@ static const struct mmc_ops dwmci_ops = {\n \t.send_cmd\t= dwmci_send_cmd,\n \t.set_ios\t= dwmci_set_ios,\n \t.init\t\t= dwmci_init,\n+#if CONFIG_IS_ENABLED(MMC_HS400_ES_SUPPORT)\n+\t.set_enhanced_strobe = dwmci_set_enhanced_strobe,\n+#endif\n };\n #endif\n \ndiff --git a/include/dwmmc.h b/include/dwmmc.h\nindex 7e1a6646518..49488709a82 100644\n--- a/include/dwmmc.h\n+++ b/include/dwmmc.h\n@@ -225,6 +225,16 @@ struct dwmci_host {\n \t * return that value too. Then DWMMC will put itself in bypass mode.\n \t */\n \tunsigned int (*get_mmc_clk)(struct dwmci_host *host, uint freq);\n+\t/**\n+\t * @set_enhanced_strobe: (Optional) Platform function to run on enabling\n+\t * HS400ES strobe\n+\t *\n+\t * @host:\tDWMMC host\n+\t *\n+\t * This is used to enable the enhanced strobe for the HS400ES MMC mode.\n+\t * The caller invokes this at the end of the HS400ES frequency dance.\n+\t */\n+\tunsigned int (*set_enhanced_strobe)(struct dwmci_host *host);\n \n #ifndef CONFIG_BLK\n \tstruct mmc_config cfg;\n", "prefixes": [ "2/4" ] }