Skip to content

Commit a408022

Browse files
Venkat Gopalakrishnanstorulf
Venkat Gopalakrishnan
authored andcommitted
mmc: cqhci: support for command queue enabled host
This patch adds CMDQ support for command-queue compatible hosts. Command queue is added in eMMC-5.1 specification. This enables the controller to process upto 32 requests at a time. Adrian Hunter contributed renaming to cqhci, recovery, suspend and resume, cqhci_off, cqhci_wait_for_idle, and external timeout handling. Signed-off-by: Asutosh Das <[email protected]> Signed-off-by: Sujit Reddy Thumma <[email protected]> Signed-off-by: Konstantin Dorfman <[email protected]> Signed-off-by: Venkat Gopalakrishnan <[email protected]> Signed-off-by: Subhash Jadavani <[email protected]> Signed-off-by: Ritesh Harjani <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Tested-by: Linus Walleij <[email protected]>
1 parent 1e8e55b commit a408022

File tree

4 files changed

+1404
-0
lines changed

4 files changed

+1404
-0
lines changed

drivers/mmc/host/Kconfig

+13
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,19 @@ config MMC_SUNXI
857857
This selects support for the SD/MMC Host Controller on
858858
Allwinner sunxi SoCs.
859859

860+
config MMC_CQHCI
861+
tristate "Command Queue Host Controller Interface support"
862+
depends on HAS_DMA
863+
help
864+
This selects the Command Queue Host Controller Interface (CQHCI)
865+
support present in host controllers of Qualcomm Technologies, Inc
866+
amongst others.
867+
This controller supports eMMC devices with command queue support.
868+
869+
If you have a controller with this interface, say Y or M here.
870+
871+
If unsure, say N.
872+
860873
config MMC_TOSHIBA_PCI
861874
tristate "Toshiba Type A SD/MMC Card Interface Driver"
862875
depends on PCI

drivers/mmc/host/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ obj-$(CONFIG_MMC_SDHCI_ST) += sdhci-st.o
9292
obj-$(CONFIG_MMC_SDHCI_MICROCHIP_PIC32) += sdhci-pic32.o
9393
obj-$(CONFIG_MMC_SDHCI_BRCMSTB) += sdhci-brcmstb.o
9494
obj-$(CONFIG_MMC_SDHCI_OMAP) += sdhci-omap.o
95+
obj-$(CONFIG_MMC_CQHCI) += cqhci.o
9596

9697
ifeq ($(CONFIG_CB710_DEBUG),y)
9798
CFLAGS-cb710-mmc += -DDEBUG

0 commit comments

Comments
 (0)