xref: /openbmc/linux/drivers/mmc/core/Kconfig (revision 7effbd18)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# MMC core configuration
4#
5config PWRSEQ_EMMC
6	tristate "HW reset support for eMMC"
7	default y
8	depends on OF
9	help
10	  This selects Hardware reset support aka pwrseq-emmc for eMMC
11	  devices. By default this option is set to y.
12
13	  This driver can also be built as a module. If so, the module
14	  will be called pwrseq_emmc.
15
16config PWRSEQ_SD8787
17	tristate "HW reset support for SD8787 BT + Wifi module"
18	depends on OF && (MWIFIEX != n || BT_MRVL_SDIO != n || LIBERTAS_SDIO != n || WILC1000_SDIO != n)
19	help
20	  This selects hardware reset support for the SD8787 BT + Wifi
21	  module. By default this option is set to n.
22
23	  This driver can also be built as a module. If so, the module
24	  will be called pwrseq_sd8787.
25
26config PWRSEQ_SIMPLE
27	tristate "Simple HW reset support for MMC"
28	default y
29	depends on OF
30	help
31	  This selects simple hardware reset support aka pwrseq-simple for MMC
32	  devices. By default this option is set to y.
33
34	  This driver can also be built as a module. If so, the module
35	  will be called pwrseq_simple.
36
37config MMC_BLOCK
38	tristate "MMC block device driver"
39	depends on BLOCK
40	imply IOSCHED_BFQ
41	default y
42	help
43	  Say Y here to enable the MMC block device driver support.
44	  This provides a block device driver, which you can use to
45	  mount the filesystem. Almost everyone wishing MMC support
46	  should say Y or M here.
47
48config MMC_BLOCK_MINORS
49	int "Number of minors per block device"
50	depends on MMC_BLOCK
51	range 4 256
52	default 8
53	help
54	  Number of minors per block device. One is needed for every
55	  partition on the disk (plus one for the whole disk).
56
57	  Number of total MMC minors available is 256, so your number
58	  of supported block devices will be limited to 256 divided
59	  by this number.
60
61	  Default is 8 to be backwards compatible with previous
62	  hardwired device numbering.
63
64	  If unsure, say 8 here.
65
66config SDIO_UART
67	tristate "SDIO UART/GPS class support"
68	depends on TTY
69	help
70	  SDIO function driver for SDIO cards that implements the UART
71	  class, as well as the GPS class which appears like a UART.
72
73config MMC_TEST
74	tristate "MMC host test driver"
75	help
76	  Development driver that performs a series of reads and writes
77	  to a memory card in order to expose certain well known bugs
78	  in host controllers. The tests are executed by writing to the
79	  "test" file in debugfs under each card. Note that whatever is
80	  on your card will be overwritten by these tests.
81
82	  This driver is only of interest to those developing or
83	  testing a host driver. Most people should say N here.
84
85config MMC_CRYPTO
86	bool "MMC Crypto Engine Support"
87	depends on BLK_INLINE_ENCRYPTION
88	help
89	  Enable Crypto Engine Support in MMC.
90	  Enabling this makes it possible for the kernel to use the crypto
91	  capabilities of the MMC device (if present) to perform crypto
92	  operations on data being transferred to/from the device.
93