qcacmn: Support force wake request

1. Add hif_force_wake_request API to wake the
mhi and umac before reading/writing the memory region
greater than BAR+4K.
2. Add hif_force_wake_release API to release the
PCIE_PCIE_LOCAL_REG_PCIE_SOC_WAKE_PCIE_LOCAL_REG so the
umac can power collapse again at a later point of time.
3. Add pci stats to dump the force wake status.

Change-Id: Ic6d5463ea0cdb28d9144be61da55e43033b53298
CRs-Fixed: 2478052
Este commit está contenido en:
Venkata Sharath Chandra Manchala
2019-06-18 17:18:47 -07:00
cometido por nshrivas
padre a32b831887
commit 2b0d3f38d5
Se han modificado 11 ficheros con 408 adiciones y 131 borrados

Ver fichero

@@ -502,6 +502,9 @@ struct hal_soc {
struct hal_hw_srng_config *hw_srng_table;
int32_t *hal_hw_reg_offset;
struct hal_hw_txrx_ops *ops;
/* Indicate srngs initialization */
bool init_phase;
};
void hal_qca6490_attach(struct hal_soc *hal_soc);