2012-02-29 12:11:50 +05:30
|
|
|
#
|
|
|
|
# Kernel configuration file for the UFS Host Controller
|
|
|
|
#
|
|
|
|
# This code is based on drivers/scsi/ufs/Kconfig
|
2013-02-25 21:44:32 +05:30
|
|
|
# Copyright (C) 2011-2013 Samsung India Software Operations
|
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Santosh Yaraganavi <santosh.sy@samsung.com>
|
|
|
|
# Vinayak Holikatti <h.vinayak@samsung.com>
|
2012-02-29 12:11:50 +05:30
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
2013-02-25 21:44:32 +05:30
|
|
|
# See the COPYING file in the top-level directory or visit
|
|
|
|
# <http://www.gnu.org/licenses/gpl-2.0.html>
|
|
|
|
#
|
2012-02-29 12:11:50 +05:30
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2013-02-25 21:44:32 +05:30
|
|
|
#
|
|
|
|
# This program is provided "AS IS" and "WITH ALL FAULTS" and
|
|
|
|
# without warranty of any kind. You are solely responsible for
|
|
|
|
# determining the appropriateness of using and distributing
|
|
|
|
# the program and assume all risks associated with your exercise
|
|
|
|
# of rights with respect to the program, including but not limited
|
|
|
|
# to infringement of third party rights, the risks and costs of
|
|
|
|
# program errors, damage to or loss of data, programs or equipment,
|
|
|
|
# and unavailability or interruption of operations. Under no
|
|
|
|
# circumstances will the contributor of this Program be liable for
|
|
|
|
# any damages of any kind arising from your use or distribution of
|
|
|
|
# this program.
|
2012-02-29 12:11:50 +05:30
|
|
|
|
|
|
|
config SCSI_UFSHCD
|
2013-02-25 21:44:33 +05:30
|
|
|
tristate "Universal Flash Storage Controller Driver Core"
|
2013-05-14 21:34:14 +05:30
|
|
|
depends on SCSI && SCSI_DMA
|
2014-09-25 15:32:34 +03:00
|
|
|
select PM_DEVFREQ
|
|
|
|
select DEVFREQ_GOV_SIMPLE_ONDEMAND
|
2016-03-17 13:29:52 +01:00
|
|
|
select NLS
|
2012-02-29 12:11:50 +05:30
|
|
|
---help---
|
2013-02-25 21:44:33 +05:30
|
|
|
This selects the support for UFS devices in Linux, say Y and make
|
|
|
|
sure that you know the name of your UFS host adapter (the card
|
|
|
|
inside your computer that "speaks" the UFS protocol, also
|
|
|
|
called UFS Host Controller), because you will be asked for it.
|
|
|
|
The module will be called ufshcd.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here and read
|
|
|
|
<file:Documentation/scsi/ufs.txt>.
|
|
|
|
However, do not compile this as a module if your root file system
|
|
|
|
(the one containing the directory /) is located on a UFS device.
|
|
|
|
|
|
|
|
config SCSI_UFSHCD_PCI
|
|
|
|
tristate "PCI bus based UFS Controller support"
|
|
|
|
depends on SCSI_UFSHCD && PCI
|
|
|
|
---help---
|
|
|
|
This selects the PCI UFS Host Controller Interface. Select this if
|
|
|
|
you have UFS Host Controller with PCI Interface.
|
|
|
|
|
|
|
|
If you have a controller with this interface, say Y or M here.
|
|
|
|
|
|
|
|
If unsure, say N.
|
2016-05-11 12:21:33 +01:00
|
|
|
|
|
|
|
config SCSI_UFS_DWC_TC_PCI
|
|
|
|
tristate "DesignWare pci support using a G210 Test Chip"
|
2016-09-23 12:52:52 +01:00
|
|
|
depends on SCSI_UFSHCD_PCI
|
2016-05-11 12:21:33 +01:00
|
|
|
---help---
|
|
|
|
Synopsys Test Chip is a PHY for prototyping purposes.
|
|
|
|
|
|
|
|
If unsure, say N.
|
2013-02-26 18:04:45 +05:30
|
|
|
|
|
|
|
config SCSI_UFSHCD_PLATFORM
|
|
|
|
tristate "Platform bus based UFS Controller support"
|
|
|
|
depends on SCSI_UFSHCD
|
|
|
|
---help---
|
|
|
|
This selects the UFS host controller support. Select this if
|
|
|
|
you have an UFS controller on Platform bus.
|
|
|
|
|
|
|
|
If you have a controller with this interface, say Y or M here.
|
|
|
|
|
|
|
|
If unsure, say N.
|
2015-01-15 16:32:37 +02:00
|
|
|
|
2016-05-11 12:21:32 +01:00
|
|
|
config SCSI_UFS_DWC_TC_PLATFORM
|
|
|
|
tristate "DesignWare platform support using a G210 Test Chip"
|
|
|
|
depends on SCSI_UFSHCD_PLATFORM
|
|
|
|
---help---
|
|
|
|
Synopsys Test Chip is a PHY for prototyping purposes.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2015-01-15 16:32:37 +02:00
|
|
|
config SCSI_UFS_QCOM
|
2015-10-28 13:15:46 +02:00
|
|
|
tristate "QCOM specific hooks to UFS controller platform driver"
|
2015-04-10 16:11:06 -07:00
|
|
|
depends on SCSI_UFSHCD_PLATFORM && ARCH_QCOM
|
2015-01-15 16:32:37 +02:00
|
|
|
select PHY_QCOM_UFS
|
|
|
|
help
|
|
|
|
This selects the QCOM specific additions to UFSHCD platform driver.
|
|
|
|
UFS host on QCOM needs some vendor specific configuration before
|
|
|
|
accessing the hardware which includes PHY configuration and vendor
|
|
|
|
specific registers.
|
|
|
|
|
|
|
|
Select this if you have UFS controller on QCOM chipset.
|
|
|
|
If unsure, say N.
|
2013-02-11 11:58:14 +02:00
|
|
|
|
|
|
|
config SCSI_UFS_TEST
|
|
|
|
tristate "Universal Flash Storage host controller driver unit-tests"
|
|
|
|
depends on SCSI_UFSHCD && IOSCHED_TEST
|
2015-02-08 09:36:17 +02:00
|
|
|
default m
|
2013-02-11 11:58:14 +02:00
|
|
|
---help---
|
|
|
|
This adds UFS Host controller unit-test framework.
|
|
|
|
The UFS unit-tests register as a block device test utility to
|
|
|
|
the test-iosched and will be initiated when the test-iosched will
|
2013-07-08 19:22:10 +05:30
|
|
|
be chosen to be the active I/O scheduler.
|
2017-04-18 16:22:56 +08:00
|
|
|
|
|
|
|
config SCSI_UFSHCD_CMD_LOGGING
|
|
|
|
bool "Universal Flash Storage host controller driver layer command logging support"
|
|
|
|
depends on SCSI_UFSHCD
|
|
|
|
help
|
|
|
|
This selects the UFS host controller driver layer command logging.
|
|
|
|
UFS host controller driver layer command logging records all the
|
|
|
|
command information sent from UFS host controller for debugging
|
|
|
|
purpose.
|
|
|
|
|
|
|
|
Select this if you want above mentioned debug information captured.
|
|
|
|
If unsure, say N.
|
2020-07-18 19:59:05 +05:30
|
|
|
|
|
|
|
config SCSI_UFS_CRYPTO
|
|
|
|
bool "UFS Crypto Engine Support"
|
|
|
|
depends on SCSI_UFSHCD && BLK_INLINE_ENCRYPTION
|
|
|
|
help
|
|
|
|
Enable Crypto Engine Support in UFS.
|
|
|
|
Enabling this makes it possible for the kernel to use the crypto
|
|
|
|
capabilities of the UFS device (if present) to perform crypto
|
|
|
|
operations on data being transferred to/from the device.
|
2020-03-12 13:11:55 -07:00
|
|
|
|
|
|
|
config SCSI_UFS_CRYPTO_QTI
|
|
|
|
tristate "Vendor specific UFS Crypto Engine Support"
|
|
|
|
depends on SCSI_UFS_CRYPTO
|
|
|
|
help
|
|
|
|
Enable Vendor Crypto Engine Support in UFS
|
|
|
|
Enabling this allows kernel to use UFS crypto operations defined
|
|
|
|
and implemented by QTI.
|