PCI: qcom: Add support for IPQ4019 PCIe controller
authorJohn Crispin <john@phrozen.org>
Tue, 23 May 2017 20:02:28 +0000 (15:02 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 2 Jul 2017 23:45:08 +0000 (18:45 -0500)
commit90d52d57ccace5cd590ae642765b510240986546
tree461be1a81c2703633aeea2b20a9e8de14d7558d1
parent769b461fc0c0451bacf75826d5830fc07c5a57e4
PCI: qcom: Add support for IPQ4019 PCIe controller

Add support for the IPQ4019 PCIe controller.  IPQ4019 supports Gen 1/2, one
lane, one PCIe root complex with support for MSI and legacy interrupts, and
it conforms to PCI Express Base 2.1 specification.

The core init is the same as for the MSM8996, however the clocks and reset
lines differ.

[bhelgaas: fix qcom_pcie_get_resources_v3(), qcom_pcie_init_v3() compile
issues]
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Acked-by: Rob Herring <robh@kernel.org> # binding
Documentation/devicetree/bindings/pci/qcom,pcie.txt
drivers/pci/dwc/pcie-qcom.c