blob: b7e15526d676504f61f4baa160e431171f19b0fd [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"
Kishon Vijay Abraham I608793e2017-03-27 15:15:08 +053019 depends on (PCI && PCI_MSI_IRQ_DOMAIN) || PCI_ENDPOINT
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053020 depends on OF && HAS_IOMEM && TI_PIPE3
Kishon Vijay Abraham I608793e2017-03-27 15:15:08 +053021 help
22 Enables support for the PCIe controller in the DRA7xx SoC. There
23 are two instances of PCIe controller in DRA7xx. This controller can
24 work either as EP or RC. In order to enable host-specific features
25 PCI_DRA7XX_HOST must be selected and in order to enable device-
26 specific features PCI_DRA7XX_EP must be selected. This uses
27 the Designware core.
28
29if PCI_DRA7XX
30
31config PCI_DRA7XX_HOST
32 bool "PCI DRA7xx Host Mode"
33 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053034 depends on PCI_MSI_IRQ_DOMAIN
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053035 select PCIE_DW_HOST
Kishon Vijay Abraham I608793e2017-03-27 15:15:08 +053036 default y
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053037 help
Kishon Vijay Abraham I608793e2017-03-27 15:15:08 +053038 Enables support for the PCIe controller in the DRA7xx SoC to work in
39 host mode.
40
41config PCI_DRA7XX_EP
42 bool "PCI DRA7xx Endpoint Mode"
43 depends on PCI_ENDPOINT
44 select PCIE_DW_EP
45 help
46 Enables support for the PCIe controller in the DRA7xx SoC to work in
47 endpoint mode.
48
49endif
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053050
51config PCIE_DW_PLAT
52 bool "Platform bus based DesignWare PCIe Controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053053 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053054 depends on PCI_MSI_IRQ_DOMAIN
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053055 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053056 ---help---
57 This selects the DesignWare PCIe controller support. Select this if
58 you have a PCIe controller on Platform bus.
59
60 If you have a controller with this interface, say Y or M here.
61
62 If unsure, say N.
63
64config PCI_EXYNOS
65 bool "Samsung Exynos PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053066 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053067 depends on SOC_EXYNOS5440
68 depends on PCI_MSI_IRQ_DOMAIN
69 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053070 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053071
72config PCI_IMX6
73 bool "Freescale i.MX6 PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053074 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053075 depends on SOC_IMX6Q
76 depends on PCI_MSI_IRQ_DOMAIN
77 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053078 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053079
80config PCIE_SPEAR13XX
81 bool "STMicroelectronics SPEAr PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053082 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053083 depends on ARCH_SPEAR13XX
84 depends on PCI_MSI_IRQ_DOMAIN
85 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053086 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053087 help
88 Say Y here if you want PCIe support on SPEAr13XX SoCs.
89
90config PCI_KEYSTONE
91 bool "TI Keystone PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053092 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053093 depends on ARCH_KEYSTONE
94 depends on PCI_MSI_IRQ_DOMAIN
95 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053096 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053097 help
98 Say Y here if you want to enable PCI controller support on Keystone
99 SoCs. The PCI controller on Keystone is based on Designware hardware
100 and therefore the driver re-uses the Designware core functions to
101 implement the driver.
102
103config PCI_LAYERSCAPE
104 bool "Freescale Layerscape PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530105 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530106 depends on OF && (ARM || ARCH_LAYERSCAPE)
107 depends on PCI_MSI_IRQ_DOMAIN
108 select MFD_SYSCON
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530109 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530110 help
111 Say Y here if you want PCIe controller support on Layerscape SoCs.
112
113config PCI_HISI
114 depends on OF && ARM64
115 bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530116 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530117 depends on PCI_MSI_IRQ_DOMAIN
118 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530119 select PCIE_DW_HOST
Arnd Bergmann6665f8a2017-04-03 16:17:11 -0500120 select PCI_HOST_COMMON
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530121 help
122 Say Y here if you want PCIe controller support on HiSilicon
123 Hip05 and Hip06 SoCs
124
125config PCIE_QCOM
126 bool "Qualcomm PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530127 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530128 depends on ARCH_QCOM && OF
129 depends on PCI_MSI_IRQ_DOMAIN
130 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530131 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530132 help
133 Say Y here to enable PCIe controller support on Qualcomm SoCs. The
134 PCIe controller uses the Designware core plus Qualcomm-specific
135 hardware wrappers.
136
137config PCIE_ARMADA_8K
138 bool "Marvell Armada-8K PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530139 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530140 depends on ARCH_MVEBU
141 depends on PCI_MSI_IRQ_DOMAIN
142 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530143 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530144 help
145 Say Y here if you want to enable PCIe controller support on
146 Armada-8K SoCs. The PCIe controller on Armada-8K is based on
147 Designware hardware and therefore the driver re-uses the
148 Designware core functions to implement the driver.
149
150config PCIE_ARTPEC6
151 bool "Axis ARTPEC-6 PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530152 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530153 depends on MACH_ARTPEC6
154 depends on PCI_MSI_IRQ_DOMAIN
155 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530156 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530157 help
158 Say Y here to enable PCIe controller support on Axis ARTPEC-6
159 SoCs. This PCIe controller uses the DesignWare core.
160
161endmenu