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