162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0+
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Kernel configuration file for the UFS Host Controller core.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci# Copyright (C) 2011-2013 Samsung India Software Operations
662306a36Sopenharmony_ci#
762306a36Sopenharmony_ci# Authors:
862306a36Sopenharmony_ci#	Santosh Yaraganavi <santosh.sy@samsung.com>
962306a36Sopenharmony_ci#	Vinayak Holikatti <h.vinayak@samsung.com>
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciconfig SCSI_UFS_BSG
1262306a36Sopenharmony_ci	bool "Universal Flash Storage BSG device node"
1362306a36Sopenharmony_ci	select BLK_DEV_BSGLIB
1462306a36Sopenharmony_ci	help
1562306a36Sopenharmony_ci	  Universal Flash Storage (UFS) is SCSI transport specification for
1662306a36Sopenharmony_ci	  accessing flash storage on digital cameras, mobile phones and
1762306a36Sopenharmony_ci	  consumer electronic devices.
1862306a36Sopenharmony_ci	  A UFS controller communicates with a UFS device by exchanging
1962306a36Sopenharmony_ci	  UFS Protocol Information Units (UPIUs).
2062306a36Sopenharmony_ci	  UPIUs can not only be used as a transport layer for the SCSI protocol
2162306a36Sopenharmony_ci	  but are also used by the UFS native command set.
2262306a36Sopenharmony_ci	  This transport driver supports exchanging UFS protocol information units
2362306a36Sopenharmony_ci	  with a UFS device. See also the ufshcd driver, which is a SCSI driver
2462306a36Sopenharmony_ci	  that supports UFS devices.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ci	  Select this if you need a bsg device node for your UFS controller.
2762306a36Sopenharmony_ci	  If unsure, say N.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciconfig SCSI_UFS_CRYPTO
3062306a36Sopenharmony_ci	bool "UFS Crypto Engine Support"
3162306a36Sopenharmony_ci	depends on BLK_INLINE_ENCRYPTION
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  Enable Crypto Engine Support in UFS.
3462306a36Sopenharmony_ci	  Enabling this makes it possible for the kernel to use the crypto
3562306a36Sopenharmony_ci	  capabilities of the UFS device (if present) to perform crypto
3662306a36Sopenharmony_ci	  operations on data being transferred to/from the device.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciconfig SCSI_UFS_FAULT_INJECTION
3962306a36Sopenharmony_ci	bool "UFS Fault Injection Support"
4062306a36Sopenharmony_ci	depends on FAULT_INJECTION
4162306a36Sopenharmony_ci	help
4262306a36Sopenharmony_ci	  Enable fault injection support in the UFS driver. This makes it easier
4362306a36Sopenharmony_ci	  to test the UFS error handler and abort handler.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig SCSI_UFS_HWMON
4662306a36Sopenharmony_ci	bool "UFS Temperature Notification"
4762306a36Sopenharmony_ci	depends on SCSI_UFSHCD=HWMON || HWMON=y
4862306a36Sopenharmony_ci	help
4962306a36Sopenharmony_ci	  This provides support for UFS hardware monitoring. If enabled,
5062306a36Sopenharmony_ci	  a hardware monitoring device will be created for the UFS device.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci	  If unsure, say N.
53