16abaa0c9SPierre Ossman# 26abaa0c9SPierre Ossman# MMC core configuration 36abaa0c9SPierre Ossman# 4d97a1e5dSSrinivas Kandagatlaconfig PWRSEQ_EMMC 5d97a1e5dSSrinivas Kandagatla tristate "HW reset support for eMMC" 6d97a1e5dSSrinivas Kandagatla default y 7d97a1e5dSSrinivas Kandagatla depends on OF 8d97a1e5dSSrinivas Kandagatla help 9d97a1e5dSSrinivas Kandagatla This selects Hardware reset support aka pwrseq-emmc for eMMC 10d97a1e5dSSrinivas Kandagatla devices. By default this option is set to y. 11d97a1e5dSSrinivas Kandagatla 12d97a1e5dSSrinivas Kandagatla This driver can also be built as a module. If so, the module 13d97a1e5dSSrinivas Kandagatla will be called pwrseq_emmc. 14d97a1e5dSSrinivas Kandagatla 15*de19b4c9SMatt Ranostayconfig PWRSEQ_SD8787 16*de19b4c9SMatt Ranostay tristate "HW reset support for SD8787 BT + Wifi module" 17*de19b4c9SMatt Ranostay depends on OF && (MWIFIEX || BT_MRVL_SDIO) 18*de19b4c9SMatt Ranostay help 19*de19b4c9SMatt Ranostay This selects hardware reset support for the SD8787 BT + Wifi 20*de19b4c9SMatt Ranostay module. By default this option is set to n. 21*de19b4c9SMatt Ranostay 22*de19b4c9SMatt Ranostay This driver can also be built as a module. If so, the module 23*de19b4c9SMatt Ranostay will be called pwrseq_sd8787. 24*de19b4c9SMatt Ranostay 25d97a1e5dSSrinivas Kandagatlaconfig PWRSEQ_SIMPLE 26d97a1e5dSSrinivas Kandagatla tristate "Simple HW reset support for MMC" 27d97a1e5dSSrinivas Kandagatla default y 28d97a1e5dSSrinivas Kandagatla depends on OF 29d97a1e5dSSrinivas Kandagatla help 30d97a1e5dSSrinivas Kandagatla This selects simple hardware reset support aka pwrseq-simple for MMC 31d97a1e5dSSrinivas Kandagatla devices. By default this option is set to y. 32d97a1e5dSSrinivas Kandagatla 33d97a1e5dSSrinivas Kandagatla This driver can also be built as a module. If so, the module 34d97a1e5dSSrinivas Kandagatla will be called pwrseq_simple. 35f397c8d8SUlf Hansson 36f397c8d8SUlf Hanssonconfig MMC_BLOCK 37f397c8d8SUlf Hansson tristate "MMC block device driver" 38f397c8d8SUlf Hansson depends on BLOCK 39f397c8d8SUlf Hansson default y 40f397c8d8SUlf Hansson help 41f397c8d8SUlf Hansson Say Y here to enable the MMC block device driver support. 42f397c8d8SUlf Hansson This provides a block device driver, which you can use to 43f397c8d8SUlf Hansson mount the filesystem. Almost everyone wishing MMC support 44f397c8d8SUlf Hansson should say Y or M here. 45f397c8d8SUlf Hansson 46f397c8d8SUlf Hanssonconfig MMC_BLOCK_MINORS 47f397c8d8SUlf Hansson int "Number of minors per block device" 48f397c8d8SUlf Hansson depends on MMC_BLOCK 49f397c8d8SUlf Hansson range 4 256 50f397c8d8SUlf Hansson default 8 51f397c8d8SUlf Hansson help 52f397c8d8SUlf Hansson Number of minors per block device. One is needed for every 53f397c8d8SUlf Hansson partition on the disk (plus one for the whole disk). 54f397c8d8SUlf Hansson 55f397c8d8SUlf Hansson Number of total MMC minors available is 256, so your number 56f397c8d8SUlf Hansson of supported block devices will be limited to 256 divided 57f397c8d8SUlf Hansson by this number. 58f397c8d8SUlf Hansson 59f397c8d8SUlf Hansson Default is 8 to be backwards compatible with previous 60f397c8d8SUlf Hansson hardwired device numbering. 61f397c8d8SUlf Hansson 62f397c8d8SUlf Hansson If unsure, say 8 here. 63f397c8d8SUlf Hansson 64f397c8d8SUlf Hanssonconfig MMC_BLOCK_BOUNCE 65f397c8d8SUlf Hansson bool "Use bounce buffer for simple hosts" 66f397c8d8SUlf Hansson depends on MMC_BLOCK 67f397c8d8SUlf Hansson default y 68f397c8d8SUlf Hansson help 69f397c8d8SUlf Hansson SD/MMC is a high latency protocol where it is crucial to 70f397c8d8SUlf Hansson send large requests in order to get high performance. Many 71f397c8d8SUlf Hansson controllers, however, are restricted to continuous memory 72f397c8d8SUlf Hansson (i.e. they can't do scatter-gather), something the kernel 73f397c8d8SUlf Hansson rarely can provide. 74f397c8d8SUlf Hansson 75f397c8d8SUlf Hansson Say Y here to help these restricted hosts by bouncing 76f397c8d8SUlf Hansson requests back and forth from a large buffer. You will get 77f397c8d8SUlf Hansson a big performance gain at the cost of up to 64 KiB of 78f397c8d8SUlf Hansson physical memory. 79f397c8d8SUlf Hansson 80f397c8d8SUlf Hansson If unsure, say Y here. 81f397c8d8SUlf Hansson 82f397c8d8SUlf Hanssonconfig SDIO_UART 83f397c8d8SUlf Hansson tristate "SDIO UART/GPS class support" 84f397c8d8SUlf Hansson depends on TTY 85f397c8d8SUlf Hansson help 86f397c8d8SUlf Hansson SDIO function driver for SDIO cards that implements the UART 87f397c8d8SUlf Hansson class, as well as the GPS class which appears like a UART. 88f397c8d8SUlf Hansson 89f397c8d8SUlf Hanssonconfig MMC_TEST 90f397c8d8SUlf Hansson tristate "MMC host test driver" 91f397c8d8SUlf Hansson help 92f397c8d8SUlf Hansson Development driver that performs a series of reads and writes 93f397c8d8SUlf Hansson to a memory card in order to expose certain well known bugs 94f397c8d8SUlf Hansson in host controllers. The tests are executed by writing to the 95f397c8d8SUlf Hansson "test" file in debugfs under each card. Note that whatever is 96f397c8d8SUlf Hansson on your card will be overwritten by these tests. 97f397c8d8SUlf Hansson 98f397c8d8SUlf Hansson This driver is only of interest to those developing or 99f397c8d8SUlf Hansson testing a host driver. Most people should say N here. 100f397c8d8SUlf Hansson 101