enable power control during lcd sw_enable to fix regulator mismatch issue
Signed-off-by: August <mingxin.android@gmail.com>
This commit is contained in:
parent
c72abeb23f
commit
eb4a71eecb
2 changed files with 4 additions and 4 deletions
|
@ -859,7 +859,7 @@ static s32 disp_lcd_pin_cfg(struct disp_device *lcd, u32 bon)
|
||||||
disp_al_lcd_io_cfg(lcd->hwdev_index, bon, &lcdp->panel_info);
|
disp_al_lcd_io_cfg(lcd->hwdev_index, bon, &lcdp->panel_info);
|
||||||
|
|
||||||
/* bpi, vcc-pd and vcc-dsi-3v3 always on, no power control here */
|
/* bpi, vcc-pd and vcc-dsi-3v3 always on, no power control here */
|
||||||
#if 0
|
#if 1
|
||||||
if (bon == 0) {
|
if (bon == 0) {
|
||||||
for (i = LCD_GPIO_REGU_NUM - 1; i >= 0; i--) {
|
for (i = LCD_GPIO_REGU_NUM - 1; i >= 0; i--) {
|
||||||
if (!
|
if (!
|
||||||
|
@ -1913,7 +1913,7 @@ static s32 disp_lcd_sw_enable(struct disp_device *lcd)
|
||||||
DE_WRN("cal_real_frame_period fail:%d\n", ret);
|
DE_WRN("cal_real_frame_period fail:%d\n", ret);
|
||||||
|
|
||||||
/* bpi, vcc-pd and vcc-dsi-3v3 always on, no power control here */
|
/* bpi, vcc-pd and vcc-dsi-3v3 always on, no power control here */
|
||||||
#if 0
|
#if 1
|
||||||
/* init fix power */
|
/* init fix power */
|
||||||
for (i = 0; i < LCD_POWER_NUM; i++) {
|
for (i = 0; i < LCD_POWER_NUM; i++) {
|
||||||
if (lcdp->lcd_cfg.lcd_fix_power_used[i] == 1)
|
if (lcdp->lcd_cfg.lcd_fix_power_used[i] == 1)
|
||||||
|
|
|
@ -577,10 +577,10 @@ lcd_bright_curve_en = 0
|
||||||
lcd_cmap_en = 0
|
lcd_cmap_en = 0
|
||||||
|
|
||||||
;rst
|
;rst
|
||||||
lcd_gpio_0 = port:PD6<1><0><default><0>
|
lcd_gpio_0 = port:PD6<1><0><default><1>
|
||||||
|
|
||||||
;power enable
|
;power enable
|
||||||
lcd_gpio_1 = port:PD7<1><0><default><0>
|
lcd_gpio_1 = port:PD7<1><0><default><1>
|
||||||
lcd_bl_en = port:PD5<1><0><default><1>
|
lcd_bl_en = port:PD5<1><0><default><1>
|
||||||
|
|
||||||
lcd_power = "vcc-dsi-33"
|
lcd_power = "vcc-dsi-33"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue