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