blob: d37ea72a846a52f2210796906d5b4e4fa63a6adf [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 I7a2b3f02017-02-15 18:48:19 +053019 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053020 depends on OF && HAS_IOMEM && TI_PIPE3
21 depends on PCI_MSI_IRQ_DOMAIN
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053022 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053023 help
24 Enables support for the PCIe controller in the DRA7xx SoC. There
25 are two instances of PCIe controller in DRA7xx. This controller can
26 act both as EP and RC. This reuses the Designware core.
27
28config PCIE_DW_PLAT
29 bool "Platform bus based DesignWare PCIe Controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053030 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053031 depends on PCI_MSI_IRQ_DOMAIN
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053032 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053033 ---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
41config PCI_EXYNOS
42 bool "Samsung Exynos PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053043 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053044 depends on SOC_EXYNOS5440
45 depends on PCI_MSI_IRQ_DOMAIN
46 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053047 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053048
49config PCI_IMX6
50 bool "Freescale i.MX6 PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053051 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053052 depends on SOC_IMX6Q
53 depends on PCI_MSI_IRQ_DOMAIN
54 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053055 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053056
57config PCIE_SPEAR13XX
58 bool "STMicroelectronics SPEAr PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053059 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053060 depends on ARCH_SPEAR13XX
61 depends on PCI_MSI_IRQ_DOMAIN
62 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053063 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053064 help
65 Say Y here if you want PCIe support on SPEAr13XX SoCs.
66
67config PCI_KEYSTONE
68 bool "TI Keystone PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +053069 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053070 depends on ARCH_KEYSTONE
71 depends on PCI_MSI_IRQ_DOMAIN
72 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053073 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053074 help
75 Say Y here if you want to enable PCI controller support on Keystone
76 SoCs. The PCI controller on Keystone is based on Designware hardware
77 and therefore the driver re-uses the Designware core functions to
78 implement the driver.
79
80config PCI_LAYERSCAPE
81 bool "Freescale Layerscape 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 OF && (ARM || ARCH_LAYERSCAPE)
84 depends on PCI_MSI_IRQ_DOMAIN
85 select MFD_SYSCON
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 controller support on Layerscape SoCs.
89
90config PCI_HISI
91 depends on OF && ARM64
92 bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers"
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 PCI_MSI_IRQ_DOMAIN
95 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +053096 select PCIE_DW_HOST
Arnd Bergmann6665f8a2017-04-03 16:17:11 -050097 select PCI_HOST_COMMON
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +053098 help
99 Say Y here if you want PCIe controller support on HiSilicon
100 Hip05 and Hip06 SoCs
101
102config PCIE_QCOM
103 bool "Qualcomm PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530104 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530105 depends on ARCH_QCOM && OF
106 depends on PCI_MSI_IRQ_DOMAIN
107 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530108 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530109 help
110 Say Y here to enable PCIe controller support on Qualcomm SoCs. The
111 PCIe controller uses the Designware core plus Qualcomm-specific
112 hardware wrappers.
113
114config PCIE_ARMADA_8K
115 bool "Marvell Armada-8K PCIe controller"
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 ARCH_MVEBU
118 depends on PCI_MSI_IRQ_DOMAIN
119 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530120 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530121 help
122 Say Y here if you want to enable PCIe controller support on
123 Armada-8K SoCs. The PCIe controller on Armada-8K is based on
124 Designware hardware and therefore the driver re-uses the
125 Designware core functions to implement the driver.
126
127config PCIE_ARTPEC6
128 bool "Axis ARTPEC-6 PCIe controller"
Kishon Vijay Abraham I7a2b3f02017-02-15 18:48:19 +0530129 depends on PCI
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530130 depends on MACH_ARTPEC6
131 depends on PCI_MSI_IRQ_DOMAIN
132 select PCIEPORTBUS
Kishon Vijay Abraham Ia0560202017-02-15 18:48:18 +0530133 select PCIE_DW_HOST
Kishon Vijay Abraham I950bf632017-01-06 18:22:48 +0530134 help
135 Say Y here to enable PCIe controller support on Axis ARTPEC-6
136 SoCs. This PCIe controller uses the DesignWare core.
137
138endmenu