]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/pci/dwc/Kconfig
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[karo-tx-linux.git] / drivers / pci / dwc / Kconfig
1 menu "DesignWare PCI Core Support"
2
3 config PCIE_DW
4         bool
5
6 config PCIE_DW_HOST
7         bool
8         depends on PCI
9         depends on PCI_MSI_IRQ_DOMAIN
10         select PCIE_DW
11
12 config PCIE_DW_EP
13         bool
14         depends on PCI_ENDPOINT
15         select PCIE_DW
16
17 config PCI_DRA7XX
18         bool "TI DRA7xx PCIe controller"
19         depends on (PCI && PCI_MSI_IRQ_DOMAIN) || PCI_ENDPOINT
20         depends on OF && HAS_IOMEM && TI_PIPE3
21         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
29 if PCI_DRA7XX
30
31 config PCI_DRA7XX_HOST
32         bool "PCI DRA7xx Host Mode"
33         depends on PCI
34         depends on PCI_MSI_IRQ_DOMAIN
35         select PCIE_DW_HOST
36         default y
37         help
38          Enables support for the PCIe controller in the DRA7xx SoC to work in
39          host mode.
40
41 config 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
49 endif
50
51 config PCIE_DW_PLAT
52         bool "Platform bus based DesignWare PCIe Controller"
53         depends on PCI
54         depends on PCI_MSI_IRQ_DOMAIN
55         select PCIE_DW_HOST
56         ---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
64 config PCI_EXYNOS
65         bool "Samsung Exynos PCIe controller"
66         depends on PCI
67         depends on SOC_EXYNOS5440
68         depends on PCI_MSI_IRQ_DOMAIN
69         select PCIEPORTBUS
70         select PCIE_DW_HOST
71
72 config PCI_IMX6
73         bool "Freescale i.MX6 PCIe controller"
74         depends on PCI
75         depends on SOC_IMX6Q
76         depends on PCI_MSI_IRQ_DOMAIN
77         select PCIEPORTBUS
78         select PCIE_DW_HOST
79
80 config PCIE_SPEAR13XX
81         bool "STMicroelectronics SPEAr PCIe controller"
82         depends on PCI
83         depends on ARCH_SPEAR13XX
84         depends on PCI_MSI_IRQ_DOMAIN
85         select PCIEPORTBUS
86         select PCIE_DW_HOST
87         help
88           Say Y here if you want PCIe support on SPEAr13XX SoCs.
89
90 config PCI_KEYSTONE
91         bool "TI Keystone PCIe controller"
92         depends on PCI
93         depends on ARCH_KEYSTONE
94         depends on PCI_MSI_IRQ_DOMAIN
95         select PCIEPORTBUS
96         select PCIE_DW_HOST
97         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
103 config PCI_LAYERSCAPE
104         bool "Freescale Layerscape PCIe controller"
105         depends on PCI
106         depends on OF && (ARM || ARCH_LAYERSCAPE)
107         depends on PCI_MSI_IRQ_DOMAIN
108         select MFD_SYSCON
109         select PCIE_DW_HOST
110         help
111           Say Y here if you want PCIe controller support on Layerscape SoCs.
112
113 config PCI_HISI
114         depends on OF && ARM64
115         bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers"
116         depends on PCI
117         depends on PCI_MSI_IRQ_DOMAIN
118         select PCIEPORTBUS
119         select PCIE_DW_HOST
120         select PCI_HOST_COMMON
121         help
122           Say Y here if you want PCIe controller support on HiSilicon
123           Hip05 and Hip06 SoCs
124
125 config PCIE_QCOM
126         bool "Qualcomm PCIe controller"
127         depends on PCI
128         depends on ARCH_QCOM && OF
129         depends on PCI_MSI_IRQ_DOMAIN
130         select PCIEPORTBUS
131         select PCIE_DW_HOST
132         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
137 config PCIE_ARMADA_8K
138         bool "Marvell Armada-8K PCIe controller"
139         depends on PCI
140         depends on ARCH_MVEBU
141         depends on PCI_MSI_IRQ_DOMAIN
142         select PCIEPORTBUS
143         select PCIE_DW_HOST
144         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
150 config PCIE_ARTPEC6
151         bool "Axis ARTPEC-6 PCIe controller"
152         depends on PCI
153         depends on MACH_ARTPEC6
154         depends on PCI_MSI_IRQ_DOMAIN
155         select PCIEPORTBUS
156         select PCIE_DW_HOST
157         help
158           Say Y here to enable PCIe controller support on Axis ARTPEC-6
159           SoCs.  This PCIe controller uses the DesignWare core.
160
161 endmenu