dev: gcdb: display: update hx8394f sequence to fix corruption
There is a line corruption on top of hx8394f panel, which is a
specific issue of 8937 SKU2 DVT's panel module. Update hx8394f
init sequence to fix this issue.
Change-Id: I898c9eddc8a3c0ec2ac7c29ab6ba5add3b3dc8a8
diff --git a/dev/gcdb/display/include/panel_hx8394f_720p_video.h b/dev/gcdb/display/include/panel_hx8394f_720p_video.h
index 37425a0..f607946 100644
--- a/dev/gcdb/display/include/panel_hx8394f_720p_video.h
+++ b/dev/gcdb/display/include/panel_hx8394f_720p_video.h
@@ -66,14 +66,14 @@
static char hx8394f_720p_video_on_cmd1[] = {
0x07, 0x00, 0x39, 0xC0,
0xBA, 0x63, 0x03, 0x68,
- 0x6B, 0xB2, 0xc0, 0xFF,
+ 0x6B, 0xB2, 0xC0, 0xFF,
};
static char hx8394f_720p_video_on_cmd2[] = {
0x0B, 0x00, 0x39, 0xC0,
0xB1, 0x50, 0x12, 0x72,
- 0x09, 0x33, 0x54, 0x81,
- 0x31, 0x69, 0x2F, 0xFF,
+ 0x09, 0x33, 0x54, 0xB1,
+ 0x31, 0x6B, 0x2F, 0xFF,
};
static char hx8394f_720p_video_on_cmd3[] = {
@@ -84,12 +84,12 @@
static char hx8394f_720p_video_on_cmd4[] = {
0x16, 0x00, 0x39, 0xC0,
- 0xB4, 0x6C, 0x6D, 0x6C,
- 0x6A, 0x6C, 0x6D, 0x01,
- 0x05, 0xFF, 0x77, 0x00,
- 0x3F, 0x6C, 0x6D, 0x6C,
- 0x6D, 0x6C, 0x6D, 0x01,
- 0x01, 0xFF, 0xFF, 0xFF,
+ 0xB4, 0x73, 0x74, 0x73,
+ 0x74, 0x73, 0x74, 0x01,
+ 0x0C, 0x86, 0x75, 0x00,
+ 0x3F, 0x73, 0x74, 0x73,
+ 0x74, 0x73, 0x74, 0x01,
+ 0x0C, 0x86, 0xFF, 0xFF,
};
static char hx8394f_720p_video_on_cmd5[] = {
@@ -102,7 +102,7 @@
0x15, 0x06, 0x05, 0x06,
0x47, 0x44, 0x0A, 0x0A,
0x4B, 0x10, 0x07, 0x07,
- 0x0e, 0x40, 0xFF, 0xFF,
+ 0x0E, 0x40, 0xFF, 0xFF,
};
static char hx8394f_720p_video_on_cmd6[] = {
@@ -152,13 +152,13 @@
0x70, 0x6F, 0x76, 0x86,
0x89, 0x8D, 0x99, 0x9A,
0x95, 0xA1, 0xB0, 0x57,
- 0x55, 0x58, 0x5C, 0x5e,
+ 0x55, 0x58, 0x5C, 0x5E,
0x64, 0x6B, 0x7F, 0xFF,
};
static char hx8394f_720p_video_on_cmd9[] = {
0x03, 0x00, 0x39, 0xC0,
- 0xC0, 0x1F, 0x73, 0xFF,
+ 0xC0, 0x1F, 0x31, 0xFF,
};
static char hx8394f_720p_video_on_cmd10[] = {
@@ -170,21 +170,57 @@
};
static char hx8394f_720p_video_on_cmd12[] = {
- 0x05, 0x00, 0x39, 0xC0,
- 0xC7, 0x00, 0xC0, 0x00,
- 0xC0, 0xFF, 0xFF, 0xFF,
+ 0xBD, 0x02, 0x15, 0x80
};
static char hx8394f_720p_video_on_cmd13[] = {
+ 0x0D, 0x00, 0x39, 0xC0,
+ 0xD8, 0xFF, 0xFF, 0xFF,
+ 0xFF, 0xFF, 0xFF, 0xFF,
+ 0xFF, 0xFF, 0xFF, 0xFF,
+ 0xFF, 0xFF, 0xFF, 0xFF,
+};
+
+static char hx8394f_720p_video_on_cmd14[] = {
+ 0xBD, 0x00, 0x15, 0x80
+};
+
+static char hx8394f_720p_video_on_cmd15[] = {
+ 0xBD, 0x01, 0x15, 0x80
+};
+
+static char hx8394f_720p_video_on_cmd16[] = {
+ 0xB1, 0x00, 0x15, 0x80
+};
+
+static char hx8394f_720p_video_on_cmd17[] = {
+ 0xBD, 0x00, 0x15, 0x80
+};
+
+static char hx8394f_720p_video_on_cmd18[] = {
+ 0x08, 0x00, 0x39, 0xC0,
+ 0xBF, 0x40, 0x81, 0x50,
+ 0x00, 0x1A, 0xFC, 0x01,
+};
+
+static char hx8394f_720p_video_on_cmd19[] = {
0x03, 0x00, 0x39, 0xC0,
0xB6, 0x7D, 0x7D, 0xFF,
};
-static char hx8394f_720p_video_on_cmd14[] = {
+static char hx8394f_720p_video_on_cmd20[] = {
0x11, 0x00, 0x05, 0x80
};
-static char hx8394f_720p_video_on_cmd15[] = {
+static char hx8394f_720p_video_on_cmd21[] = {
+ 0x0D, 0x00, 0x39, 0xC0,
+ 0xB2, 0x00, 0x80, 0x64,
+ 0x0E, 0x0D, 0x2F, 0x00,
+ 0x00, 0x00, 0x00, 0xC0,
+ 0x18, 0xFF, 0xFF, 0xFF,
+};
+
+static char hx8394f_720p_video_on_cmd22[] = {
0x29, 0x00, 0x05, 0x80
};
@@ -201,13 +237,20 @@
{0x8, hx8394f_720p_video_on_cmd9, 0x00},
{0x4, hx8394f_720p_video_on_cmd10, 0x00},
{0x4, hx8394f_720p_video_on_cmd11, 0x00},
- {0xc, hx8394f_720p_video_on_cmd12, 0x00},
- {0x8, hx8394f_720p_video_on_cmd13, 0x00},
- {0x4, hx8394f_720p_video_on_cmd14, 0x96},
- {0x4, hx8394f_720p_video_on_cmd15, 0x32}
+ {0x4, hx8394f_720p_video_on_cmd12, 0x00},
+ {0x14, hx8394f_720p_video_on_cmd13, 0x00},
+ {0x4, hx8394f_720p_video_on_cmd14, 0x00},
+ {0x4, hx8394f_720p_video_on_cmd15, 0x00},
+ {0x4, hx8394f_720p_video_on_cmd16, 0x00},
+ {0x4, hx8394f_720p_video_on_cmd17, 0x00},
+ {0xc, hx8394f_720p_video_on_cmd18, 0x00},
+ {0x8, hx8394f_720p_video_on_cmd19, 0x00},
+ {0x4, hx8394f_720p_video_on_cmd20, 0x78},
+ {0x14, hx8394f_720p_video_on_cmd21, 0x00},
+ {0x4, hx8394f_720p_video_on_cmd22, 0x14}
};
-#define HX8394F_720P_VIDEO_ON_COMMAND 16
+#define HX8394F_720P_VIDEO_ON_COMMAND 23
static char hx8394f_720p_videooff_cmd0[] = {
0x28, 0x00, 0x05, 0x80