This is a series of patches for the cadence PCIe host and EP drivers, to: - Add optional list of generic PHYs to host and EP drivers - Add PHY bindings to devicetree - Add Power Management ops, which will enable/disable PHYs if present - Add shutdown handler to host driver - Update cdns_pcie_writel function signature Changes in v3: Use devm_phy_optional_get() to get optional PHY Updated decription in DT bindings to cover use of single/multiple PHYs Split patch to add shutdown callback in separate patch Re-based on v4.18-rc1 Changes in v2: Split commit into four patches Re-based on v4.17-rc1 Alan Douglas (5): PCI: cadence: Update cdns_pcie_writel function signature PCI: cadence: Add generic PHY support to host and EP drivers dt-bindings: PCI: cadence: Add DT bindings for optional PHYs PCI: cadence: Add Power Management ops for host and EP PCI: cadence: Add shutdown callback to host driver .../devicetree/bindings/pci/cdns,cdns-pcie-ep.txt | 5 + .../bindings/pci/cdns,cdns-pcie-host.txt | 6 + drivers/pci/controller/pcie-cadence-ep.c | 15 +++- drivers/pci/controller/pcie-cadence-host.c | 33 +++++ drivers/pci/controller/pcie-cadence.c | 123 ++++++++++++++++++++ drivers/pci/controller/pcie-cadence.h | 13 ++- 6 files changed, 193 insertions(+), 2 deletions(-)