]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: Add support for EP mode
authorGustavo Pimentel <gustavo.pimentel@synopsys.com>
Tue, 15 May 2018 14:41:42 +0000 (15:41 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 15 May 2018 14:51:38 +0000 (15:51 +0100)
commit1d8c941c908bfcf9e816b95347b336059709bc99
treeb0f42753dd1629a368633fecf353d1645d1fcaee
parenteffed1d2040ec4f873e263eeed27422fda9e9ae6
PCI: dwc: Add support for EP mode

The PCIe controller dual mode is capable of operating in Root Complex
(RC) mode as well as EP mode by configuration option.

Add EP support to the DesignWare driver on top of RC mode support.

Add new property on pci_epc structure which allow to configure
pci_epf_test driver accordingly to the controller specific requirements.

Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/pci/dwc/Kconfig
drivers/pci/dwc/pcie-designware-ep.c
drivers/pci/dwc/pcie-designware-plat.c
drivers/pci/endpoint/functions/pci-epf-test.c
include/linux/pci-epc.h