summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <luchris@google.com>2022-09-30 11:54:39 +0800
committerChris Lu <luchris@google.com>2022-09-30 11:58:15 +0800
commit6baf60995b1de66f5ceb635aa884b556e5c0ea34 (patch)
tree77b51b27d89141414a36d48de47606218325ae9d
parentb5bfeb7ddf36ad72262bc2a7f7a7bb6958a792f1 (diff)
downloaddisplay-6baf60995b1de66f5ceb635aa884b556e5c0ea34.tar.gz
panel: nt37290: remove long TE2 pulse
There is a long TE2 pulse during the power on/off sequence, which may impact the sensor behavior. Add the commands to remove it. Bug: 236068704 Test: signal measurement Signed-off-by: Chris Lu <luchris@google.com> Change-Id: I9251a039b3c71be42f736824d342b4fa59411879
-rw-r--r--samsung/panel/panel-boe-nt37290.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/samsung/panel/panel-boe-nt37290.c b/samsung/panel/panel-boe-nt37290.c
index 4766a26..9d007f7 100644
--- a/samsung/panel/panel-boe-nt37290.c
+++ b/samsung/panel/panel-boe-nt37290.c
@@ -397,6 +397,9 @@ static const struct exynos_dsi_cmd nt37290_init_cmds[] = {
0x00),
EXYNOS_DSI_CMD_SEQ_REV(PANEL_REV_DVT1, 0x6F, 0x28),
EXYNOS_DSI_CMD_SEQ_REV(PANEL_REV_DVT1, 0xB8, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00),
+ /* CMD2 Page 5: remove long TE2 pulse */
+ EXYNOS_DSI_CMD_SEQ(0xF0, 0x55, 0xAA, 0x52, 0x08, 0x05),
+ EXYNOS_DSI_CMD_SEQ(0xB6, 0x06, 0x03),
/* CMD3 Page 0 */
EXYNOS_DSI_CMD_SEQ(0xFF, 0xAA, 0x55, 0xA5, 0x80),