linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mmc: dw_mmc: Make the use of the hold reg generic
@ 2013-12-06 16:10 dinguyen
  2013-12-06 16:10 ` [PATCH 1/2] mmc: dw_mmc: Enable the hold reg for certain speed modes dinguyen
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: dinguyen @ 2013-12-06 16:10 UTC (permalink / raw)
  To: dinh.linux, arnd, cjb, jh80.chung, tgih.jun, heiko, dianders,
	alim.akhtar, bzhao
  Cc: linux-mmc, Dinh Nguyen

From: Dinh Nguyen <dinguyen@altera.com>

Hi,

This patch series makes the setting of the SDMMC_CMD_USE_HOLD_REG bit generic
for all platforms that requires it. According the Synopsys spec on the dw_mmc,
setting the SDMMC_CMD_USE_HOLD_REG should be done for all speeds except for the
following higher speed modes: SDR104, SDR50, DDR50. I am also include MMC_HS200
speed as not needing the SDMMC_CMD_USE_HOLD_REG bit set as well.

Currently, Rockchip and SOCFPGA's variant of the dw_mmc requires that the
SDMMC_CMD_USE_HOLD_REG be set. For SOCFPGA, the dw_mmc is operating at 
MMC_TIMING_SD_HS mode. I don't know Rockchip's variant is operating at.

Thanks,

Dinh Nguyen (2):
  mmc: dw_mmc: Enable the hold reg for certain speed modes
  mmc: dw_mmc-pltm: Remove Rockchip's custom dw_mmc driver structure

 drivers/mmc/host/dw_mmc-pltfm.c |   12 +-----------
 drivers/mmc/host/dw_mmc.c       |   14 ++++++++++++++
 include/linux/mmc/dw_mmc.h      |    1 +
 3 files changed, 16 insertions(+), 11 deletions(-)

-- 
1.7.9.5



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

end of thread, other threads:[~2013-12-07  0:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06 16:10 [PATCH 0/2] mmc: dw_mmc: Make the use of the hold reg generic dinguyen
2013-12-06 16:10 ` [PATCH 1/2] mmc: dw_mmc: Enable the hold reg for certain speed modes dinguyen
2013-12-06 16:10 ` [PATCH 2/2] mmc: dw_mmc-pltm: Remove Rockchip's custom dw_mmc driver structure dinguyen
2013-12-06 23:14   ` Heiko Stübner
2013-12-06 23:18     ` Dinh Nguyen
2013-12-06 23:22       ` Heiko Stübner
2013-12-06 23:27         ` Dinh Nguyen
2013-12-07  0:12           ` Heiko Stübner
2013-12-06 17:36 ` [PATCH 0/2] mmc: dw_mmc: Make the use of the hold reg generic Arnd Bergmann
2013-12-06 21:09   ` Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).