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