blob: 033d9ad37c7489190afd819ba06241d3359ea9dd [file] [log] [blame]
Thomas Petazzoni45361a42013-05-16 17:55:22 +02001menu "PCI host controller drivers"
2 depends on PCI
3
Kishon Vijay Abraham I47ff3de2014-07-22 15:23:45 -06004config PCI_DRA7XX
5 bool "TI DRA7xx PCIe controller"
6 select PCIE_DW
7 depends on OF && HAS_IOMEM && TI_PIPE3
8 help
9 Enables support for the PCIe controller in the DRA7xx SoC. There
10 are two instances of PCIe controller in DRA7xx. This controller can
11 act both as EP and RC. This reuses the Designware core.
12
Thomas Petazzoni45361a42013-05-16 17:55:22 +020013config PCI_MVEBU
14 bool "Marvell EBU PCIe controller"
Andrew Lunnc2760202014-07-10 23:36:29 +020015 depends on ARCH_MVEBU || ARCH_DOVE
Thierry Reding61d9e852016-02-18 14:32:10 +010016 depends on ARM
Thomas Petazzoni5477a332013-08-09 12:35:50 +020017 depends on OF
Thomas Petazzoni45361a42013-05-16 17:55:22 +020018
Bjorn Helgaas562df5c2016-03-15 08:55:52 -050019
Bharat Kumar Gogadaab597d32016-03-06 22:02:14 +053020config PCIE_XILINX_NWL
21 bool "NWL PCIe Core"
22 depends on ARCH_ZYNQMP
23 select PCI_MSI_IRQ_DOMAIN if PCI_MSI
24 help
25 Say 'Y' here if you want kernel support for Xilinx
26 NWL PCIe controller. The controller can act as Root Port
27 or End Point. The current option selection will only
28 support root port enabling.
29
Joao Pinto5a3aa2a2016-03-10 14:44:52 -060030config PCIE_DW_PLAT
31 bool "Platform bus based DesignWare PCIe Controller"
32 select PCIE_DW
33 ---help---
34 This selects the DesignWare PCIe controller support. Select this if
35 you have a PCIe 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
Jingoo Han340cba62013-06-21 16:24:54 +090041config PCIE_DW
42 bool
43
44config PCI_EXYNOS
45 bool "Samsung Exynos PCIe controller"
46 depends on SOC_EXYNOS5440
47 select PCIEPORTBUS
48 select PCIE_DW
49
Sean Crossbb389192013-09-26 11:24:47 +080050config PCI_IMX6
51 bool "Freescale i.MX6 PCIe controller"
52 depends on SOC_IMX6Q
53 select PCIEPORTBUS
54 select PCIE_DW
55
Thierry Redingd1523b52013-08-09 16:49:19 +020056config PCI_TEGRA
57 bool "NVIDIA Tegra PCIe controller"
Thierry Reding44073082014-11-12 14:53:37 +010058 depends on ARCH_TEGRA && !ARM64
Thierry Reding6b1c4d72014-11-12 14:53:38 +010059 help
60 Say Y here if you want support for the PCIe host controller found
61 on NVIDIA Tegra SoCs.
Thierry Redingd1523b52013-08-09 16:49:19 +020062
Valentine Barshakba3eb9f2013-10-29 20:12:51 +040063config PCI_RCAR_GEN2
64 bool "Renesas R-Car Gen2 Internal PCI controller"
Geert Uytterhoeven6cbfeae2015-10-30 08:08:17 -050065 depends on ARM
Simon Horman304e6d572016-02-25 09:45:56 +090066 depends on ARCH_RENESAS || COMPILE_TEST
Valentine Barshakba3eb9f2013-10-29 20:12:51 +040067 help
68 Say Y here if you want internal PCI support on R-Car Gen2 SoC.
69 There are 3 internal PCI controllers available with a single
70 built-in EHCI/OHCI host controller present on each one.
71
Simon Horman350a73b2016-04-21 13:51:55 +100072config PCIE_RCAR
Phil Edworthyc25da472014-05-12 11:57:48 +010073 bool "Renesas R-Car PCIe controller"
Simon Horman304e6d572016-02-25 09:45:56 +090074 depends on ARCH_RENESAS || (ARM && COMPILE_TEST)
Arnd Bergmann76ba8c12016-04-16 22:15:46 +020075 select PCI_MSI
76 select PCI_MSI_IRQ_DOMAIN
Phil Edworthyc25da472014-05-12 11:57:48 +010077 help
Simon Horman350a73b2016-04-21 13:51:55 +100078 Say Y here if you want PCIe controller support on R-Car SoCs.
Phil Edworthyc25da472014-05-12 11:57:48 +010079
David Daney4e64dbe2016-03-11 15:35:55 -060080config PCI_HOST_COMMON
81 bool
Jayachandran C1958e712016-05-11 17:34:46 -050082 select PCI_ECAM
David Daney4e64dbe2016-03-11 15:35:55 -060083
Will Deaconce292992013-11-22 16:14:41 +000084config PCI_HOST_GENERIC
85 bool "Generic PCI host controller"
Jayachandran Caa4a5c02015-08-05 02:23:40 +053086 depends on (ARM || ARM64) && OF
David Daney4e64dbe2016-03-11 15:35:55 -060087 select PCI_HOST_COMMON
Will Deaconce292992013-11-22 16:14:41 +000088 help
89 Say Y here if you want to support a simple generic PCI host
90 controller, such as the one emulated by kvmtool.
91
Pratyush Anand51b66a62014-02-11 11:39:26 +053092config PCIE_SPEAR13XX
Sachin Kamat8d7004a2014-08-17 22:09:16 -060093 bool "STMicroelectronics SPEAr PCIe controller"
Pratyush Anand51b66a62014-02-11 11:39:26 +053094 depends on ARCH_SPEAR13XX
95 select PCIEPORTBUS
96 select PCIE_DW
97 help
98 Say Y here if you want PCIe support on SPEAr13XX SoCs.
99
Murali Karicheri0c4ffcf2014-09-02 17:26:19 -0600100config PCI_KEYSTONE
101 bool "TI Keystone PCIe controller"
102 depends on ARCH_KEYSTONE
103 select PCIE_DW
104 select PCIEPORTBUS
105 help
106 Say Y here if you want to enable PCI controller support on Keystone
107 SoCs. The PCI controller on Keystone is based on Designware hardware
108 and therefore the driver re-uses the Designware core functions to
109 implement the driver.
Bjorn Helgaasa2351ef2014-09-05 10:57:20 -0600110
Srikanth Thokala8961def2014-08-20 21:56:02 +0530111config PCIE_XILINX
112 bool "Xilinx AXI PCIe host bridge support"
Bharat Kumar Gogada01cf9d52016-02-11 21:58:11 +0530113 depends on ARCH_ZYNQ || MICROBLAZE
Srikanth Thokala8961def2014-08-20 21:56:02 +0530114 help
115 Say 'Y' here if you want kernel to support the Xilinx AXI PCIe
116 Host Bridge driver.
117
Tanmay Inamdar5f6b6cc2014-10-01 13:01:35 -0600118config PCI_XGENE
119 bool "X-Gene PCIe controller"
120 depends on ARCH_XGENE
121 depends on OF
122 select PCIEPORTBUS
Duc Dangdcd19de2015-06-05 15:56:34 -0500123 select PCI_MSI_IRQ_DOMAIN if PCI_MSI
Tanmay Inamdar5f6b6cc2014-10-01 13:01:35 -0600124 help
125 Say Y here if you want internal PCI support on APM X-Gene SoC.
126 There are 5 internal PCIe ports available. Each port is GEN3 capable
127 and have varied lanes from x1 to x8.
128
Duc Dangdcd19de2015-06-05 15:56:34 -0500129config PCI_XGENE_MSI
130 bool "X-Gene v1 PCIe MSI feature"
131 depends on PCI_XGENE && PCI_MSI
132 default y
133 help
134 Say Y here if you want PCIe MSI support for the APM X-Gene v1 SoC.
135 This MSI driver supports 5 PCIe ports on the APM X-Gene v1 SoC.
136
Minghuan Lian62d0ff832014-11-05 16:45:11 +0800137config PCI_LAYERSCAPE
138 bool "Freescale Layerscape PCIe controller"
Minghuan Lian5192ec72015-10-16 15:19:19 +0800139 depends on OF && (ARM || ARCH_LAYERSCAPE)
Minghuan Lian62d0ff832014-11-05 16:45:11 +0800140 select PCIE_DW
141 select MFD_SYSCON
142 help
143 Say Y here if you want PCIe controller support on Layerscape SoCs.
144
Rob Herringb7e78172015-01-28 10:16:18 -0600145config PCI_VERSATILE
146 bool "ARM Versatile PB PCI controller"
147 depends on ARCH_VERSATILE
148
Ray Jui1fb37a82015-04-08 11:21:35 -0700149config PCIE_IPROC
Arnd Bergmannc1b98e42015-11-24 15:28:48 -0600150 tristate
Ray Jui1fb37a82015-04-08 11:21:35 -0700151 help
152 This enables the iProc PCIe core controller support for Broadcom's
Arnd Bergmannc1b98e42015-11-24 15:28:48 -0600153 iProc family of SoCs. An appropriate bus interface driver needs
154 to be enabled to select this.
Ray Jui1fb37a82015-04-08 11:21:35 -0700155
156config PCIE_IPROC_PLATFORM
157 tristate "Broadcom iProc PCIe platform bus driver"
158 depends on ARCH_BCM_IPROC || (ARM && COMPILE_TEST)
159 depends on OF
160 select PCIE_IPROC
161 default ARCH_BCM_IPROC
162 help
163 Say Y here if you want to use the Broadcom iProc PCIe controller
164 through the generic platform bus interface
165
Hauke Mehrtens4785ffb2015-05-12 23:23:01 +0200166config PCIE_IPROC_BCMA
Hauke Mehrtens05aa7d62015-07-25 21:15:24 +0200167 tristate "Broadcom iProc PCIe BCMA bus driver"
Ray Jui70d334c2015-07-29 10:12:53 -0700168 depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST)
Hauke Mehrtens4785ffb2015-05-12 23:23:01 +0200169 select PCIE_IPROC
170 select BCMA
171 select PCI_DOMAINS
172 default ARCH_BCM_5301X
173 help
174 Say Y here if you want to use the Broadcom iProc PCIe controller
175 through the BCMA bus interface
176
Ray Jui3bc2b232016-01-06 18:04:35 -0600177config PCIE_IPROC_MSI
178 bool "Broadcom iProc PCIe MSI support"
179 depends on PCIE_IPROC_PLATFORM || PCIE_IPROC_BCMA
180 depends on PCI_MSI
181 select PCI_MSI_IRQ_DOMAIN
182 default ARCH_BCM_IPROC
183 help
184 Say Y here if you want to enable MSI support for Broadcom's iProc
185 PCIe controller
186
Ley Foon Taneaa61112015-10-23 18:27:12 +0800187config PCIE_ALTERA
188 bool "Altera PCIe controller"
189 depends on ARM || NIOS2
190 depends on OF_PCI
191 select PCI_DOMAINS
192 help
193 Say Y here if you want to enable PCIe controller support on Altera
194 FPGA.
195
Ley Foon Tanaf1169b2015-10-23 18:27:13 +0800196config PCIE_ALTERA_MSI
197 bool "Altera PCIe MSI feature"
198 depends on PCIE_ALTERA && PCI_MSI
199 select PCI_MSI_IRQ_DOMAIN
200 help
201 Say Y here if you want PCIe MSI support for the Altera FPGA.
202 This MSI driver supports Altera MSI to GIC controller IP.
203
Zhou Wang500a1d92015-10-29 20:02:51 -0500204config PCI_HISI
205 depends on OF && ARM64
Gabriele Paoloni5930fe42015-11-27 01:17:05 +0800206 bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers"
Zhou Wang500a1d92015-10-29 20:02:51 -0500207 select PCIEPORTBUS
208 select PCIE_DW
209 help
Gabriele Paoloni5930fe42015-11-27 01:17:05 +0800210 Say Y here if you want PCIe controller support on HiSilicon
211 Hip05 and Hip06 SoCs
Zhou Wang500a1d92015-10-29 20:02:51 -0500212
Stanimir Varbanov82a82382015-12-18 14:38:57 +0200213config PCIE_QCOM
214 bool "Qualcomm PCIe controller"
215 depends on ARCH_QCOM && OF
216 select PCIE_DW
217 select PCIEPORTBUS
218 help
219 Say Y here to enable PCIe controller support on Qualcomm SoCs. The
220 PCIe controller uses the Designware core plus Qualcomm-specific
221 hardware wrappers.
Thomas Petazzoni45361a42013-05-16 17:55:22 +0200222
David Daneyf12b76e2016-03-04 14:31:47 -0800223config PCI_HOST_THUNDER_PEM
224 bool "Cavium Thunder PCIe controller to off-chip devices"
225 depends on OF && ARM64
226 select PCI_HOST_COMMON
227 help
228 Say Y here if you want PCIe support for CN88XX Cavium Thunder SoCs.
229
David Daney7b6e7ba2016-03-04 14:31:48 -0800230config PCI_HOST_THUNDER_ECAM
231 bool "Cavium Thunder ECAM controller to on-chip devices on pass-1.x silicon"
232 depends on OF && ARM64
233 select PCI_HOST_COMMON
234 help
235 Say Y here if you want ECAM support for CN88XX-Pass-1.x Cavium Thunder SoCs.
236
Thomas Petazzoni1c52a512016-04-26 10:31:46 +0200237config PCIE_ARMADA_8K
238 bool "Marvell Armada-8K PCIe controller"
239 depends on ARCH_MVEBU
240 select PCIE_DW
241 select PCIEPORTBUS
242 help
243 Say Y here if you want to enable PCIe controller support on
244 Armada-8K SoCs. The PCIe controller on Armada-8K is based on
245 Designware hardware and therefore the driver re-uses the
246 Designware core functions to implement the driver.
247
Niklas Cassela3cbfae2016-05-09 13:49:03 +0200248config PCIE_ARTPEC6
249 bool "Axis ARTPEC-6 PCIe controller"
250 depends on MACH_ARTPEC6
251 select PCIE_DW
252 select PCIEPORTBUS
253 help
254 Say Y here to enable PCIe controller support on Axis ARTPEC-6
255 SoCs. This PCIe controller uses the DesignWare core.
256
Thomas Petazzoni45361a42013-05-16 17:55:22 +0200257endmenu