Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 1 | menu "DesignWare PCI Core Support" |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 2 | |
| 3 | config PCIE_DW |
| 4 | bool |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 5 | |
| 6 | config PCIE_DW_HOST |
| 7 | bool |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 8 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 9 | depends on PCI_MSI_IRQ_DOMAIN |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 10 | select PCIE_DW |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 11 | |
Kishon Vijay Abraham I | f8aed6e | 2017-03-27 15:15:05 +0530 | [diff] [blame] | 12 | config PCIE_DW_EP |
| 13 | bool |
| 14 | depends on PCI_ENDPOINT |
| 15 | select PCIE_DW |
| 16 | |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 17 | config PCI_DRA7XX |
| 18 | bool "TI DRA7xx PCIe controller" |
Kishon Vijay Abraham I | 608793e | 2017-03-27 15:15:08 +0530 | [diff] [blame^] | 19 | depends on (PCI && PCI_MSI_IRQ_DOMAIN) || PCI_ENDPOINT |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 20 | depends on OF && HAS_IOMEM && TI_PIPE3 |
Kishon Vijay Abraham I | 608793e | 2017-03-27 15:15:08 +0530 | [diff] [blame^] | 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 |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 34 | depends on PCI_MSI_IRQ_DOMAIN |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 35 | select PCIE_DW_HOST |
Kishon Vijay Abraham I | 608793e | 2017-03-27 15:15:08 +0530 | [diff] [blame^] | 36 | default y |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 37 | help |
Kishon Vijay Abraham I | 608793e | 2017-03-27 15:15:08 +0530 | [diff] [blame^] | 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 |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 50 | |
| 51 | config PCIE_DW_PLAT |
| 52 | bool "Platform bus based DesignWare PCIe Controller" |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 53 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 54 | depends on PCI_MSI_IRQ_DOMAIN |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 55 | select PCIE_DW_HOST |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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" |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 66 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 67 | depends on SOC_EXYNOS5440 |
| 68 | depends on PCI_MSI_IRQ_DOMAIN |
| 69 | select PCIEPORTBUS |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 70 | select PCIE_DW_HOST |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 71 | |
| 72 | config PCI_IMX6 |
| 73 | bool "Freescale i.MX6 PCIe controller" |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 74 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 75 | depends on SOC_IMX6Q |
| 76 | depends on PCI_MSI_IRQ_DOMAIN |
| 77 | select PCIEPORTBUS |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 78 | select PCIE_DW_HOST |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 79 | |
| 80 | config PCIE_SPEAR13XX |
| 81 | bool "STMicroelectronics SPEAr PCIe controller" |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 82 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 83 | depends on ARCH_SPEAR13XX |
| 84 | depends on PCI_MSI_IRQ_DOMAIN |
| 85 | select PCIEPORTBUS |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 86 | select PCIE_DW_HOST |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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" |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 92 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 93 | depends on ARCH_KEYSTONE |
| 94 | depends on PCI_MSI_IRQ_DOMAIN |
| 95 | select PCIEPORTBUS |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 96 | select PCIE_DW_HOST |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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" |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 105 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 106 | depends on OF && (ARM || ARCH_LAYERSCAPE) |
| 107 | depends on PCI_MSI_IRQ_DOMAIN |
| 108 | select MFD_SYSCON |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 109 | select PCIE_DW_HOST |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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" |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 116 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 117 | depends on PCI_MSI_IRQ_DOMAIN |
| 118 | select PCIEPORTBUS |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 119 | select PCIE_DW_HOST |
Arnd Bergmann | 6665f8a | 2017-04-03 16:17:11 -0500 | [diff] [blame] | 120 | select PCI_HOST_COMMON |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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" |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 127 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 128 | depends on ARCH_QCOM && OF |
| 129 | depends on PCI_MSI_IRQ_DOMAIN |
| 130 | select PCIEPORTBUS |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 131 | select PCIE_DW_HOST |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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" |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 139 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 140 | depends on ARCH_MVEBU |
| 141 | depends on PCI_MSI_IRQ_DOMAIN |
| 142 | select PCIEPORTBUS |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 143 | select PCIE_DW_HOST |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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" |
Kishon Vijay Abraham I | 7a2b3f0 | 2017-02-15 18:48:19 +0530 | [diff] [blame] | 152 | depends on PCI |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 153 | depends on MACH_ARTPEC6 |
| 154 | depends on PCI_MSI_IRQ_DOMAIN |
| 155 | select PCIEPORTBUS |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 156 | select PCIE_DW_HOST |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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 |