18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# MMC core configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ciconfig PWRSEQ_EMMC
68c2ecf20Sopenharmony_ci	tristate "HW reset support for eMMC"
78c2ecf20Sopenharmony_ci	default y
88c2ecf20Sopenharmony_ci	depends on OF
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  This selects Hardware reset support aka pwrseq-emmc for eMMC
118c2ecf20Sopenharmony_ci	  devices. By default this option is set to y.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module
148c2ecf20Sopenharmony_ci	  will be called pwrseq_emmc.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig PWRSEQ_SD8787
178c2ecf20Sopenharmony_ci	tristate "HW reset support for SD8787 BT + Wifi module"
188c2ecf20Sopenharmony_ci	depends on OF && (MWIFIEX || BT_MRVL_SDIO || LIBERTAS_SDIO)
198c2ecf20Sopenharmony_ci	help
208c2ecf20Sopenharmony_ci	  This selects hardware reset support for the SD8787 BT + Wifi
218c2ecf20Sopenharmony_ci	  module. By default this option is set to n.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module
248c2ecf20Sopenharmony_ci	  will be called pwrseq_sd8787.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciconfig PWRSEQ_SIMPLE
278c2ecf20Sopenharmony_ci	tristate "Simple HW reset support for MMC"
288c2ecf20Sopenharmony_ci	default y
298c2ecf20Sopenharmony_ci	depends on OF
308c2ecf20Sopenharmony_ci	help
318c2ecf20Sopenharmony_ci	  This selects simple hardware reset support aka pwrseq-simple for MMC
328c2ecf20Sopenharmony_ci	  devices. By default this option is set to y.
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module
358c2ecf20Sopenharmony_ci	  will be called pwrseq_simple.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciconfig MMC_BLOCK
388c2ecf20Sopenharmony_ci	tristate "MMC block device driver"
398c2ecf20Sopenharmony_ci	depends on BLOCK
408c2ecf20Sopenharmony_ci	default y
418c2ecf20Sopenharmony_ci	help
428c2ecf20Sopenharmony_ci	  Say Y here to enable the MMC block device driver support.
438c2ecf20Sopenharmony_ci	  This provides a block device driver, which you can use to
448c2ecf20Sopenharmony_ci	  mount the filesystem. Almost everyone wishing MMC support
458c2ecf20Sopenharmony_ci	  should say Y or M here.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciconfig MMC_BLOCK_MINORS
488c2ecf20Sopenharmony_ci	int "Number of minors per block device"
498c2ecf20Sopenharmony_ci	depends on MMC_BLOCK
508c2ecf20Sopenharmony_ci	range 4 256
518c2ecf20Sopenharmony_ci	default 8
528c2ecf20Sopenharmony_ci	help
538c2ecf20Sopenharmony_ci	  Number of minors per block device. One is needed for every
548c2ecf20Sopenharmony_ci	  partition on the disk (plus one for the whole disk).
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci	  Number of total MMC minors available is 256, so your number
578c2ecf20Sopenharmony_ci	  of supported block devices will be limited to 256 divided
588c2ecf20Sopenharmony_ci	  by this number.
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ci	  Default is 8 to be backwards compatible with previous
618c2ecf20Sopenharmony_ci	  hardwired device numbering.
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci	  If unsure, say 8 here.
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ciconfig SDIO_UART
668c2ecf20Sopenharmony_ci	tristate "SDIO UART/GPS class support"
678c2ecf20Sopenharmony_ci	depends on TTY
688c2ecf20Sopenharmony_ci	help
698c2ecf20Sopenharmony_ci	  SDIO function driver for SDIO cards that implements the UART
708c2ecf20Sopenharmony_ci	  class, as well as the GPS class which appears like a UART.
718c2ecf20Sopenharmony_ci
728c2ecf20Sopenharmony_ciconfig MMC_TEST
738c2ecf20Sopenharmony_ci	tristate "MMC host test driver"
748c2ecf20Sopenharmony_ci	help
758c2ecf20Sopenharmony_ci	  Development driver that performs a series of reads and writes
768c2ecf20Sopenharmony_ci	  to a memory card in order to expose certain well known bugs
778c2ecf20Sopenharmony_ci	  in host controllers. The tests are executed by writing to the
788c2ecf20Sopenharmony_ci	  "test" file in debugfs under each card. Note that whatever is
798c2ecf20Sopenharmony_ci	  on your card will be overwritten by these tests.
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci	  This driver is only of interest to those developing or
828c2ecf20Sopenharmony_ci	  testing a host driver. Most people should say N here.
838c2ecf20Sopenharmony_ci
84