[{"id":3682951,"web_url":"http://patchwork.ozlabs.org/comment/3682951/","msgid":"<91b9a06ae21a64c0fec04f053798f302689a0067.camel@grimler.se>","list_archive_url":null,"date":"2026-04-27T20:23:28","subject":"Re: [PATCH 0/4] HS400 and HS400ES support for Exynos DW-MMC drivers","submitter":{"id":83221,"url":"http://patchwork.ozlabs.org/api/people/83221/","name":"Henrik Grimler","email":"henrik@grimler.se"},"content":"Hi Kaustabh,\n\nOn Mon, 2026-04-27 at 11:22 +0530, Kaustabh Chakraborty wrote:\n> Since upstream dts version v7.0+, Exynos 7870 devices have an\n> explicit\n> `bus-width = <8>` property. This results in the U-Boot driver trying\n> to\n> initialize the HS400 mode, which appears to fail. The HS400 support\n> added in the DW-MMC Exynos driver appears to have an incomplete init\n> sequence.\n> \n> This patch series adds the missing pieces to enable HS400 support,\n> and\n> additionally adds support for HS400ES too.\n\nSeems like exynos5422-odroid-xu4 can support hs400 as well based on\nHardkernel's device trees [1]. I will try to test on that device during\nthe week to get some more test coverage for this series.\n\n[1]\nhttps://github.com/hardkernel/linux/blob/odroidxu4-6.1.y/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi#L491\n\nBest regards,\nHenrik Grimler\n\n> The last patch in the series also enables HS400ES support in the\n> exynos-mobile defconfig.\n> \n> Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>\n> ---\n> Kaustabh Chakraborty (4):\n>       mmc: exynos_dw_mmc: add proper init sequence for HS400 support\n>       mmc: dw_mmc: setup set_enhanced_strobe ops in driver\n>       mmc: exynos_dw_mmc: add support for HS400ES\n>       configs: exynos-mobile: enable support for HS400ES in MMC\n> driver\n> \n>  arch/arm/mach-exynos/include/mach/dwmmc.h |  5 ++\n>  configs/exynos-mobile_defconfig           |  1 +\n>  drivers/mmc/dw_mmc.c                      | 19 +++++++\n>  drivers/mmc/exynos_dw_mmc.c               | 88\n> ++++++++++++++++++++++++++++++-\n>  include/dwmmc.h                           | 10 ++++\n>  5 files changed, 121 insertions(+), 2 deletions(-)\n> ---\n> base-commit: 9f61fd5b80a43ae20ba115e3a2933d47d720ab82\n> change-id: 20260427-dwmmc-exynos-hs400-es-b77009a808ce\n> \n> Best regards,\n> --  \n> Kaustabh Chakraborty <kauschluss@disroot.org>","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 secure) header.d=grimler.se header.i=@grimler.se header.a=rsa-sha256\n header.s=key1 header.b=BE/0hmbo;\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=quarantine dis=none) header.from=grimler.se","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (1024-bit key;\n secure) header.d=grimler.se header.i=@grimler.se header.b=\"BE/0hmbo\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=grimler.se","phobos.denx.de;\n spf=pass smtp.mailfrom=henrik@grimler.se"],"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 4g4FQ84F1rz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 06:23:44 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id A26EB84150;\n\tMon, 27 Apr 2026 22:23:35 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id A1C6284178; Mon, 27 Apr 2026 22:23:34 +0200 (CEST)","from out-179.mta0.migadu.com (out-179.mta0.migadu.com\n [IPv6:2001:41d0:1004:224b::b3])\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 F165F83693\n for <u-boot@lists.denx.de>; Mon, 27 Apr 2026 22:23:31 +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_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","Message-ID":"<91b9a06ae21a64c0fec04f053798f302689a0067.camel@grimler.se>","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=grimler.se; s=key1;\n t=1777321411;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=P27kDT7NMiOTMfAdflZ66/CgoBIIz6MEMfTeIS8et0E=;\n b=BE/0hmboZKncrNc1LxtuhwLoJNfdQom4w4m24D81Wb1tQyGnvNcbQzinIlZ6pNed7UJbMk\n E4QX1fZLdaPnO3MbkCRxiyp8OxpaIvgMxp1AqIhPdgv/Q0TgzgNJ1RklSsEYgtngrKEe81\n SVACC6o4hMxrOKRYPePk1nwabixXU1w=","Subject":"Re: [PATCH 0/4] HS400 and HS400ES support for Exynos DW-MMC drivers","X-Report-Abuse":"Please report any abuse attempt to abuse@migadu.com and\n include these headers.","From":"Henrik Grimler <henrik@grimler.se>","To":"Kaustabh Chakraborty <kauschluss@disroot.org>, Peng Fan\n <peng.fan@nxp.com>, \tu-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\t <semen.protsenko@linaro.org>, Lukas Timmermann\n <uboot@timmermann.space>","Date":"Mon, 27 Apr 2026 22:23:28 +0200","In-Reply-To":"<20260427-dwmmc-exynos-hs400-es-v1-0-3495df40a9ac@disroot.org>","References":"<20260427-dwmmc-exynos-hs400-es-v1-0-3495df40a9ac@disroot.org>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","MIME-Version":"1.0","X-Migadu-Flow":"FLOW_OUT","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"}}]