summaryrefslogtreecommitdiffstats
path: root/drivers/pci/dwc/Kconfig
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2017-03-27 11:45:05 +0200
committerBjorn Helgaas <bhelgaas@google.com>2017-04-28 17:23:16 +0200
commitf8aed6ec624fb436877a1a552393fd22510a5ff7 (patch)
treea8bc4f1006bc7e1e612635d62d1b0aca96b32e82 /drivers/pci/dwc/Kconfig
parentDocumentation: PCI: Add binding documentation for pci-test endpoint function (diff)
downloadlinux-f8aed6ec624fb436877a1a552393fd22510a5ff7.tar.xz
linux-f8aed6ec624fb436877a1a552393fd22510a5ff7.zip
PCI: dwc: designware: Add EP mode support
Add endpoint mode support to designware driver. This uses the EP Core layer introduced recently to add endpoint mode support. *Any* function driver can now use this designware device in order to achieve the EP functionality. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/dwc/Kconfig')
-rw-r--r--drivers/pci/dwc/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/dwc/Kconfig b/drivers/pci/dwc/Kconfig
index d2d2ba5b8a68..d37ea72a846a 100644
--- a/drivers/pci/dwc/Kconfig
+++ b/drivers/pci/dwc/Kconfig
@@ -9,6 +9,11 @@ config PCIE_DW_HOST
depends on PCI_MSI_IRQ_DOMAIN
select PCIE_DW
+config PCIE_DW_EP
+ bool
+ depends on PCI_ENDPOINT
+ select PCIE_DW
+
config PCI_DRA7XX
bool "TI DRA7xx PCIe controller"
depends on PCI