Re: [PATCH v7 2/3] PCI: qcom-ep: Add Qualcomm PCIe Endpoint controller driver

From: Rob Herring
Date: Tue Sep 14 2021 - 10:04:41 EST


On Thu, Jul 22, 2021 at 7:13 AM Manivannan Sadhasivam
<manivannan.sadhasivam@xxxxxxxxxx> 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 <smohanad@xxxxxxxxxxxxxx>
> Signed-off-by: Siddartha Mohanadoss <smohanad@xxxxxxxxxxxxxx>
> [mani: restructured the driver and fixed several bugs for upstream]
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>