u-boot-2016/drivers/mmc
Masahiro Yamada 3d3108d459 mmc: sdhci-cadence: set timing mode register depending on frequency
The MMC framework in U-Boot does not support a systematic API for
timing switch like mmc_set_timing() in Linux.

U-Boot just provides a hook to change the clock frequency via
mmc_set_clock().  It is up to drivers if additional register
settings are needed.

This driver needs to set a correct timing mode into a register when
it migrates to a different speed mode.  Only increasing clock frequency
could result in setup/hold timing violation.

The timing mode should be decided by checking MMC_TIMING_* like
drivers/mmc/host/sdhci-cadence.c in Linux, but "timing" is not
supported by U-Boot for now.  Just use mmc->clock to decide the
timing mode.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-09-29 11:34:22 +09:00
..
arm_pl180_mmci.c
arm_pl180_mmci.h
atmel_sdhci.c
bcm2835_sdhci.c
davinci_mmc.c
dw_mmc.c dm: mmc: Drop CONFIG_DM_MMC_OPS 2017-08-17 16:59:55 +09:00
exynos_dw_mmc.c
fsl_esdhc.c dm: mmc: Drop CONFIG_DM_MMC_OPS 2017-08-17 16:59:55 +09:00
fsl_esdhc_spl.c
ftsdc010_mci.c
gen_atmel_mci.c mmc: gen_atmel_mci: Fix wrong arguments used of bind() 2017-08-17 16:44:12 +09:00
hi6220_dw_mmc.c
Kconfig mmc: Add MMC support for stm32h7 Socs 2017-09-28 20:23:19 +09:00
kona_sdhci.c
Makefile mmc: Add MMC support for stm32h7 Socs 2017-09-28 20:23:19 +09:00
meson_gx_mmc.c
mmc-uclass.c dm: mmc: Drop CONFIG_DM_MMC_OPS 2017-08-17 16:59:55 +09:00
mmc.c dm: mmc: Drop CONFIG_DM_MMC_OPS 2017-08-17 16:59:55 +09:00
mmc_boot.c cmd: mmc: add mmc partconf read capability 2017-08-17 17:00:11 +09:00
mmc_legacy.c dm: mmc: Drop CONFIG_DM_MMC_OPS 2017-08-17 16:59:55 +09:00
mmc_private.h dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
mmc_spi.c
mmc_write.c
msm_sdhci.c
mv_sdhci.c
mvebu_mmc.c
mxcmmc.c
mxsmmc.c
omap_hsmmc.c dm: mmc: Allow disabling driver model in SPL 2017-08-01 11:58:00 +09:00
pci_mmc.c mmc: Support generic PCI SD host controller 2017-08-18 15:37:38 +09:00
pic32_sdhci.c
pxa_mmc_gen.c
rockchip_dw_mmc.c rockchip: mmc: convert to livetree 2017-09-18 20:40:34 +02:00
rockchip_sdhci.c rockchip: sdhci: update reg map for of-platdata 2017-09-18 20:40:38 +02:00
rpmb.c
s5p_sdhci.c
sandbox_mmc.c
sdhci-cadence.c mmc: sdhci-cadence: set timing mode register depending on frequency 2017-09-29 11:34:22 +09:00
sdhci.c dm: mmc: Drop CONFIG_DM_MMC_OPS 2017-08-17 16:59:55 +09:00
sh_mmcif.c
sh_mmcif.h
sh_sdhi.c mmc: sd_sdhi: Enable clock using clock framework 2017-08-17 14:38:18 +09:00
socfpga_dw_mmc.c
sti_sdhci.c mmc: sti_sdhci: Use reset framework 2017-09-22 07:39:57 -04:00
stm32_sdmmc2.c mmc: Add MMC support for stm32h7 Socs 2017-09-28 20:23:19 +09:00
sunxi_mmc.c mmc: sunxi: Only update timing mode bit when enabling new timing mode 2017-09-01 19:49:47 +05:30
tangier_sdhci.c
tegra_mmc.c dm: tegra: mmc: Convert to livetree 2017-07-28 12:02:47 -06:00
uniphier-sd.c mmc: uniphier-sd: Add vqmmc regulator support 2017-09-29 11:17:29 +09:00
xenon_sdhci.c
zynq_sdhci.c