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

@@ -847,4 +847,14 @@ void dsi_ctrl_set_continuous_clk(struct dsi_ctrl *dsi_ctrl, bool enable);
* @dsi_ctrl: DSI controller handle.
*/
int dsi_ctrl_wait4dynamic_refresh_done(struct dsi_ctrl *ctrl);
/**
* dsi_ctrl_get_io_resources() - reads associated register range
*
* @io_res: pointer to msm_io_res struct to populate the ranges
*
* Return: error code.
*/
int dsi_ctrl_get_io_resources(struct msm_io_res *io_res);
#endif /* _DSI_CTRL_H_ */