u-boot/drivers/mmc
Peter Geis 34aeb386af mmc: tegra: use max-frequency from device tree if provided
The driver currently hard-codes the max freqency for the sdhci
controllers. If the controller is unable to operate at the max
frequency, the mmc card will not be available on the first scan.
Subsequent scans will eventually find a working combination.

Fix this by allowing the driver to check for the max-frequency
property and default to the original value if it doesn't exist.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2023-12-19 21:24:12 +02:00
..
am654_sdhci.c tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
arm_pl180_mmci.c
arm_pl180_mmci.h
aspeed_sdhci.c mmc/aspeed: Enable controller clocks 2022-07-06 14:31:29 -04:00
atmel_sdhci.c atmel_sdhci: Force card-detect if MMC_CAP_NONREMOVABLE. 2023-07-24 14:21:00 +03:00
bcm2835_sdhci.c
bcm2835_sdhost.c mmc: bcm2835-host: let firmware manage the clock divisor 2023-03-24 14:43:20 +00:00
bcmstb_sdhci.c
ca_dw_mmc.c
davinci_mmc.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
dw_mmc.c mmc: dw_mmc: Keep vqmmc-supply enable count in balance 2023-08-14 09:14:41 -04:00
exynos_dw_mmc.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
f_sdh30.c mmc: f_sdh30: Add support for F_SDH30_E51 2022-10-24 18:01:32 +09:00
fsl_esdhc.c global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace 2022-11-10 10:08:55 -05:00
fsl_esdhc_imx.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
fsl_esdhc_spl.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
ftsdc010_mci.c mmc: ftsdc010: make command timeout 250 ms as in the comment 2022-10-24 18:01:07 +09:00
ftsdc010_mci.h
gen_atmel_mci.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
hi6220_dw_mmc.c mmc: hi6220_dw_mmc: add compatible for HC2910 support 2023-05-03 09:05:24 -04:00
iproc_sdhci.c
jz_mmc.c
Kconfig mmc: spl: select SPL_BLK for SPL_DM_MMC 2023-11-01 08:48:49 +09:00
kona_sdhci.c
Makefile mmc: sh_sdhi: Drop unused driver 2023-10-27 11:21:28 +02:00
meson_gx_mmc.c
meson_gx_mmc.h
mmc-pwrseq.c
mmc-uclass.c blk: Use a macro for the typical block size 2023-10-10 16:19:29 -04:00
mmc.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
mmc_boot.c
mmc_bootdev.c bootstd: Use bootdev instead of bootdevice 2023-07-16 23:13:17 +08:00
mmc_legacy.c blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
mmc_private.h
mmc_spi.c
mmc_write.c mmc: erase: Use TRIM erase when available 2023-04-10 12:17:24 +09:00
msm_sdhci.c mmc: msm_sdhci: Add SDCC version 5.0.0 support 2022-07-25 13:02:04 -04:00
mtk-sd.c mmc: mediatek: set b_max according CONFIG_SYS_MMC_MAX_BLK_COUNT 2023-12-19 10:07:48 -05:00
mv_sdhci.c mmc: mv_sdhci: Depend on DM_MMC 2023-04-10 12:17:58 +09:00
mvebu_mmc.c
mxcmmc.c
mxsmmc.c
nexell_dw_mmc.c
npcm_sdhci.c mmc: npcm_sdhci: Fix use of CONFIG_IS_ENABLED on DM_REGULATOR 2023-04-08 03:53:23 +02:00
octeontx_hsmmc.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
octeontx_hsmmc.h treewide: use linux/time.h for time conversion defines 2023-11-16 18:59:58 -05:00
omap_hsmmc.c dm: treewide: Use uclass_first_device_err when accessing one device 2022-10-17 21:17:12 -06:00
owl_mmc.c
pci_mmc.c mmc: pci: Drop the superfluous cast 2023-11-01 09:58:57 +09:00
pic32_sdhci.c
piton_mmc.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
renesas-sdhi.c mmc: renesas-sdhi: Disable clock after tuning reset when possible 2023-11-13 04:12:47 +01:00
rockchip_dw_mmc.c mmc: rockchip_dw_mmc: Fix get_mmc_clk return value 2023-03-19 13:20:21 +08:00
rockchip_sdhci.c mmc: rockchip_sdhci: Disable DMA mode using a device tree property 2023-05-18 08:34:45 +08:00
rpmb.c
s5p_sdhci.c Revert "mmc: s5p_sdhci: unset the SDHCI_QUIRK_BROKEN_R1B" 2023-05-15 17:14:46 -04:00
sandbox_mmc.c sandbox: mmc: Start off with a zeroed file 2023-01-23 18:11:39 -05:00
sdhci-adma.c
sdhci-cadence.c
sdhci.c mmc: sdhci: Rework SDHCI_QUIRK_BROKEN_R1B 2023-11-01 10:01:10 +09:00
sh_mmcif.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
sh_mmcif.h
snps_dw_mmc.c
socfpga_dw_mmc.c
sti_sdhci.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
stm32_sdmmc2.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
sunxi_mmc.c sunxi: mmc: Sort compatible strings numerically 2023-11-12 16:46:32 +00:00
sunxi_mmc.h sunxi: mmc: Move header to the driver directory 2023-11-12 16:45:08 +00:00
tangier_sdhci.c
tegra_mmc.c mmc: tegra: use max-frequency from device tree if provided 2023-12-19 21:24:12 +02:00
tmio-common.c mmc: tmio: Disable 1/1024 clock divider on Renesas R-Car platforms 2023-10-27 11:21:28 +02:00
tmio-common.h mmc: tmio: Replace ifdeffery with IS_ENABLED/CONFIG_IS_ENABLED macros 2023-04-07 17:13:27 +02:00
uniphier-sd.c
xenon_sdhci.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
zynq_sdhci.c mmc: zynq_sdhci: Dll reset only for ZynqMP platform 2023-07-21 09:00:38 +02:00