xref: /linux/drivers/ufs/core/Kconfig (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1*dd11376bSBart Van Assche# SPDX-License-Identifier: GPL-2.0+
2*dd11376bSBart Van Assche#
3*dd11376bSBart Van Assche# Kernel configuration file for the UFS Host Controller core.
4*dd11376bSBart Van Assche#
5*dd11376bSBart Van Assche# Copyright (C) 2011-2013 Samsung India Software Operations
6*dd11376bSBart Van Assche#
7*dd11376bSBart Van Assche# Authors:
8*dd11376bSBart Van Assche#	Santosh Yaraganavi <santosh.sy@samsung.com>
9*dd11376bSBart Van Assche#	Vinayak Holikatti <h.vinayak@samsung.com>
10*dd11376bSBart Van Assche
11*dd11376bSBart Van Asscheconfig SCSI_UFS_BSG
12*dd11376bSBart Van Assche	bool "Universal Flash Storage BSG device node"
13*dd11376bSBart Van Assche	select BLK_DEV_BSGLIB
14*dd11376bSBart Van Assche	help
15*dd11376bSBart Van Assche	  Universal Flash Storage (UFS) is SCSI transport specification for
16*dd11376bSBart Van Assche	  accessing flash storage on digital cameras, mobile phones and
17*dd11376bSBart Van Assche	  consumer electronic devices.
18*dd11376bSBart Van Assche	  A UFS controller communicates with a UFS device by exchanging
19*dd11376bSBart Van Assche	  UFS Protocol Information Units (UPIUs).
20*dd11376bSBart Van Assche	  UPIUs can not only be used as a transport layer for the SCSI protocol
21*dd11376bSBart Van Assche	  but are also used by the UFS native command set.
22*dd11376bSBart Van Assche	  This transport driver supports exchanging UFS protocol information units
23*dd11376bSBart Van Assche	  with a UFS device. See also the ufshcd driver, which is a SCSI driver
24*dd11376bSBart Van Assche	  that supports UFS devices.
25*dd11376bSBart Van Assche
26*dd11376bSBart Van Assche	  Select this if you need a bsg device node for your UFS controller.
27*dd11376bSBart Van Assche	  If unsure, say N.
28*dd11376bSBart Van Assche
29*dd11376bSBart Van Asscheconfig SCSI_UFS_CRYPTO
30*dd11376bSBart Van Assche	bool "UFS Crypto Engine Support"
31*dd11376bSBart Van Assche	depends on BLK_INLINE_ENCRYPTION
32*dd11376bSBart Van Assche	help
33*dd11376bSBart Van Assche	  Enable Crypto Engine Support in UFS.
34*dd11376bSBart Van Assche	  Enabling this makes it possible for the kernel to use the crypto
35*dd11376bSBart Van Assche	  capabilities of the UFS device (if present) to perform crypto
36*dd11376bSBart Van Assche	  operations on data being transferred to/from the device.
37*dd11376bSBart Van Assche
38*dd11376bSBart Van Asscheconfig SCSI_UFS_FAULT_INJECTION
39*dd11376bSBart Van Assche	bool "UFS Fault Injection Support"
40*dd11376bSBart Van Assche	depends on FAULT_INJECTION
41*dd11376bSBart Van Assche	help
42*dd11376bSBart Van Assche	  Enable fault injection support in the UFS driver. This makes it easier
43*dd11376bSBart Van Assche	  to test the UFS error handler and abort handler.
44*dd11376bSBart Van Assche
45*dd11376bSBart Van Asscheconfig SCSI_UFS_HWMON
46*dd11376bSBart Van Assche	bool "UFS Temperature Notification"
47*dd11376bSBart Van Assche	depends on SCSI_UFSHCD=HWMON || HWMON=y
48*dd11376bSBart Van Assche	help
49*dd11376bSBart Van Assche	  This provides support for UFS hardware monitoring. If enabled,
50*dd11376bSBart Van Assche	  a hardware monitoring device will be created for the UFS device.
51*dd11376bSBart Van Assche
52*dd11376bSBart Van Assche	  If unsure, say N.
53