xref: /openbmc/linux/drivers/ufs/Kconfig (revision 81895a65)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# UFS subsystem configuration
4#
5
6menuconfig SCSI_UFSHCD
7	tristate "Universal Flash Storage Controller"
8	depends on SCSI && SCSI_DMA
9	select PM_DEVFREQ
10	select DEVFREQ_GOV_SIMPLE_ONDEMAND
11	select NLS
12	help
13	  Enables support for UFS (Universal Flash Storage) host controllers.
14	  A UFS host controller is an electronic component that is able to
15	  communicate with a UFS card. UFS host controllers occur in
16	  smartphones, laptops, digital cameras and also in cars.
17	  The kernel module will be called ufshcd.
18
19	  To compile this driver as a module, choose M here and read
20	  <file:Documentation/scsi/ufs.rst>.
21	  However, do not compile this as a module if your root file system
22	  (the one containing the directory /) is located on a UFS device.
23
24if SCSI_UFSHCD
25
26source "drivers/ufs/core/Kconfig"
27
28source "drivers/ufs/host/Kconfig"
29
30endif
31