disp: msm: dsi: snapshot of dsi from 4.14 to 4.19
This change is a snapshot of dsi files taken of 4.14 as of commit 764f7c2 (Merge remote-tracking branch 'quic/dev/msm-4.14-display' into msm-4.14) Change-Id: I8361a844c35a4450f7800964a8da2741676fd6c7 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
91f4bcda9d
commit
edef6ae040
@@ -75,6 +75,22 @@ enum dsi_engine_state {
|
||||
DSI_CTRL_ENGINE_MAX,
|
||||
};
|
||||
|
||||
/**
|
||||
* enum dsi_ctrl_driver_ops - controller driver ops
|
||||
*/
|
||||
enum dsi_ctrl_driver_ops {
|
||||
DSI_CTRL_OP_POWER_STATE_CHANGE,
|
||||
DSI_CTRL_OP_CMD_ENGINE,
|
||||
DSI_CTRL_OP_VID_ENGINE,
|
||||
DSI_CTRL_OP_HOST_ENGINE,
|
||||
DSI_CTRL_OP_CMD_TX,
|
||||
DSI_CTRL_OP_HOST_INIT,
|
||||
DSI_CTRL_OP_TPG,
|
||||
DSI_CTRL_OP_PHY_SW_RESET,
|
||||
DSI_CTRL_OP_ASYNC_TIMING,
|
||||
DSI_CTRL_OP_MAX
|
||||
};
|
||||
|
||||
/**
|
||||
* struct dsi_ctrl_power_info - digital and analog power supplies for dsi host
|
||||
* @digital: Digital power supply required to turn on DSI controller hardware.
|
||||
@@ -212,6 +228,7 @@ struct dsi_ctrl_interrupts {
|
||||
* @null_insertion_enabled: A boolean property to allow dsi controller to
|
||||
* insert null packet.
|
||||
* @modeupdated: Boolean to send new roi if mode is updated.
|
||||
* @split_link_supported: Boolean to check if hw supports split link.
|
||||
*/
|
||||
struct dsi_ctrl {
|
||||
struct platform_device *pdev;
|
||||
@@ -267,6 +284,7 @@ struct dsi_ctrl {
|
||||
bool phy_isolation_enabled;
|
||||
bool null_insertion_enabled;
|
||||
bool modeupdated;
|
||||
bool split_link_supported;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -786,15 +804,24 @@ int dsi_ctrl_get_host_engine_init_state(struct dsi_ctrl *dsi_ctrl,
|
||||
*/
|
||||
int dsi_ctrl_wait_for_cmd_mode_mdp_idle(struct dsi_ctrl *dsi_ctrl);
|
||||
/**
|
||||
* dsi_ctrl_update_host_init_state() - Set the host initialization state
|
||||
* dsi_ctrl_update_host_state() - Set the host state
|
||||
*/
|
||||
int dsi_ctrl_update_host_init_state(struct dsi_ctrl *dsi_ctrl, bool en);
|
||||
int dsi_ctrl_update_host_state(struct dsi_ctrl *dsi_ctrl,
|
||||
enum dsi_ctrl_driver_ops op, bool en);
|
||||
|
||||
/**
|
||||
* dsi_ctrl_pixel_format_to_bpp() - returns number of bits per pxl
|
||||
*/
|
||||
int dsi_ctrl_pixel_format_to_bpp(enum dsi_pixel_format dst_format);
|
||||
|
||||
/**
|
||||
* dsi_ctrl_hs_req_sel() - API to enable continuous clk support through phy
|
||||
* @dsi_ctrl: DSI controller handle.
|
||||
* @sel_phy: Boolean to control whether to select phy or
|
||||
* controller
|
||||
*/
|
||||
void dsi_ctrl_hs_req_sel(struct dsi_ctrl *dsi_ctrl, bool sel_phy);
|
||||
|
||||
/**
|
||||
* dsi_ctrl_set_continuous_clk() - API to set/unset force clock lane HS request.
|
||||
* @dsi_ctrl: DSI controller handle.
|
||||
|
Reference in New Issue
Block a user