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" 1805f0430fSLukas Wunner depends on OF && (MWIFIEX != n || BT_MRVL_SDIO != n || LIBERTAS_SDIO != n || WILC1000_SDIO != n) 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 40*b6c41df3SJens Wiklander depends on RPMB || !RPMB 411444fed2SLinus Walleij imply IOSCHED_BFQ 42f397c8d8SUlf Hansson default y 43f397c8d8SUlf Hansson help 44f397c8d8SUlf Hansson Say Y here to enable the MMC block device driver support. 45f397c8d8SUlf Hansson This provides a block device driver, which you can use to 46f397c8d8SUlf Hansson mount the filesystem. Almost everyone wishing MMC support 47f397c8d8SUlf Hansson should say Y or M here. 48f397c8d8SUlf Hansson 49f397c8d8SUlf Hanssonconfig MMC_BLOCK_MINORS 50f397c8d8SUlf Hansson int "Number of minors per block device" 51f397c8d8SUlf Hansson depends on MMC_BLOCK 52f397c8d8SUlf Hansson range 4 256 53f397c8d8SUlf Hansson default 8 54f397c8d8SUlf Hansson help 55f397c8d8SUlf Hansson Number of minors per block device. One is needed for every 56f397c8d8SUlf Hansson partition on the disk (plus one for the whole disk). 57f397c8d8SUlf Hansson 58f397c8d8SUlf Hansson Number of total MMC minors available is 256, so your number 59f397c8d8SUlf Hansson of supported block devices will be limited to 256 divided 60f397c8d8SUlf Hansson by this number. 61f397c8d8SUlf Hansson 62f397c8d8SUlf Hansson Default is 8 to be backwards compatible with previous 63f397c8d8SUlf Hansson hardwired device numbering. 64f397c8d8SUlf Hansson 65f397c8d8SUlf Hansson If unsure, say 8 here. 66f397c8d8SUlf Hansson 67f397c8d8SUlf Hanssonconfig SDIO_UART 68f397c8d8SUlf Hansson tristate "SDIO UART/GPS class support" 69f397c8d8SUlf Hansson depends on TTY 70f397c8d8SUlf Hansson help 71f397c8d8SUlf Hansson SDIO function driver for SDIO cards that implements the UART 72f397c8d8SUlf Hansson class, as well as the GPS class which appears like a UART. 73f397c8d8SUlf Hansson 74f397c8d8SUlf Hanssonconfig MMC_TEST 75f397c8d8SUlf Hansson tristate "MMC host test driver" 76f397c8d8SUlf Hansson help 77f397c8d8SUlf Hansson Development driver that performs a series of reads and writes 78f397c8d8SUlf Hansson to a memory card in order to expose certain well known bugs 79f397c8d8SUlf Hansson in host controllers. The tests are executed by writing to the 80f397c8d8SUlf Hansson "test" file in debugfs under each card. Note that whatever is 81f397c8d8SUlf Hansson on your card will be overwritten by these tests. 82f397c8d8SUlf Hansson 83f397c8d8SUlf Hansson This driver is only of interest to those developing or 84f397c8d8SUlf Hansson testing a host driver. Most people should say N here. 85f397c8d8SUlf Hansson 8693f1c150SEric Biggersconfig MMC_CRYPTO 8793f1c150SEric Biggers bool "MMC Crypto Engine Support" 8893f1c150SEric Biggers depends on BLK_INLINE_ENCRYPTION 8993f1c150SEric Biggers help 9093f1c150SEric Biggers Enable Crypto Engine Support in MMC. 9193f1c150SEric Biggers Enabling this makes it possible for the kernel to use the crypto 9293f1c150SEric Biggers capabilities of the MMC device (if present) to perform crypto 9393f1c150SEric Biggers operations on data being transferred to/from the device. 94