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