disp: msm: config AB/IBB power when AOD mode enter/exit
ELVDD/ELVSS has a dip during AMODE panel AOD exit hand-off. According to PMIC team's suggestion, need to config the AB/IBB power to REGULATOR_MODE_IDLE/REGULATOR_MODE_NORMAL to fix dips. Change-Id: Ia5cbd4d698de262e02a660f670865c03dda1e04a Signed-off-by: Wenjun Zhang <wjzhan@codeaurora.org> Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
bb2f60b35c
commit
2da9889075
@@ -85,4 +85,22 @@ int dsi_pwr_get_dt_vreg_data(struct device *dev,
|
||||
* return: error code in case of failure or 0 for success.
|
||||
*/
|
||||
int dsi_pwr_enable_regulator(struct dsi_regulator_info *regs, bool enable);
|
||||
|
||||
/**
|
||||
* dsi_pwr_panel_regulator_mode_set()
|
||||
* set regulator mode for OLED panel
|
||||
* @regs: Pointer to set of regulators to enable or disable.
|
||||
* @reg_name: Panel regulator name
|
||||
* @regulator_mode: Regulator mode values, like:
|
||||
* REGULATOR_MODE_INVALID
|
||||
* REGULATOR_MODE_FAST
|
||||
* REGULATOR_MODE_NORMAL
|
||||
* REGULATOR_MODE_IDLE
|
||||
* REGULATOR_MODE_STANDBY
|
||||
*
|
||||
* return: error code in case of failure or 0 for success.
|
||||
*/
|
||||
int dsi_pwr_panel_regulator_mode_set(struct dsi_regulator_info *regs,
|
||||
const char *reg_name,
|
||||
int regulator_mode);
|
||||
#endif /* _DSI_PWR_H_ */
|
||||
|
Reference in New Issue
Block a user