blob: 113e09440f85c07815654e2eab80f999fc54e6fd [file] [log] [blame]
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +05301menu "DesignWare PCI Core Support"
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +05302
3config PCIE_DW
4 bool
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +05305
6config PCIE_DW_HOST
7 bool
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +05308 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +05309 depends on PCI_MSI_IRQ_DOMAIN
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053010 select PCIE_DW
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053011
Kishon Vijay Abraham If8aed6e2017-03-27 15:15:05 +053012config PCIE_DW_EP
13 bool
14 depends on PCI_ENDPOINT
15 select PCIE_DW
16
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053017config PCI_DRA7XX
18 bool "TI DRA7xx PCIe controller"
Peter Robinson27fce382017-05-15 13:26:17 +010019 depends on SOC_DRA7XX || COMPILE_TEST
Kishon Vijay Abraham I608793e2017-03-27 15:15:08 +053020 depends on (PCI && PCI_MSI_IRQ_DOMAIN) || PCI_ENDPOINT
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053021 depends on OF && HAS_IOMEM && TI_PIPE3
Kishon Vijay Abraham I608793e2017-03-27 15:15:08 +053022 help
23 Enables support for the PCIe controller in the DRA7xx SoC. There
24 are two instances of PCIe controller in DRA7xx. This controller can
25 work either as EP or RC. In order to enable host-specific features
26 PCI_DRA7XX_HOST must be selected and in order to enable device-
27 specific features PCI_DRA7XX_EP must be selected. This uses
Bjorn Helgaas96291d52017-09-01 16:35:50 -050028 the DesignWare core.
Kishon Vijay Abraham I608793e2017-03-27 15:15:08 +053029
30if PCI_DRA7XX
31
32config PCI_DRA7XX_HOST
33 bool "PCI DRA7xx Host Mode"
34 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053035 depends on PCI_MSI_IRQ_DOMAIN
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053036 select PCIE_DW_HOST
Kishon Vijay Abraham I608793e2017-03-27 15:15:08 +053037 default y
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053038 help
Kishon Vijay Abraham I608793e2017-03-27 15:15:08 +053039 Enables support for the PCIe controller in the DRA7xx SoC to work in
40 host mode.
41
42config PCI_DRA7XX_EP
43 bool "PCI DRA7xx Endpoint Mode"
44 depends on PCI_ENDPOINT
45 select PCIE_DW_EP
46 help
47 Enables support for the PCIe controller in the DRA7xx SoC to work in
48 endpoint mode.
49
50endif
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053051
52config PCIE_DW_PLAT
53 bool "Platform bus based DesignWare PCIe Controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053054 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053055 depends on PCI_MSI_IRQ_DOMAIN
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053056 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053057 ---help---
58 This selects the DesignWare PCIe controller support. Select this if
59 you have a PCIe controller on Platform bus.
60
61 If you have a controller with this interface, say Y or M here.
62
63 If unsure, say N.
64
65config PCI_EXYNOS
66 bool "Samsung Exynos PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053067 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053068 depends on SOC_EXYNOS5440
69 depends on PCI_MSI_IRQ_DOMAIN
70 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053071 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053072
73config PCI_IMX6
74 bool "Freescale i.MX6 PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053075 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053076 depends on SOC_IMX6Q
77 depends on PCI_MSI_IRQ_DOMAIN
78 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053079 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053080
81config PCIE_SPEAR13XX
82 bool "STMicroelectronics SPEAr PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053083 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053084 depends on ARCH_SPEAR13XX
85 depends on PCI_MSI_IRQ_DOMAIN
86 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053087 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053088 help
89 Say Y here if you want PCIe support on SPEAr13XX SoCs.
90
91config PCI_KEYSTONE
92 bool "TI Keystone PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053093 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053094 depends on ARCH_KEYSTONE
95 depends on PCI_MSI_IRQ_DOMAIN
96 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053097 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053098 help
99 Say Y here if you want to enable PCI controller support on Keystone
Bjorn Helgaas96291d52017-09-01 16:35:50 -0500100 SoCs. The PCI controller on Keystone is based on DesignWare hardware
101 and therefore the driver re-uses the DesignWare core functions to
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530102 implement the driver.
103
104config PCI_LAYERSCAPE
105 bool "Freescale Layerscape PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530106 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530107 depends on OF && (ARM || ARCH_LAYERSCAPE)
108 depends on PCI_MSI_IRQ_DOMAIN
109 select MFD_SYSCON
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530110 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530111 help
112 Say Y here if you want PCIe controller support on Layerscape SoCs.
113
114config PCI_HISI
115 depends on OF && ARM64
116 bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530117 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530118 depends on PCI_MSI_IRQ_DOMAIN
119 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530120 select PCIE_DW_HOST
Arnd Bergmann6665f8a2017-04-03 16:17:11 -0500121 select PCI_HOST_COMMON
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530122 help
123 Say Y here if you want PCIe controller support on HiSilicon
124 Hip05 and Hip06 SoCs
125
126config PCIE_QCOM
127 bool "Qualcomm PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530128 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530129 depends on ARCH_QCOM && OF
130 depends on PCI_MSI_IRQ_DOMAIN
131 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530132 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530133 help
134 Say Y here to enable PCIe controller support on Qualcomm SoCs. The
Bjorn Helgaas96291d52017-09-01 16:35:50 -0500135 PCIe controller uses the DesignWare core plus Qualcomm-specific
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530136 hardware wrappers.
137
138config PCIE_ARMADA_8K
139 bool "Marvell Armada-8K PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530140 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530141 depends on ARCH_MVEBU
142 depends on PCI_MSI_IRQ_DOMAIN
143 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530144 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530145 help
146 Say Y here if you want to enable PCIe controller support on
147 Armada-8K SoCs. The PCIe controller on Armada-8K is based on
Bjorn Helgaas96291d52017-09-01 16:35:50 -0500148 DesignWare hardware and therefore the driver re-uses the
149 DesignWare core functions to implement the driver.
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530150
151config PCIE_ARTPEC6
152 bool "Axis ARTPEC-6 PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530153 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530154 depends on MACH_ARTPEC6
155 depends on PCI_MSI_IRQ_DOMAIN
156 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530157 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530158 help
159 Say Y here to enable PCIe controller support on Axis ARTPEC-6
160 SoCs. This PCIe controller uses the DesignWare core.
161
Xiaowei Songfc5165d2017-06-19 18:23:48 +0800162config PCIE_KIRIN
163 depends on OF && ARM64
164 bool "HiSilicon Kirin series SoCs PCIe controllers"
165 depends on PCI
166 select PCIEPORTBUS
167 select PCIE_DW_HOST
168 help
169 Say Y here if you want PCIe controller support
170 on HiSilicon Kirin series SoCs.
171
Jianguo Sunbbd11bd2017-10-23 19:17:50 +0800172config PCIE_HISI_STB
173 bool "HiSilicon STB SoCs PCIe controllers"
174 depends on ARCH_HISI
175 depends on PCI
176 depends on PCI_MSI_IRQ_DOMAIN
177 select PCIEPORTBUS
178 select PCIE_DW_HOST
179 help
180 Say Y here if you want PCIe controller support on HiSilicon STB SoCs
181
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530182endmenu