The PCIe controller dual mode is capable of operating in RC mode as well as EP mode by configuration option. Till now only RC mode was supported, with this patch is add EP support to the DesignWare driver. Gustavo Pimentel (4): bindings: PCI: designware: Example update PCI: dwc: Add support for EP mode bindings: PCI: designware: Add support for EP in DesignWare driver misc: pci_endpoint_test: Add DesignWare EP entry .../devicetree/bindings/pci/designware-pcie.txt | 24 +++- drivers/misc/pci_endpoint_test.c | 1 + drivers/pci/dwc/Kconfig | 41 ++++-- drivers/pci/dwc/pcie-designware-ep.c | 3 + drivers/pci/dwc/pcie-designware-plat.c | 149 +++++++++++++++++++-- drivers/pci/endpoint/functions/pci-epf-test.c | 7 + include/linux/pci-epc.h | 8 ++ 7 files changed, 206 insertions(+), 27 deletions(-) -- 2.7.4