diff options
Diffstat (limited to 'drivers/pci/controller/pcie-cadence.h')
-rw-r--r-- | drivers/pci/controller/pcie-cadence.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pci/controller/pcie-cadence.h b/drivers/pci/controller/pcie-cadence.h index ed336cc7f4ba..b342c808f7d6 100644 --- a/drivers/pci/controller/pcie-cadence.h +++ b/drivers/pci/controller/pcie-cadence.h | |||
@@ -8,6 +8,7 @@ | |||
8 | 8 | ||
9 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
10 | #include <linux/pci.h> | 10 | #include <linux/pci.h> |
11 | #include <linux/phy/phy.h> | ||
11 | 12 | ||
12 | /* | 13 | /* |
13 | * Local Management Registers | 14 | * Local Management Registers |
@@ -229,6 +230,9 @@ struct cdns_pcie { | |||
229 | struct resource *mem_res; | 230 | struct resource *mem_res; |
230 | bool is_rc; | 231 | bool is_rc; |
231 | u8 bus; | 232 | u8 bus; |
233 | int phy_count; | ||
234 | struct phy **phy; | ||
235 | struct device_link **link; | ||
232 | }; | 236 | }; |
233 | 237 | ||
234 | /* Register access */ | 238 | /* Register access */ |
@@ -307,5 +311,8 @@ void cdns_pcie_set_outbound_region_for_normal_msg(struct cdns_pcie *pcie, u8 fn, | |||
307 | u32 r, u64 cpu_addr); | 311 | u32 r, u64 cpu_addr); |
308 | 312 | ||
309 | void cdns_pcie_reset_outbound_region(struct cdns_pcie *pcie, u32 r); | 313 | void cdns_pcie_reset_outbound_region(struct cdns_pcie *pcie, u32 r); |
314 | void cdns_pcie_disable_phy(struct cdns_pcie *pcie); | ||
315 | int cdns_pcie_enable_phy(struct cdns_pcie *pcie); | ||
316 | int cdns_pcie_init_phy(struct device *dev, struct cdns_pcie *pcie); | ||
310 | 317 | ||
311 | #endif /* _PCIE_CADENCE_H */ | 318 | #endif /* _PCIE_CADENCE_H */ |