On Thu, Jul 22, 2021 at 7:13 AM Manivannan Sadhasivam
[off-list ref] wrote:
Add driver support for Qualcomm PCIe Endpoint controller driver based on
the Designware core with added Qualcomm specific wrapper around the
core. The driver support is very basic such that it supports only
enumeration, PCIe read/write, and MSI. There is no ASPM and PM support
for now but these will be added later.
The driver is capable of using the PERST# and WAKE# side-band GPIOs for
operation and written on top of the DWC PCI framework.
Co-developed-by: Siddartha Mohanadoss <redacted>
Signed-off-by: Siddartha Mohanadoss <redacted>
[mani: restructured the driver and fixed several bugs for upstream]
Signed-off-by: Manivannan Sadhasivam <redacted>
---
drivers/pci/controller/dwc/Kconfig | 10 +
drivers/pci/controller/dwc/Makefile | 1 +
drivers/pci/controller/dwc/pcie-qcom-ep.c | 710 ++++++++++++++++++++++
3 files changed, 721 insertions(+)
create mode 100644 drivers/pci/controller/dwc/pcie-qcom-ep.c
Reviewed-by: Rob Herring <robh@kernel.org>