select PCIEPORTBUS
select PCIE_DW
help
--- -- Say Y here if you want PCIe controller support on HiSilicon HIP05 SoC
+++ ++ Say Y here if you want PCIe controller support on HiSilicon
+++ ++ Hip05 and Hip06 SoCs
+++ +
++++ +config PCIE_QCOM
++++ + bool "Qualcomm PCIe controller"
++++ + depends on ARCH_QCOM && OF
++++ + select PCIE_DW
++++ + select PCIEPORTBUS
++++ + help
++++ + Say Y here to enable PCIe controller support on Qualcomm SoCs. The
++++ + PCIe controller uses the Designware core plus Qualcomm-specific
++++ + hardware wrappers.
+
endmenu
}
/* Structure representing the PCIe interface */
----- /*
----- * ARM pcibios functions expect the ARM struct pci_sys_data as the PCI
----- * sysdata. Add pci_sys_data as the first element in struct gen_pci so
----- * that when we use a gen_pci pointer as sysdata, it is also a pointer to
----- * a struct pci_sys_data.
----- */
struct rcar_pcie {
----- #ifdef CONFIG_ARM
----- struct pci_sys_data sys;
----- #endif
struct device *dev;
void __iomem *base;
---- struct resource res[RCAR_PCI_MAX_RESOURCES];
---- struct resource busn;
++++ struct list_head resources;
int root_bus_nr;
struct clk *clk;
struct clk *bus_clk;
static const struct of_device_id rcar_pcie_of_match[] = {
{ .compatible = "renesas,pcie-r8a7779", .data = rcar_pcie_hw_init_h1 },
- { .compatible = "renesas,pcie-rcar-gen2", .data = rcar_pcie_hw_init },
----- { .compatible = "renesas,pcie-r8a7790", .data = rcar_pcie_hw_init },
----- { .compatible = "renesas,pcie-r8a7791", .data = rcar_pcie_hw_init },
+++++ { .compatible = "renesas,pcie-rcar-gen2", .data = rcar_pcie_hw_init_gen2 },
+++++ { .compatible = "renesas,pcie-r8a7790", .data = rcar_pcie_hw_init_gen2 },
+++++ { .compatible = "renesas,pcie-r8a7791", .data = rcar_pcie_hw_init_gen2 },
++++ { .compatible = "renesas,pcie-r8a7795", .data = rcar_pcie_hw_init },
{},
};
MODULE_DEVICE_TABLE(of, rcar_pcie_of_match);