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 |
Niklas Cassel | b052835 | 2017-12-20 00:29:28 +0100 | [diff] [blame^] | 18 | bool |
Kishon Vijay Abraham I | 608793e | 2017-03-27 15:15:08 +0530 | [diff] [blame] | 19 | |
| 20 | config PCI_DRA7XX_HOST |
Niklas Cassel | b052835 | 2017-12-20 00:29:28 +0100 | [diff] [blame^] | 21 | bool "TI DRA7xx PCIe controller Host Mode" |
| 22 | depends on SOC_DRA7XX || COMPILE_TEST |
| 23 | depends on PCI && PCI_MSI_IRQ_DOMAIN |
| 24 | depends on OF && HAS_IOMEM && TI_PIPE3 |
Kishon Vijay Abraham I | a056020 | 2017-02-15 18:48:18 +0530 | [diff] [blame] | 25 | select PCIE_DW_HOST |
Niklas Cassel | b052835 | 2017-12-20 00:29:28 +0100 | [diff] [blame^] | 26 | select PCI_DRA7XX |
Kishon Vijay Abraham I | 608793e | 2017-03-27 15:15:08 +0530 | [diff] [blame] | 27 | default y |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 28 | help |
Niklas Cassel | b052835 | 2017-12-20 00:29:28 +0100 | [diff] [blame^] | 29 | Enables support for the PCIe controller in the DRA7xx SoC to work in |
| 30 | host mode. There are two instances of PCIe controller in DRA7xx. |
| 31 | This controller can work either as EP or RC. In order to enable |
| 32 | host-specific features PCI_DRA7XX_HOST must be selected and in order |
| 33 | to enable device-specific features PCI_DRA7XX_EP must be selected. |
| 34 | This uses the DesignWare core. |
Kishon Vijay Abraham I | 608793e | 2017-03-27 15:15:08 +0530 | [diff] [blame] | 35 | |
| 36 | config PCI_DRA7XX_EP |
Niklas Cassel | b052835 | 2017-12-20 00:29:28 +0100 | [diff] [blame^] | 37 | bool "TI DRA7xx PCIe controller Endpoint Mode" |
| 38 | depends on SOC_DRA7XX || COMPILE_TEST |
Kishon Vijay Abraham I | 608793e | 2017-03-27 15:15:08 +0530 | [diff] [blame] | 39 | depends on PCI_ENDPOINT |
Niklas Cassel | b052835 | 2017-12-20 00:29:28 +0100 | [diff] [blame^] | 40 | depends on OF && HAS_IOMEM && TI_PIPE3 |
Kishon Vijay Abraham I | 608793e | 2017-03-27 15:15:08 +0530 | [diff] [blame] | 41 | select PCIE_DW_EP |
Niklas Cassel | b052835 | 2017-12-20 00:29:28 +0100 | [diff] [blame^] | 42 | select PCI_DRA7XX |
Kishon Vijay Abraham I | 608793e | 2017-03-27 15:15:08 +0530 | [diff] [blame] | 43 | help |
Niklas Cassel | b052835 | 2017-12-20 00:29:28 +0100 | [diff] [blame^] | 44 | Enables support for the PCIe controller in the DRA7xx SoC to work in |
| 45 | endpoint mode. There are two instances of PCIe controller in DRA7xx. |
| 46 | This controller can work either as EP or RC. In order to enable |
| 47 | host-specific features PCI_DRA7XX_HOST must be selected and in order |
| 48 | to enable device-specific features PCI_DRA7XX_EP must be selected. |
| 49 | This uses the DesignWare core. |
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 |
Bjorn Helgaas | 96291d5 | 2017-09-01 16:35:50 -0500 | [diff] [blame] | 99 | SoCs. The PCI controller on Keystone is based on DesignWare hardware |
| 100 | and therefore the driver re-uses the DesignWare core functions to |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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 |
Bjorn Helgaas | 96291d5 | 2017-09-01 16:35:50 -0500 | [diff] [blame] | 134 | PCIe controller uses the DesignWare core plus Qualcomm-specific |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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 |
Bjorn Helgaas | 96291d5 | 2017-09-01 16:35:50 -0500 | [diff] [blame] | 147 | DesignWare hardware and therefore the driver re-uses the |
| 148 | DesignWare core functions to implement the driver. |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 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 | |
Xiaowei Song | fc5165d | 2017-06-19 18:23:48 +0800 | [diff] [blame] | 161 | config PCIE_KIRIN |
| 162 | depends on OF && ARM64 |
| 163 | bool "HiSilicon Kirin series SoCs PCIe controllers" |
| 164 | depends on PCI |
| 165 | select PCIEPORTBUS |
| 166 | select PCIE_DW_HOST |
| 167 | help |
| 168 | Say Y here if you want PCIe controller support |
| 169 | on HiSilicon Kirin series SoCs. |
| 170 | |
Jianguo Sun | bbd11bd | 2017-10-23 19:17:50 +0800 | [diff] [blame] | 171 | config PCIE_HISI_STB |
| 172 | bool "HiSilicon STB SoCs PCIe controllers" |
| 173 | depends on ARCH_HISI |
| 174 | depends on PCI |
| 175 | depends on PCI_MSI_IRQ_DOMAIN |
| 176 | select PCIEPORTBUS |
| 177 | select PCIE_DW_HOST |
| 178 | help |
| 179 | Say Y here if you want PCIe controller support on HiSilicon STB SoCs |
| 180 | |
Kishon Vijay Abraham I | 950bf63 | 2017-01-06 18:22:48 +0530 | [diff] [blame] | 181 | endmenu |