Add a new SDIO controller driver for Efinix devices

The driver supports UHS-I bus speed modes: SDR25, DDR50, and SDR104.
By default, the controller operates in SDR25 mode. Higher-speed modes
can be enabled via the Device Tree by adding the following properties
to the SDIO node:

  - sd-uhs-ddr50
  - sd-uhs-sdr104

When these properties are present, the driver negotiates the highest
supported UHS mode with the card and host.

Signed-off-by: Swee Aun Khor <sakhor@efinixinc.com>
This commit is contained in:
Swee Aun Khor
2026-03-05 15:33:48 +08:00
committed by Byron Lathi
parent d7b360824e
commit 334eb3ba15
7 changed files with 2740 additions and 0 deletions

View File

@@ -108,6 +108,8 @@ obj-$(CONFIG_MMC_HSQ) += mmc_hsq.o
obj-$(CONFIG_MMC_SDHCI_EFX) += sdhci-efx.o
obj-$(CONFIG_MMC_EFX_EMMC) += efx-emmc.o
efx-emmc-y += efx_emmc_core.o efx_emmc_platform.o efx_emmc_dma.o efx_emmc_tuning.o
obj-$(CONFIG_MMC_EFX_SDIO) += efx-sdio.o
efx-sdio-y += efx_sdio_platform.o efx_sdio_core.o efx_sdio_dma.o efx_sdio_tuning.o
ifeq ($(CONFIG_CB710_DEBUG),y)
CFLAGS-cb710-mmc += -DDEBUG