mmc: Add mmc driver for Sunplus SP7021

This is a patch for mmc driver for Sunplus SP7021 SOC.
Supports eMMC 4.41 DDR 104MB/s speed mode.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tony Huang <tonyhuang.sunplus@gmail.com>
Link: https://lore.kernel.org/r/c92d67596f3cc10d41585b9ab82be7da2cc4c9d8.1669023361.git.tonyhuang.sunplus@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Tony Huang 2022-11-21 18:06:49 +08:00 committed by Ulf Hansson
parent 0f55b16272
commit 4e268fed8b
4 changed files with 1011 additions and 0 deletions

View File

@ -19758,6 +19758,7 @@ M: Tony Huang <tonyhuang.sunplus@gmail.com>
M: Li-hao Kuo <lhjeff911@gmail.com> M: Li-hao Kuo <lhjeff911@gmail.com>
S: Maintained S: Maintained
F: Documentation/devicetree/bindings/mmc/sunplus,mmc.yaml F: Documentation/devicetree/bindings/mmc/sunplus,mmc.yaml
F: drivers/mmc/host/sunplus-mmc.c
SUNPLUS OCOTP DRIVER SUNPLUS OCOTP DRIVER
M: Vincent Shih <vincent.sunplus@gmail.com> M: Vincent Shih <vincent.sunplus@gmail.com>

View File

@ -14,6 +14,15 @@ config MMC_DEBUG
added host drivers please don't invent their private macro for added host drivers please don't invent their private macro for
debugging. debugging.
config MMC_SUNPLUS
tristate "Sunplus SP7021 MMC Controller"
depends on ARCH_SUNPLUS || COMPILE_TEST
help
If you say yes here, you will get support for eMMC host interface
on Sunplus SoCs.
If unsure, say N
config MMC_ARMMMCI config MMC_ARMMMCI
tristate "ARM AMBA Multimedia Card Interface support" tristate "ARM AMBA Multimedia Card Interface support"
depends on ARM_AMBA depends on ARM_AMBA

View File

@ -97,6 +97,7 @@ obj-$(CONFIG_MMC_SDHCI_MICROCHIP_PIC32) += sdhci-pic32.o
obj-$(CONFIG_MMC_SDHCI_BRCMSTB) += sdhci-brcmstb.o obj-$(CONFIG_MMC_SDHCI_BRCMSTB) += sdhci-brcmstb.o
obj-$(CONFIG_MMC_SDHCI_OMAP) += sdhci-omap.o obj-$(CONFIG_MMC_SDHCI_OMAP) += sdhci-omap.o
obj-$(CONFIG_MMC_SDHCI_SPRD) += sdhci-sprd.o obj-$(CONFIG_MMC_SDHCI_SPRD) += sdhci-sprd.o
obj-$(CONFIG_MMC_SUNPLUS) += sunplus-mmc.o
obj-$(CONFIG_MMC_CQHCI) += cqhci.o obj-$(CONFIG_MMC_CQHCI) += cqhci.o
cqhci-y += cqhci-core.o cqhci-y += cqhci-core.o
cqhci-$(CONFIG_MMC_CRYPTO) += cqhci-crypto.o cqhci-$(CONFIG_MMC_CRYPTO) += cqhci-crypto.o

File diff suppressed because it is too large Load Diff