mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
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:
committed by
gerrit autosubmit
parent
aa935a5fa9
commit
368da922ba
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user