xref: /openbmc/linux/drivers/ufs/host/Kconfig (revision 5fc3037a)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# Kernel configuration file for the UFS host controller drivers.
4#
5# Copyright (C) 2011-2013 Samsung India Software Operations
6#
7# Authors:
8#	Santosh Yaraganavi <santosh.sy@samsung.com>
9#	Vinayak Holikatti <h.vinayak@samsung.com>
10
11config SCSI_UFSHCD_PCI
12	tristate "PCI bus based UFS Controller support"
13	depends on PCI
14	help
15	  This selects the PCI UFS Host Controller Interface. Select this if
16	  you have UFS Host Controller with PCI Interface.
17
18	  If you have a controller with this interface, say Y or M here.
19
20	  If unsure, say N.
21
22config SCSI_UFS_DWC_TC_PCI
23	tristate "DesignWare pci support using a G210 Test Chip"
24	depends on SCSI_UFSHCD_PCI
25	help
26	  Synopsys Test Chip is a PHY for prototyping purposes.
27
28	  If unsure, say N.
29
30config SCSI_UFSHCD_PLATFORM
31	tristate "Platform bus based UFS Controller support"
32	depends on HAS_IOMEM
33	help
34	  This selects the UFS host controller support. Select this if
35	  you have an UFS controller on Platform bus.
36
37	  If you have a controller with this interface, say Y or M here.
38
39	  If unsure, say N.
40
41config SCSI_UFS_CDNS_PLATFORM
42	tristate "Cadence UFS Controller platform driver"
43	depends on SCSI_UFSHCD_PLATFORM
44	help
45	  This selects the Cadence-specific additions to UFSHCD platform driver.
46
47	  If unsure, say N.
48
49config SCSI_UFS_DWC_TC_PLATFORM
50	tristate "DesignWare platform support using a G210 Test Chip"
51	depends on SCSI_UFSHCD_PLATFORM
52	help
53	  Synopsys Test Chip is a PHY for prototyping purposes.
54
55	  If unsure, say N.
56
57config SCSI_UFS_QCOM
58	tristate "QCOM specific hooks to UFS controller platform driver"
59	depends on SCSI_UFSHCD_PLATFORM && ARCH_QCOM
60	select QCOM_SCM if SCSI_UFS_CRYPTO
61	select RESET_CONTROLLER
62	help
63	  This selects the QCOM specific additions to UFSHCD platform driver.
64	  UFS host on QCOM needs some vendor specific configuration before
65	  accessing the hardware which includes PHY configuration and vendor
66	  specific registers.
67
68	  Select this if you have UFS controller on QCOM chipset.
69	  If unsure, say N.
70
71config SCSI_UFS_MEDIATEK
72	tristate "Mediatek specific hooks to UFS controller platform driver"
73	depends on SCSI_UFSHCD_PLATFORM && ARCH_MEDIATEK
74	select PHY_MTK_UFS
75	select RESET_TI_SYSCON
76	help
77	  This selects the Mediatek specific additions to UFSHCD platform driver.
78	  UFS host on Mediatek needs some vendor specific configuration before
79	  accessing the hardware which includes PHY configuration and vendor
80	  specific registers.
81
82	  Select this if you have UFS controller on Mediatek chipset.
83
84	  If unsure, say N.
85
86config SCSI_UFS_HISI
87	tristate "Hisilicon specific hooks to UFS controller platform driver"
88	depends on (ARCH_HISI || COMPILE_TEST) && SCSI_UFSHCD_PLATFORM
89	help
90	  This selects the Hisilicon specific additions to UFSHCD platform driver.
91
92	  Select this if you have UFS controller on Hisilicon chipset.
93	  If unsure, say N.
94
95config SCSI_UFS_RENESAS
96	tristate "Renesas specific hooks to UFS controller platform driver"
97	depends on (ARCH_RENESAS || COMPILE_TEST) && SCSI_UFSHCD_PLATFORM
98	help
99	  This selects the Renesas specific additions to UFSHCD platform driver.
100	  UFS host on Renesas needs some vendor specific configuration before
101	  accessing the hardware.
102
103	  Select this if you have UFS controller on Renesas chipset.
104
105	  If unsure, say N.
106
107config SCSI_UFS_TI_J721E
108	tristate "TI glue layer for Cadence UFS Controller"
109	depends on OF && HAS_IOMEM && (ARCH_K3 || COMPILE_TEST)
110	help
111	  This selects driver for TI glue layer for Cadence UFS Host
112	  Controller IP.
113
114	  Selects this if you have TI platform with UFS controller.
115	  If unsure, say N.
116
117config SCSI_UFS_EXYNOS
118	tristate "Exynos specific hooks to UFS controller platform driver"
119	depends on SCSI_UFSHCD_PLATFORM && (ARCH_EXYNOS || COMPILE_TEST)
120	help
121	  This selects the Samsung Exynos SoC specific additions to UFSHCD
122	  platform driver.  UFS host on Samsung Exynos SoC includes HCI and
123	  UNIPRO layer, and associates with UFS-PHY driver.
124
125	  Select this if you have UFS host controller on Samsung Exynos SoC.
126	  If unsure, say N.
127