disp: msm: dsi: register io resource collection VM event hook

Add support to read register ranges and IRQ lines that needs
isolation during VM switch in dsi ctrl and dsi phy.
Register for VM resource collection event providing the
callback function.

Change-Id: I5eae4699b0a97ffed438627ccea855c401b3fbeb
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
This commit is contained in:
Jeykumar Sankaran
2020-06-30 23:15:34 -07:00
committed by Gerrit - the friendly Code Review server
parent 4b27380f07
commit 962fd4faca
5 changed files with 101 additions and 0 deletions

View File

@@ -356,4 +356,13 @@ int dsi_phy_dyn_refresh_cache_phy_timings(struct msm_dsi_phy *phy,
*/
void dsi_phy_set_continuous_clk(struct msm_dsi_phy *phy, bool enable);
/**
* dsi_phy_get_io_resources() - reads associated register range
*
* @io_res: pointer to msm_io_res struct to populate the ranges
*
* Return: error code.
*/
int dsi_phy_get_io_resources(struct msm_io_res *io_res);
#endif /* _DSI_PHY_H_ */