xref: /linux/drivers/mmc/core/Kconfig (revision ac379b7ca1b0a664db2b36fc960f2e940698d4e4)
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
15de19b4c9SMatt Ranostayconfig PWRSEQ_SD8787
16de19b4c9SMatt Ranostay	tristate "HW reset support for SD8787 BT + Wifi module"
17*ac379b7cSLubomir Rintel	depends on OF && (MWIFIEX || BT_MRVL_SDIO || LIBERTAS_SDIO)
18de19b4c9SMatt Ranostay	help
19de19b4c9SMatt Ranostay	  This selects hardware reset support for the SD8787 BT + Wifi
20de19b4c9SMatt Ranostay	  module. By default this option is set to n.
21de19b4c9SMatt Ranostay
22de19b4c9SMatt Ranostay	  This driver can also be built as a module. If so, the module
23de19b4c9SMatt Ranostay	  will be called pwrseq_sd8787.
24de19b4c9SMatt 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 SDIO_UART
65f397c8d8SUlf Hansson	tristate "SDIO UART/GPS class support"
66f397c8d8SUlf Hansson	depends on TTY
67f397c8d8SUlf Hansson	help
68f397c8d8SUlf Hansson	  SDIO function driver for SDIO cards that implements the UART
69f397c8d8SUlf Hansson	  class, as well as the GPS class which appears like a UART.
70f397c8d8SUlf Hansson
71f397c8d8SUlf Hanssonconfig MMC_TEST
72f397c8d8SUlf Hansson	tristate "MMC host test driver"
73f397c8d8SUlf Hansson	help
74f397c8d8SUlf Hansson	  Development driver that performs a series of reads and writes
75f397c8d8SUlf Hansson	  to a memory card in order to expose certain well known bugs
76f397c8d8SUlf Hansson	  in host controllers. The tests are executed by writing to the
77f397c8d8SUlf Hansson	  "test" file in debugfs under each card. Note that whatever is
78f397c8d8SUlf Hansson	  on your card will be overwritten by these tests.
79f397c8d8SUlf Hansson
80f397c8d8SUlf Hansson	  This driver is only of interest to those developing or
81f397c8d8SUlf Hansson	  testing a host driver. Most people should say N here.
82f397c8d8SUlf Hansson
83