u-boot/drivers/mmc
Haibo Chen 5d772196d9 mmc: fsl_esdhc_imx: optimize the timing setting
For imx usdhc/esdhc, once set the DDR_EN, enable the DDR mode, the
card clock will be divied by 2 automatically by the host. So need
to first config the DDR_EN correctly, then update the card clock.
This will make sure the actual card clock is as our expected.
IC also suggest config the DDR_EN firstly, then config the clock
divider.

For HS400/HS400ES mode, need to config the strobe dll, this need
to based on the correct target clock rate, so need to do this after
clock rate is update.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2020-12-06 15:31:37 +01:00
..
am654_sdhci.c mmc: am654_sdhci: Use MMC_MODES_END value instead of hardcoded value 2020-08-11 20:34:45 +05:30
arm_pl180_mmci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
arm_pl180_mmci.h mmc: arm_pl180_mmci: Sync compatible with kernel 2019-04-23 15:31:30 +02:00
aspeed_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
atmel_sdhci.c mmc: atmel-sdhci: use mmc_of_parse to get the DT properties 2020-09-25 10:39:22 +03:00
bcm2835_sdhci.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
bcm2835_sdhost.c mmc: bcm2835-host: Fix not calling dev_dbg with a device 2020-09-30 08:52:49 -04:00
bcmstb_sdhci.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
ca_dw_mmc.c mmc: ca_dw_mmc: Misc cleanup of driver 2020-06-15 09:45:22 +08:00
davinci_mmc.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
dw_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
exynos_dw_mmc.c ARM: Odroid XU3: Modify exynos dw_mmc driver to support Odroid XU3 in DM MMC 2018-08-06 10:53:53 +09:00
fsl_esdhc.c mmc: fsl_esdhc: make sure delay chain locked for HS400 2020-11-28 10:39:44 +08:00
fsl_esdhc_imx.c mmc: fsl_esdhc_imx: optimize the timing setting 2020-12-06 15:31:37 +01:00
fsl_esdhc_spl.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
ftsdc010_mci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
ftsdc010_mci.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gen_atmel_mci.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
hi6220_dw_mmc.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
iproc_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
jz_mmc.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
Kconfig mmc: fsl_esdhc: add ADMA2 support 2020-10-14 14:00:44 +08:00
kona_sdhci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Makefile mmc: sdhci: move the ADMA2 table handling into own module 2020-10-12 15:50:19 +08:00
meson_gx_mmc.c mmc: meson-gx: change clock phase value on SM1 SoCs 2020-11-12 14:31:29 +01:00
meson_gx_mmc.h mmc: meson-gx: change clock phase value on SM1 SoCs 2020-11-12 14:31:29 +01:00
mmc-uclass.c mmc: mmc_of_parse: Enable 52 MHz support with "cap-mmc-highspeed" 2020-10-21 09:57:14 +02:00
mmc.c mmc: check a return value about regulator's always-on 2020-11-28 10:44:39 +08:00
mmc_boot.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mmc_legacy.c Move eSDHC adapter card identification to board files 2020-07-27 14:16:28 +05:30
mmc_private.h Move eSDHC adapter card identification to board files 2020-07-27 14:16:28 +05:30
mmc_spi.c mmc_spi: generate R1b response for erase and stop transmission command 2020-07-14 16:19:47 +08:00
mmc_write.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
msm_sdhci.c mmc: msm_sdhci: Use mmc_of_parse for setting host_caps 2020-09-15 10:13:37 +08:00
mtk-sd.c mmc: mtk-sd: change some dev_err into dev_dbg 2020-10-22 11:26:14 -04:00
mv_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
mvebu_mmc.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mxcmmc.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mxsmmc.c drivers: avoid using aliases on drivers when OF_PLATDATA is enabled 2020-07-28 19:30:39 -06:00
nexell_dw_mmc.c mmc: add nexell driver 2020-07-29 08:43:40 -04:00
octeontx_hsmmc.c mmc: octeontx_hsmmc.c: Remove test debug message 2020-10-16 13:55:04 +02:00
octeontx_hsmmc.h mmc: Add MMC controller driver for OcteonTX / TX2 2020-08-25 08:01:16 +02:00
omap_hsmmc.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
pci_mmc.c acpi: mmc: Generate ACPI info for the PCI SD Card 2020-07-17 14:32:24 +08:00
pic32_sdhci.c mmc: pic32: Refresh PIC32 MMC driver 2020-09-23 00:08:52 +02:00
pxa_mmc_gen.c arm: pxa: mmc: add driver model support 2020-06-30 11:13:11 -04:00
renesas-sdhi.c mmc: renesas-sdhi: Enable support for R8A774A1 2020-07-25 11:16:40 +02:00
rockchip_dw_mmc.c dtoc: extend dtoc to use struct driver_info when linking nodes 2020-07-09 22:00:29 -06:00
rockchip_sdhci.c dtoc: extend dtoc to use struct driver_info when linking nodes 2020-07-09 22:00:29 -06:00
rpmb.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
s5p_sdhci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sandbox_mmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sdhci-adma.c mmc: sdhci: move the ADMA2 table handling into own module 2020-10-12 15:50:19 +08:00
sdhci-cadence.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
sdhci.c Revert "mmc: zynq: parse dt when probing" 2020-10-27 08:13:33 +01:00
sh_mmcif.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
sh_mmcif.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sh_sdhi.c mmc: do not check argument of free() beforehand 2020-10-12 15:53:20 +08:00
snps_dw_mmc.c treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
socfpga_dw_mmc.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
sti_sdhci.c treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
stm32_sdmmc2.c mmc: stm32_sdmmc2: Use mmc_of_parse() to read host capabilities 2020-10-21 18:11:56 +02:00
sunxi_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
tangier_sdhci.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
tegra_mmc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tmio-common.c treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
tmio-common.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
uniphier-sd.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
xenon_sdhci.c mmc: xenon_sdhci: Add missing common host capabilities 2020-09-15 10:15:56 +08:00
zynq_sdhci.c mmc: zynq_sdhci: Extend UHS timings till hs200 2020-10-29 08:55:33 +01:00