Kconfig 4.3 KB
Newer Older
1 2 3 4
menu "DesignWare PCI Core Support"

config PCIE_DW
	bool
5 6 7

config PCIE_DW_HOST
        bool
8
	depends on PCI
9
	depends on PCI_MSI_IRQ_DOMAIN
10
        select PCIE_DW
11

12 13 14 15 16
config PCIE_DW_EP
	bool
	depends on PCI_ENDPOINT
	select PCIE_DW

17 18
config PCI_DRA7XX
	bool "TI DRA7xx PCIe controller"
19
	depends on (PCI && PCI_MSI_IRQ_DOMAIN) || PCI_ENDPOINT
20
	depends on OF && HAS_IOMEM && TI_PIPE3
21 22 23 24 25 26 27 28 29 30 31 32 33
	help
	 Enables support for the PCIe controller in the DRA7xx SoC. There
	 are two instances of PCIe controller in DRA7xx. This controller can
	 work either as EP or RC. In order to enable host-specific features
	 PCI_DRA7XX_HOST must be selected and in order to enable device-
	 specific features PCI_DRA7XX_EP must be selected. This uses
	 the Designware core.

if PCI_DRA7XX

config PCI_DRA7XX_HOST
	bool "PCI DRA7xx Host Mode"
	depends on PCI
34
	depends on PCI_MSI_IRQ_DOMAIN
35
	select PCIE_DW_HOST
36
	default y
37
	help
38 39 40 41 42 43 44 45 46 47 48 49
	 Enables support for the PCIe controller in the DRA7xx SoC to work in
	 host mode.

config PCI_DRA7XX_EP
	bool "PCI DRA7xx Endpoint Mode"
	depends on PCI_ENDPOINT
	select PCIE_DW_EP
	help
	 Enables support for the PCIe controller in the DRA7xx SoC to work in
	 endpoint mode.

endif
50 51 52

config PCIE_DW_PLAT
	bool "Platform bus based DesignWare PCIe Controller"
53
	depends on PCI
54
	depends on PCI_MSI_IRQ_DOMAIN
55
	select PCIE_DW_HOST
56 57 58 59 60 61 62 63 64 65
	---help---
	 This selects the DesignWare PCIe controller support. Select this if
	 you have a PCIe controller on Platform bus.

	 If you have a controller with this interface, say Y or M here.

	 If unsure, say N.

config PCI_EXYNOS
	bool "Samsung Exynos PCIe controller"
66
	depends on PCI
67 68 69
	depends on SOC_EXYNOS5440
	depends on PCI_MSI_IRQ_DOMAIN
	select PCIEPORTBUS
70
	select PCIE_DW_HOST
71 72 73

config PCI_IMX6
	bool "Freescale i.MX6 PCIe controller"
74
	depends on PCI
75 76 77
	depends on SOC_IMX6Q
	depends on PCI_MSI_IRQ_DOMAIN
	select PCIEPORTBUS
78
	select PCIE_DW_HOST
79 80 81

config PCIE_SPEAR13XX
	bool "STMicroelectronics SPEAr PCIe controller"
82
	depends on PCI
83 84 85
	depends on ARCH_SPEAR13XX
	depends on PCI_MSI_IRQ_DOMAIN
	select PCIEPORTBUS
86
	select PCIE_DW_HOST
87 88 89 90 91
	help
	  Say Y here if you want PCIe support on SPEAr13XX SoCs.

config PCI_KEYSTONE
	bool "TI Keystone PCIe controller"
92
	depends on PCI
93 94 95
	depends on ARCH_KEYSTONE
	depends on PCI_MSI_IRQ_DOMAIN
	select PCIEPORTBUS
96
	select PCIE_DW_HOST
97 98 99 100 101 102 103 104
	help
	  Say Y here if you want to enable PCI controller support on Keystone
	  SoCs. The PCI controller on Keystone is based on Designware hardware
	  and therefore the driver re-uses the Designware core functions to
	  implement the driver.

config PCI_LAYERSCAPE
	bool "Freescale Layerscape PCIe controller"
105
	depends on PCI
106 107 108
	depends on OF && (ARM || ARCH_LAYERSCAPE)
	depends on PCI_MSI_IRQ_DOMAIN
	select MFD_SYSCON
109
	select PCIE_DW_HOST
110 111 112 113 114 115
	help
	  Say Y here if you want PCIe controller support on Layerscape SoCs.

config PCI_HISI
	depends on OF && ARM64
	bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers"
116
	depends on PCI
117 118
	depends on PCI_MSI_IRQ_DOMAIN
	select PCIEPORTBUS
119
	select PCIE_DW_HOST
120
	select PCI_HOST_COMMON
121 122 123 124 125 126
	help
	  Say Y here if you want PCIe controller support on HiSilicon
	  Hip05 and Hip06 SoCs

config PCIE_QCOM
	bool "Qualcomm PCIe controller"
127
	depends on PCI
128 129 130
	depends on ARCH_QCOM && OF
	depends on PCI_MSI_IRQ_DOMAIN
	select PCIEPORTBUS
131
	select PCIE_DW_HOST
132 133 134 135 136 137 138
	help
	  Say Y here to enable PCIe controller support on Qualcomm SoCs. The
	  PCIe controller uses the Designware core plus Qualcomm-specific
	  hardware wrappers.

config PCIE_ARMADA_8K
	bool "Marvell Armada-8K PCIe controller"
139
	depends on PCI
140 141 142
	depends on ARCH_MVEBU
	depends on PCI_MSI_IRQ_DOMAIN
	select PCIEPORTBUS
143
	select PCIE_DW_HOST
144 145 146 147 148 149 150 151
	help
	  Say Y here if you want to enable PCIe controller support on
	  Armada-8K SoCs. The PCIe controller on Armada-8K is based on
	  Designware hardware and therefore the driver re-uses the
	  Designware core functions to implement the driver.

config PCIE_ARTPEC6
	bool "Axis ARTPEC-6 PCIe controller"
152
	depends on PCI
153 154 155
	depends on MACH_ARTPEC6
	depends on PCI_MSI_IRQ_DOMAIN
	select PCIEPORTBUS
156
	select PCIE_DW_HOST
157 158 159 160
	help
	  Say Y here to enable PCIe controller support on Axis ARTPEC-6
	  SoCs.  This PCIe controller uses the DesignWare core.

161 162 163 164 165 166 167 168 169 170
config PCIE_KIRIN
	depends on OF && ARM64
	bool "HiSilicon Kirin series SoCs PCIe controllers"
	depends on PCI
	select PCIEPORTBUS
	select PCIE_DW_HOST
	help
	  Say Y here if you want PCIe controller support
	  on HiSilicon Kirin series SoCs.

171
endmenu