Skip to content

Commit

Permalink
mmc: Add mmc driver for Sunplus SP7021
Browse files Browse the repository at this point in the history
Use SYSTEM_SLEEP_PM_OPS instead of SET_SYSTEM_SLEEP_PM_OPS.
Use RUNTIME_PM_OPS instead of SET_RUNTIME_PM_OPS. Remove #ifdef check.
Fixed mutex lock and unlock imbalance issue.

Signed-off-by: Tony Huang <tonyhuang.sunplus@gmail.com>
  • Loading branch information
Tony Huang authored and intel-lab-lkp committed Apr 6, 2022
1 parent 6187909 commit 325a0d9
Show file tree
Hide file tree
Showing 4 changed files with 1,211 additions and 0 deletions.
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -18221,6 +18221,7 @@ M: Tony Huang <tonyhuang.sunplus@gmail.com>
M: Li-hao Kuo <lhjeff911@gmail.com>
S: Maintained
F: Documentation/devicetree/bindings/mmc/sunplus,mmc.yaml
F: drivers/mmc/host/sunplus-mmc.c

SUPERH
M: Yoshinori Sato <ysato@users.sourceforge.jp>
Expand Down
9 changes: 9 additions & 0 deletions drivers/mmc/host/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ config MMC_DEBUG
added host drivers please don't invent their private macro for
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
tristate "ARM AMBA Multimedia Card Interface support"
depends on ARM_AMBA
Expand Down
1 change: 1 addition & 0 deletions drivers/mmc/host/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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_OMAP) += sdhci-omap.o
obj-$(CONFIG_MMC_SDHCI_SPRD) += sdhci-sprd.o
obj-$(CONFIG_MMC_SUNPLUS) += sunplus-mmc.o
obj-$(CONFIG_MMC_CQHCI) += cqhci.o
cqhci-y += cqhci-core.o
cqhci-$(CONFIG_MMC_CRYPTO) += cqhci-crypto.o
Expand Down
Loading

0 comments on commit 325a0d9

Please sign in to comment.