blob: e27b4d4e6ae2d2d564b2777335fa625fd92ddcb7 [file] [log] [blame]
Santosh Yaraganavi7a3e97b2012-02-29 12:11:50 +05301#
2# Kernel configuration file for the UFS Host Controller
3#
4# This code is based on drivers/scsi/ufs/Kconfig
Vinayak Holikatti3b1d0582013-02-25 21:44:32 +05305# Copyright (C) 2011-2013 Samsung India Software Operations
Santosh Yaraganavi7a3e97b2012-02-29 12:11:50 +05306#
Vinayak Holikatti3b1d0582013-02-25 21:44:32 +05307# Authors:
8# Santosh Yaraganavi <santosh.sy@samsung.com>
9# Vinayak Holikatti <h.vinayak@samsung.com>
10#
Santosh Yaraganavi7a3e97b2012-02-29 12:11:50 +053011# This program is free software; you can redistribute it and/or
12# modify it under the terms of the GNU General Public License
13# as published by the Free Software Foundation; either version 2
14# of the License, or (at your option) any later version.
Vinayak Holikatti3b1d0582013-02-25 21:44:32 +053015# See the COPYING file in the top-level directory or visit
16# <http://www.gnu.org/licenses/gpl-2.0.html>
17#
Santosh Yaraganavi7a3e97b2012-02-29 12:11:50 +053018# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21# GNU General Public License for more details.
Vinayak Holikatti3b1d0582013-02-25 21:44:32 +053022#
23# This program is provided "AS IS" and "WITH ALL FAULTS" and
24# without warranty of any kind. You are solely responsible for
25# determining the appropriateness of using and distributing
26# the program and assume all risks associated with your exercise
27# of rights with respect to the program, including but not limited
28# to infringement of third party rights, the risks and costs of
29# program errors, damage to or loss of data, programs or equipment,
30# and unavailability or interruption of operations. Under no
31# circumstances will the contributor of this Program be liable for
32# any damages of any kind arising from your use or distribution of
33# this program.
Santosh Yaraganavi7a3e97b2012-02-29 12:11:50 +053034
35config SCSI_UFSHCD
Vinayak Holikattie0eca632013-02-25 21:44:33 +053036 tristate "Universal Flash Storage Controller Driver Core"
Geert Uytterhoevena4bfbcb2013-05-14 21:34:14 +053037 depends on SCSI && SCSI_DMA
Sahitya Tummala856b3482014-09-25 15:32:34 +030038 select PM_DEVFREQ
39 select DEVFREQ_GOV_SIMPLE_ONDEMAND
Arnd Bergmannc80fa122016-03-17 13:29:52 +010040 select NLS
Santosh Yaraganavi7a3e97b2012-02-29 12:11:50 +053041 ---help---
Vinayak Holikattie0eca632013-02-25 21:44:33 +053042 This selects the support for UFS devices in Linux, say Y and make
43 sure that you know the name of your UFS host adapter (the card
44 inside your computer that "speaks" the UFS protocol, also
45 called UFS Host Controller), because you will be asked for it.
46 The module will be called ufshcd.
47
48 To compile this driver as a module, choose M here and read
49 <file:Documentation/scsi/ufs.txt>.
50 However, do not compile this as a module if your root file system
51 (the one containing the directory /) is located on a UFS device.
52
53config SCSI_UFSHCD_PCI
54 tristate "PCI bus based UFS Controller support"
55 depends on SCSI_UFSHCD && PCI
56 ---help---
57 This selects the PCI UFS Host Controller Interface. Select this if
58 you have UFS Host Controller with PCI Interface.
59
60 If you have a controller with this interface, say Y or M here.
61
62 If unsure, say N.
Vinayak Holikatti03b17812013-02-26 18:04:45 +053063
Joao Pintoec658ea2016-05-11 12:21:33 +010064config SCSI_UFS_DWC_TC_PCI
65 tristate "DesignWare pci support using a G210 Test Chip"
Joao Pinto5404fb72016-09-23 12:52:52 +010066 depends on SCSI_UFSHCD_PCI
Joao Pintoec658ea2016-05-11 12:21:33 +010067 ---help---
68 Synopsys Test Chip is a PHY for prototyping purposes.
69
70 If unsure, say N.
71
Vinayak Holikatti03b17812013-02-26 18:04:45 +053072config SCSI_UFSHCD_PLATFORM
73 tristate "Platform bus based UFS Controller support"
74 depends on SCSI_UFSHCD
75 ---help---
76 This selects the UFS host controller support. Select this if
77 you have an UFS controller on Platform bus.
78
79 If you have a controller with this interface, say Y or M here.
80
81 If unsure, say N.
Yaniv Gardi81c0fc52015-01-15 16:32:37 +020082
Joao Pintofc040a32016-05-11 12:21:32 +010083config SCSI_UFS_DWC_TC_PLATFORM
84 tristate "DesignWare platform support using a G210 Test Chip"
85 depends on SCSI_UFSHCD_PLATFORM
86 ---help---
87 Synopsys Test Chip is a PHY for prototyping purposes.
88
89 If unsure, say N.
90
Yaniv Gardi81c0fc52015-01-15 16:32:37 +020091config SCSI_UFS_QCOM
Yaniv Gardi9bac5db2015-10-28 13:15:46 +020092 tristate "QCOM specific hooks to UFS controller platform driver"
Stephen Boyd0d143c62015-04-10 16:11:06 -070093 depends on SCSI_UFSHCD_PLATFORM && ARCH_QCOM
Yaniv Gardi81c0fc52015-01-15 16:32:37 +020094 select PHY_QCOM_UFS
95 help
96 This selects the QCOM specific additions to UFSHCD platform driver.
97 UFS host on QCOM needs some vendor specific configuration before
98 accessing the hardware which includes PHY configuration and vendor
99 specific registers.
100
101 Select this if you have UFS controller on QCOM chipset.
102 If unsure, say N.