summaryrefslogtreecommitdiff
path: root/drivers/mci/imx-esdhc.h
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-04-18 11:30:39 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-04-21 08:29:45 +0200
commit3a3cd967288055777a692fabba7c94cf9259e500 (patch)
treefa05223ae5cd3d32b95ba71f6fecd07c8da7f18f /drivers/mci/imx-esdhc.h
parentcf0f1454dae5d9fbebc0e212cdf0a2090f2e64a5 (diff)
downloadbarebox-3a3cd967288055777a692fabba7c94cf9259e500.tar.gz
mci: add eMMC DDR52 support
The maximum card frequency that can be configured by barebox currently is 50MHz for SD and 52MHz for eMMC. Higher speed modes require runtime voltage switching or tuning sequences, which are not yet implemented. Only exception is eMMC's DDR52: This mode was first introduced with MMC 4.4 and can be used even at 3.3V. This commit adds DDR52 support to the core. This introduces no functional change, because host controllers must opt-in by setting the appropriate host capabilities. In cases where it's enabled, bus width determination happens as usual and then if possible, the resulting bus width will be attempted with DDR. If that fails, we revert back to SDR. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230418093040.1865982-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci/imx-esdhc.h')
0 files changed, 0 insertions, 0 deletions