disp: msm: dsi: add support for dsi dynamic clock switch
This change adds support for dynamic switching of dsi clocks to avoid RF interference issues. Also with dynamic dsi clock switch feature coming into picture, now populate the supported refresh rate as list instead of providing a range. Modify the logic to enumerate all the modes in dsi driver, taking dynamic bit clocks, resolutions and refresh rates into account. Change-Id: I5b6e62bc935cf2234bdd96fcb3c7537b4e735fff Signed-off-by: Sandeep Panda <spanda@codeaurora.org> Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org> Signed-off-by: Yujun Zhang <yujunzhang@codeaurora.org>
This commit is contained in:
@@ -63,10 +63,18 @@ enum dsi_dms_mode {
|
||||
};
|
||||
|
||||
struct dsi_dfps_capabilities {
|
||||
bool dfps_support;
|
||||
enum dsi_dfps_type type;
|
||||
u32 min_refresh_rate;
|
||||
u32 max_refresh_rate;
|
||||
u32 *dfps_list;
|
||||
u32 dfps_list_len;
|
||||
bool dfps_support;
|
||||
};
|
||||
|
||||
struct dsi_dyn_clk_caps {
|
||||
bool dyn_clk_support;
|
||||
u32 *bit_clk_list;
|
||||
u32 bit_clk_list_len;
|
||||
};
|
||||
|
||||
struct dsi_pinctrl_info {
|
||||
@@ -159,6 +167,7 @@ struct dsi_panel {
|
||||
bool panel_mode_switch_enabled;
|
||||
|
||||
struct dsi_dfps_capabilities dfps_caps;
|
||||
struct dsi_dyn_clk_caps dyn_clk_caps;
|
||||
struct dsi_panel_phy_props phy_props;
|
||||
|
||||
struct dsi_display_mode *cur_mode;
|
||||
|
مرجع در شماره جدید
Block a user