0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # MMC core configuration
0004 #
0005 config PWRSEQ_EMMC
0006 tristate "HW reset support for eMMC"
0007 default y
0008 depends on OF
0009 help
0010 This selects Hardware reset support aka pwrseq-emmc for eMMC
0011 devices. By default this option is set to y.
0012
0013 This driver can also be built as a module. If so, the module
0014 will be called pwrseq_emmc.
0015
0016 config PWRSEQ_SD8787
0017 tristate "HW reset support for SD8787 BT + Wifi module"
0018 depends on OF && (MWIFIEX || BT_MRVL_SDIO || LIBERTAS_SDIO || WILC1000_SDIO)
0019 help
0020 This selects hardware reset support for the SD8787 BT + Wifi
0021 module. By default this option is set to n.
0022
0023 This driver can also be built as a module. If so, the module
0024 will be called pwrseq_sd8787.
0025
0026 config PWRSEQ_SIMPLE
0027 tristate "Simple HW reset support for MMC"
0028 default y
0029 depends on OF
0030 help
0031 This selects simple hardware reset support aka pwrseq-simple for MMC
0032 devices. By default this option is set to y.
0033
0034 This driver can also be built as a module. If so, the module
0035 will be called pwrseq_simple.
0036
0037 config MMC_BLOCK
0038 tristate "MMC block device driver"
0039 depends on BLOCK
0040 default y
0041 help
0042 Say Y here to enable the MMC block device driver support.
0043 This provides a block device driver, which you can use to
0044 mount the filesystem. Almost everyone wishing MMC support
0045 should say Y or M here.
0046
0047 config MMC_BLOCK_MINORS
0048 int "Number of minors per block device"
0049 depends on MMC_BLOCK
0050 range 4 256
0051 default 8
0052 help
0053 Number of minors per block device. One is needed for every
0054 partition on the disk (plus one for the whole disk).
0055
0056 Number of total MMC minors available is 256, so your number
0057 of supported block devices will be limited to 256 divided
0058 by this number.
0059
0060 Default is 8 to be backwards compatible with previous
0061 hardwired device numbering.
0062
0063 If unsure, say 8 here.
0064
0065 config SDIO_UART
0066 tristate "SDIO UART/GPS class support"
0067 depends on TTY
0068 help
0069 SDIO function driver for SDIO cards that implements the UART
0070 class, as well as the GPS class which appears like a UART.
0071
0072 config MMC_TEST
0073 tristate "MMC host test driver"
0074 help
0075 Development driver that performs a series of reads and writes
0076 to a memory card in order to expose certain well known bugs
0077 in host controllers. The tests are executed by writing to the
0078 "test" file in debugfs under each card. Note that whatever is
0079 on your card will be overwritten by these tests.
0080
0081 This driver is only of interest to those developing or
0082 testing a host driver. Most people should say N here.
0083
0084 config MMC_CRYPTO
0085 bool "MMC Crypto Engine Support"
0086 depends on BLK_INLINE_ENCRYPTION
0087 help
0088 Enable Crypto Engine Support in MMC.
0089 Enabling this makes it possible for the kernel to use the crypto
0090 capabilities of the MMC device (if present) to perform crypto
0091 operations on data being transferred to/from the device.