lcd: update tcon top init [2/2]

PD#SWPL-105763

Problem:
tcon top reset sometimes hungup

Solution:
remove unnecessary tcon top reset

Verify:
at301

Change-Id: I97154eb2b62fff27d3ec05c8985ca4843889223c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
This commit is contained in:
Evoke Zhang
2022-12-15 18:09:32 +08:00
committed by gerrit autosubmit
parent aa935a5fa9
commit 368da922ba
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -25,7 +25,8 @@
/* 20221123: add ioctl functions, include: power,mute,phy,ss*/
/* 20221207: support drm display mode timing for different frame rate*/
/* 20221208: remove black pattern when enable*/
#define LCD_DRV_VERSION "20221208"
/* 20221215: remove unnecessary tcon top reset*/
#define LCD_DRV_VERSION "20221215"
extern struct mutex lcd_vout_mutex;
extern spinlock_t lcd_reg_spinlock;
+1 -1
View File
@@ -1044,7 +1044,7 @@ static int lcd_tcon_top_set_t5(struct aml_lcd_drv_s *pdrv)
lcd_tcon_write(pdrv, TCON_TOP_CTRL, 0x8b99);
}
lcd_tcon_write(pdrv, TCON_PLLLOCK_CNTL, 0x0037);
lcd_tcon_write(pdrv, TCON_RST_CTRL, 0x003f);
//lcd_tcon_write(pdrv, TCON_RST_CTRL, 0x003f);
lcd_tcon_write(pdrv, TCON_RST_CTRL, 0x0000);
lcd_tcon_write(pdrv, TCON_DDRIF_CTRL0, 0x33fff000);
lcd_tcon_write(pdrv, TCON_DDRIF_CTRL1, 0x300300);