U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v4 00/10] mmc: fixes for HS200/UHS core support
@ 2017-11-29 14:29 Jean-Jacques Hiblot
  2017-11-29 14:29 ` [U-Boot] [PATCH v4 01/10] mmc: dump card and host capabilities if debug is enabled Jean-Jacques Hiblot
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: Jean-Jacques Hiblot @ 2017-11-29 14:29 UTC (permalink / raw)
  To: u-boot

This series applies on top of "[PATCH v2 00/26] mmc: Add support for HS200
and UHS modes"

It fixes a bug with old SD and MMC cards that support only the legacy mode.
This series also adresses the problem of increased code size that broke some
platform (openrd and omapl138_lcdk) by making more things optional.

It also addresses other comments made on the mailing list:
* dump card and host capabilities in debug mode
* use 1-bit if the DTS property 'bus-width' is not present.
* recognize the "mmc-ddr-1_2v" and "mmc-hs200-1_2v" DTS properties
* convert mmc_of_parse to livetree

  
Tested on DRA72

changes since v3:
* Make UHS support optional. Disabled by default
* Make HS200 support optional. Disabled by default
* Make eMMC Hardware Partitioning optional. Enabled by default
* Display most of the error messages only if MMC_VERBOSE is set (it's set by default)

changes since v2:
* use the device-oriented helpers like dev_read_u32_default() instead of using
  the livetree API
* Dump the host and card capabilities only in when debug is enabled. Also dump
  the capabilities when 'mmc info' is executed if the verbose option is enabled

changes since v1:
* convert mmc_of_parse to livetree
* squashed all changes to mmc_of_parse in a single patch


Jean-Jacques Hiblot (10):
  mmc: dump card and host capabilities if debug is enabled
  dm: mmc: update mmc_of_parse()
  mmc: Fixed a problem with old sd or mmc that do not support High speed
  mmc: all hosts support 1-bit bus width and legacy timings
  mmc: fix for old MMCs (below version 4)
  mmc: don't use malloc_cache_aligned()
  mmc: allow to compile out the error messages
  mmc: make UHS and HS200 optional
  mmc: make optional the support for eMMMC hardware partitioning
  configs: openrd: removed support for eMMC hardware partitioning

 cmd/mmc.c                         |   8 ++
 configs/openrd_base_defconfig     |   1 +
 configs/openrd_client_defconfig   |   1 +
 configs/openrd_ultimate_defconfig |   1 +
 drivers/mmc/Kconfig               |  54 +++++++++++++
 drivers/mmc/mmc-uclass.c          |  40 ++++++----
 drivers/mmc/mmc.c                 | 162 +++++++++++++++++++++++++++++---------
 include/mmc.h                     |  38 +++++++--
 8 files changed, 245 insertions(+), 60 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-12-06  8:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-29 14:29 [U-Boot] [PATCH v4 00/10] mmc: fixes for HS200/UHS core support Jean-Jacques Hiblot
2017-11-29 14:29 ` [U-Boot] [PATCH v4 01/10] mmc: dump card and host capabilities if debug is enabled Jean-Jacques Hiblot
2017-12-02  3:29   ` Simon Glass
2017-11-29 14:29 ` [U-Boot] [PATCH v4 02/10] dm: mmc: update mmc_of_parse() Jean-Jacques Hiblot
2017-12-02  3:29   ` Simon Glass
2017-11-29 14:29 ` [U-Boot] [PATCH v4 03/10] mmc: Fixed a problem with old sd or mmc that do not support High speed Jean-Jacques Hiblot
2017-11-29 14:29 ` [U-Boot] [PATCH v4 04/10] mmc: all hosts support 1-bit bus width and legacy timings Jean-Jacques Hiblot
2017-11-29 14:29 ` [U-Boot] [PATCH v4 05/10] mmc: fix for old MMCs (below version 4) Jean-Jacques Hiblot
2017-12-02  3:29   ` Simon Glass
2017-11-29 14:29 ` [U-Boot] [PATCH v4 06/10] mmc: don't use malloc_cache_aligned() Jean-Jacques Hiblot
2017-12-02  3:29   ` Simon Glass
2017-11-29 14:29 ` [U-Boot] [PATCH v4 07/10] mmc: allow to compile out the error messages Jean-Jacques Hiblot
2017-11-29 18:43   ` Tom Rini
2017-11-29 14:29 ` [U-Boot] [PATCH v4 08/10] mmc: make UHS and HS200 optional Jean-Jacques Hiblot
2017-12-02  3:29   ` Simon Glass
2017-12-06  8:29     ` Jean-Jacques Hiblot
2017-11-29 14:29 ` [U-Boot] [PATCH v4 09/10] mmc: make optional the support for eMMMC hardware partitioning Jean-Jacques Hiblot
2017-11-29 18:44   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox