Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AECB7C433EF for ; Mon, 1 Nov 2021 11:18:15 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C050360E90 for ; Mon, 1 Nov 2021 11:18:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C050360E90 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=embed.me.uk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 43B5D8352B; Mon, 1 Nov 2021 12:18:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=embed.me.uk Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embed.me.uk header.i=@embed.me.uk header.b="lljMbBiB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0165E831C9; Mon, 1 Nov 2021 12:18:10 +0100 (CET) Received: from outbound.soverin.net (outbound.soverin.net [116.202.126.228]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1714B83323 for ; Mon, 1 Nov 2021 12:18:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=embed.me.uk Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ml@embed.me.uk Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id AB13E4D for ; Mon, 1 Nov 2021 11:18:04 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=embed.me.uk; s=soverin; t=1635765484; bh=iZCJUObZajwT+vm0L4EOtSWIn7+2Xsobi/z1/lU4hWo=; h=Date:Subject:To:References:From:In-Reply-To:From; b=lljMbBiBhX+nW9e05TevdC57y/EHOi41o5i6rtj+Lx1zL+hGnc6Ck23c+VMYnplGW 3faZEKZLwHnKvhUtFe0B2mDWl2Q8UEz7KF+q1hZcFCXi37e1/Uc9EqpmCKfS/DcGze 2P5OCJyyvaBEIx2NiyJShoSRbhQ3zZN+CCJ/blZaopCtyQrTSeey30igaDhx9UBA7i EBogY/JbfESZ+EGg/PxgynAYzvyP0RjS4fQeGeaLqfE774QOB4bflpeFUfPOooTHlO fbyXpG1XRcSvc9kvZ0aeT98gzGft3wLSuFrTs3x6yznu+q0TLIgJj8egk/H30ksCzM CKSlS+TF1ewcg== Message-ID: <321959d5-ee79-bbfb-d70c-0abc8d79382b@embed.me.uk> Date: Mon, 1 Nov 2021 11:18:02 +0000 MIME-Version: 1.0 Subject: Re: [PATCH 0/3] rockchip: sdhci: Add HS400 Enhanced Strobe support Content-Language: en-US-large To: u-boot@lists.denx.de References: <20211101090755.23762-1-alpernebiyasak@gmail.com> From: Jack Mitchell In-Reply-To: <20211101090755.23762-1-alpernebiyasak@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 01/11/2021 09:07, Alper Nebi Yasak wrote: > I'm trying to make my gru-kevin's eMMC work properly (it times out while > tuning for HS400 and stops working when reinitialized via "mmc dev 0"). I'm also experiencing issue with the re-init of emmc on a 3399 platform, did you come to any conclusions on the reason? It works fine to load u-boot proper from SPL but then fails in u-boot proper when attempting to perform any mmc activity. Regards, Jack. > While experimenting with what works on my board I ended up implementing > HS400ES support. And while I'm at it, I decided to do it for RK3568 as > well since it turned out easy enough. Both are ported from relevant > Linux drivers. > > I'm trying this with "load mmc 0:1 0xd0000000 /bigfile $size" and getting > the following speeds; and with "mmc info" the following differences: > > gru-kevin mmc0 | w/o this series | w/ this series > --------------------+---------------------------+------------------- > Bus Speed | 52000000 | 200000000 > Mode | MMC High Speed (52MHz) | HS400ES (200 MHz) > 8MiB Load Speed | ~9.5 MiB/s | ~51.5 MiB/s > 256MiB Load Speed | ~177.8 MiB/s | ~114.5 MiB/s > > Listing partitions, listing files, reading files and the loaded bytes > all look fine to me, but I'm not sure I haven't missed anything. > > > Alper Nebi Yasak (3): > mmc: sdhci: Add HS400 Enhanced Strobe support > rockchip: sdhci: Add HS400 Enhanced Strobe support for RK3399 > rockchip: sdhci: Add HS400 Enhanced Strobe support for RK3568 > > drivers/mmc/rockchip_sdhci.c | 51 ++++++++++++++++++++++++++++++++++++ > drivers/mmc/sdhci.c | 18 +++++++++++++ > include/sdhci.h | 1 + > 3 files changed, 70 insertions(+) > -- Jack Mitchell, Consultant https://www.tuxable.co.uk