0001 # SPDX-License-Identifier: GPL-2.0+
0002 #
0003 # Kernel configuration file for the UFS Host Controller core.
0004 #
0005 # Copyright (C) 2011-2013 Samsung India Software Operations
0006 #
0007 # Authors:
0008 # Santosh Yaraganavi <santosh.sy@samsung.com>
0009 # Vinayak Holikatti <h.vinayak@samsung.com>
0010
0011 config SCSI_UFS_BSG
0012 bool "Universal Flash Storage BSG device node"
0013 select BLK_DEV_BSGLIB
0014 help
0015 Universal Flash Storage (UFS) is SCSI transport specification for
0016 accessing flash storage on digital cameras, mobile phones and
0017 consumer electronic devices.
0018 A UFS controller communicates with a UFS device by exchanging
0019 UFS Protocol Information Units (UPIUs).
0020 UPIUs can not only be used as a transport layer for the SCSI protocol
0021 but are also used by the UFS native command set.
0022 This transport driver supports exchanging UFS protocol information units
0023 with a UFS device. See also the ufshcd driver, which is a SCSI driver
0024 that supports UFS devices.
0025
0026 Select this if you need a bsg device node for your UFS controller.
0027 If unsure, say N.
0028
0029 config SCSI_UFS_CRYPTO
0030 bool "UFS Crypto Engine Support"
0031 depends on BLK_INLINE_ENCRYPTION
0032 help
0033 Enable Crypto Engine Support in UFS.
0034 Enabling this makes it possible for the kernel to use the crypto
0035 capabilities of the UFS device (if present) to perform crypto
0036 operations on data being transferred to/from the device.
0037
0038 config SCSI_UFS_HPB
0039 bool "Support UFS Host Performance Booster"
0040 help
0041 The UFS HPB feature improves random read performance. It caches
0042 L2P (logical to physical) map of UFS to host DRAM. The driver uses HPB
0043 read command by piggybacking physical page number for bypassing FTL (flash
0044 translation layer)'s L2P address translation.
0045
0046 config SCSI_UFS_FAULT_INJECTION
0047 bool "UFS Fault Injection Support"
0048 depends on FAULT_INJECTION
0049 help
0050 Enable fault injection support in the UFS driver. This makes it easier
0051 to test the UFS error handler and abort handler.
0052
0053 config SCSI_UFS_HWMON
0054 bool "UFS Temperature Notification"
0055 depends on SCSI_UFSHCD=HWMON || HWMON=y
0056 help
0057 This provides support for UFS hardware monitoring. If enabled,
0058 a hardware monitoring device will be created for the UFS device.
0059
0060 If unsure, say N.