public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 00/26] mmc: Add support for HS200 and UHS modes
Date: Thu, 23 Nov 2017 10:51:17 +0100	[thread overview]
Message-ID: <3442fc7a-bbf9-0fc7-9836-e5aca7792570@gmail.com> (raw)
In-Reply-To: <CO1PR02MB240BCECBF0142D24C42F5CCD9210@CO1PR02MB240.namprd02.prod.outlook.com>

On 11/23/2017 10:46 AM, Siva Durga Prasad Paladugu wrote:
> Hi Jaehoon,
> 
>> -----Original Message-----
>> From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Jaehoon
>> Chung
>> Sent: Friday, October 20, 2017 5:02 PM
>> To: Jean-Jacques Hiblot <jjhiblot@ti.com>; trini at konsulko.com;
>> kishon at ti.com; sjg at chromium.org
>> Cc: u-boot at lists.denx.de
>> Subject: Re: [U-Boot] [PATCH v2 00/26] mmc: Add support for HS200 and
>> UHS modes
>>
>> Dear JJ
>>
>> On 09/21/2017 11:29 PM, Jean-Jacques Hiblot wrote:
>>> This series brings support for HS200 and UHS modes to the mmc core.
>>> It has been tested with the hsmmc driver on several platforms (DRA7,
>>> AM57x, AM437x, beaglebone black, Atmel SAMA5D3 xplained). Some
>>> modifications are required in the host driver to take advantage of
>>> this (voltage switching, tuning). The changes to the host driver will
>>> be posted a another series as this one is already long enough.
>>>
>>> The series starts with a small refactoring of th sd/mmc startup. The
>>> first 5 commits are mostly moving code around with little or no
>> functionnal change.
>>>
>>> Then the notion of "mode" is introduced. Until now, this information
>>> wasn't kept in struct mmc. Only the clock and a flag for ddr was kept.
>>> Later the mode information will be used to select the clock frequency,
>>> the ddr flag and the tuning procedure. It will be also be check against the
>> host capabilities.
>>>
>>> Then comes the big refactoring job in:
>>> "mmc: refactor MMC startup to make it easier to support new modes"
>> and
>>> "mmc: refactor SD startup to make it easier to support new modes"
>>> Since the number of modes is increasing, it makes sense to try them in
>>> a more organized way. those commits use a list of supported modes and
>>> iterate through them to find the best working one. It also allows to
>>> switch more easilly from one mode to another (switching from HS200 to
>>> DDR52 to access boot partitions for example)
>>>
>>> Then there are a couple of new callback added to:
>>> - send the initialization stream (74 clock cycles)
>>> - wait while the card is busy (used during UHS voltage switching). checking
>> is
>>>   done on dat0.
>>> - select the IO voltage
>>>
>>> Then Power cycle is added. Without power cycle, if a UHS card fails to
>>> enumerate in UHS mode, it can't fall back to high speed mode and card
>> enumeration will fail.
>>> Also in case of a reset (as opposed to a power on), it ensures that
>>> the SDCard is in clean state before re-doing the initialization.
>>>
>>> And finally the last commits add the support for HS200 and UHS.
>>>
>>> With this in place and the required changes in the HSMMC host driver
>>> (including DMA), we observe significant improvements in the
>> performances on a DRA72 evm:
>>> eMMC HS200: 124 MB/s
>>> eMMC DDR52: 78 MB/s
>>> sd   SDR104: 71 MB/s
>>> sd   SDR50: 44 MB/s
>>
>> Applied to u-boot-mmc! Thanks!
>> I will apply the patches relevant to this patchset. Sorry for late applying this.
> 
> I would like to test UHS and HS200 series on ZynqMP platform. 
> Is it the branch " testing-uhs-supporting" that I should be using for testing it?
> Please confirm.

That should do, plus look at the uniphier/renesas SDHI patches posted to
the ML adding UHS200 support, that should get you started with the
arasan IP too.

-- 
Best regards,
Marek Vasut

  reply	other threads:[~2017-11-23  9:51 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170921143028epcas3p3fce32811279a7e0bf9941e4bbc621ddd@epcas3p3.samsung.com>
2017-09-21 14:29 ` [U-Boot] [PATCH v2 00/26] mmc: Add support for HS200 and UHS modes Jean-Jacques Hiblot
2017-09-21 14:29   ` [U-Boot] [PATCH v2 01/26] mmc: dm: get the IO-line and main voltage regulators from the dts Jean-Jacques Hiblot
2017-09-21 14:29   ` [U-Boot] [PATCH v2 02/26] mmc: split mmc_startup() Jean-Jacques Hiblot
2017-09-21 14:29   ` [U-Boot] [PATCH v2 03/26] mmc: move the MMC startup for version above v4.0 in a separate function Jean-Jacques Hiblot
2017-09-21 14:29   ` [U-Boot] [PATCH v2 04/26] mmc: make ext_csd part of struct mmc Jean-Jacques Hiblot
2017-09-21 14:29   ` [U-Boot] [PATCH v2 05/26] mmc: add a function to read and test the ext csd (mmc >= 4) Jean-Jacques Hiblot
2017-09-21 14:29   ` [U-Boot] [PATCH v2 06/26] mmc: introduce mmc modes Jean-Jacques Hiblot
2017-09-21 14:29   ` [U-Boot] [PATCH v2 07/26] mmc: Add a function to dump the mmc capabilities Jean-Jacques Hiblot
2017-09-22 13:54     ` Jaehoon Chung
2017-10-02  8:57       ` Jean-Jacques Hiblot
2017-10-09  4:48         ` Simon Glass
2017-09-21 14:29   ` [U-Boot] [PATCH v2 08/26] mmc: use mmc modes to select the correct bus speed Jean-Jacques Hiblot
2017-09-21 14:29   ` [U-Boot] [PATCH v2 09/26] cmd: mmc: display the mode name and current bus speed in the mmc info Jean-Jacques Hiblot
2017-09-21 14:29   ` [U-Boot] [PATCH v2 10/26] mmc: refactor SD startup to make it easier to support new modes Jean-Jacques Hiblot
2018-02-09  0:10     ` Jonathan Gray
2017-09-21 14:29   ` [U-Boot] [PATCH v2 11/26] mmc: refactor MMC " Jean-Jacques Hiblot
2017-09-21 14:29   ` [U-Boot] [PATCH v2 12/26] mmc: make mmc_set_ios() return status Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 13/26] mmc: Enable signal voltage to be selected from mmc core Jean-Jacques Hiblot
2017-09-22 13:54     ` Jaehoon Chung
2017-10-02  9:04       ` Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 14/26] mmc: Add a new callback function to perform the 74 clocks cycle sequence Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 15/26] mmc: add power cyle support in mmc core Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 16/26] mmc: add a new mmc parameter to disable mmc clock Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 17/26] mmc: disable the mmc clock during power off Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 18/26] mmc: Add a execute_tuning() callback to the mmc operations Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 19/26] mmc: add HS200 support in MMC core Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 20/26] mmc: Add support for UHS modes Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 21/26] mmc: disable UHS modes if Vcc cannot be switched on and off Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 22/26] mmc: Change mode when switching to a boot partition Jean-Jacques Hiblot
2018-07-24  8:28     ` Faiz Abbas
2017-09-21 14:30   ` [U-Boot] [PATCH v2 23/26] mmc: Retry some MMC cmds on failure Jean-Jacques Hiblot
2017-09-22 13:54     ` Jaehoon Chung
2017-10-02  9:05       ` Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 24/26] mmc: use the right voltage level for MMC DDR and HS200 modes Jean-Jacques Hiblot
2017-09-22 13:54     ` Jaehoon Chung
2017-09-21 14:30   ` [U-Boot] [PATCH v2 25/26] mmc: add a library function to send tuning command Jean-Jacques Hiblot
2017-09-21 14:30   ` [U-Boot] [PATCH v2 26/26] dm: mmc: Add a library function to parse generic dt binding Jean-Jacques Hiblot
2017-09-22 13:54     ` Jaehoon Chung
2017-10-02  9:08       ` Jean-Jacques Hiblot
2017-09-25  2:14     ` Simon Glass
2017-09-22 14:42   ` [U-Boot] [PATCH v2 00/26] mmc: Add support for HS200 and UHS modes Jaehoon Chung
2017-10-02  9:15     ` Jean-Jacques Hiblot
2017-10-14 14:51       ` Marek Vasut
2017-10-18 13:19         ` Jean-Jacques Hiblot
2017-10-18 13:26           ` Marek Vasut
2017-10-20 10:49         ` Jaehoon Chung
2017-10-20 11:31   ` Jaehoon Chung
2017-11-23  9:46     ` Siva Durga Prasad Paladugu
2017-11-23  9:51       ` Marek Vasut [this message]
2017-11-27 10:13       ` Jaehoon Chung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3442fc7a-bbf9-0fc7-9836-e5aca7792570@gmail.com \
    --to=marek.vasut@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox