1 # SPDX-License-Identifier: GPL-2.0+
3 # Kernel configuration file for the UFS Host Controller core.
5 # Copyright (C) 2011-2013 Samsung India Software Operations
12 bool "Universal Flash Storage BSG device node"
15 Universal Flash Storage (UFS) is SCSI transport specification for
16 accessing flash storage on digital cameras, mobile phones and
17 consumer electronic devices.
18 A UFS controller communicates with a UFS device by exchanging
19 UFS Protocol Information Units (UPIUs).
20 UPIUs can not only be used as a transport layer for the SCSI protocol
21 but are also used by the UFS native command set.
22 This transport driver supports exchanging UFS protocol information units
23 with a UFS device. See also the ufshcd driver, which is a SCSI driver
24 that supports UFS devices.
26 Select this if you need a bsg device node for your UFS controller.
29 config SCSI_UFS_CRYPTO
30 bool "UFS Crypto Engine Support"
31 depends on BLK_INLINE_ENCRYPTION
33 Enable Crypto Engine Support in UFS.
34 Enabling this makes it possible for the kernel to use the crypto
35 capabilities of the UFS device (if present) to perform crypto
36 operations on data being transferred to/from the device.
39 bool "Support UFS Host Performance Booster"
41 The UFS HPB feature improves random read performance. It caches
42 L2P (logical to physical) map of UFS to host DRAM. The driver uses HPB
43 read command by piggybacking physical page number for bypassing FTL (flash
44 translation layer)'s L2P address translation.
46 config SCSI_UFS_FAULT_INJECTION
47 bool "UFS Fault Injection Support"
48 depends on FAULT_INJECTION
50 Enable fault injection support in the UFS driver. This makes it easier
51 to test the UFS error handler and abort handler.
54 bool "UFS Temperature Notification"
55 depends on SCSI_UFSHCD=HWMON || HWMON=y
57 This provides support for UFS hardware monitoring. If enabled,
58 a hardware monitoring device will be created for the UFS device.