summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-04-02 05:42:47 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-04-02 05:42:47 +0000
commite014c008eda0431b473808b492ba23749f399d5c (patch)
treed421dde405e4400a34cd4e74794596d9ffc4c4e2
parentf988c2d02654c36efc3d2d4c40e79868c6484299 (diff)
parentb17ab2e8d758d7eb89cf81df61f4c254b3bba146 (diff)
downloadmt8516-v4.4-e014c008eda0431b473808b492ba23749f399d5c.tar.gz
Merge cherrypicks of [6908054, 6908055, 6908463] into oc-mr1-1.7-iot-release
Change-Id: I9cff1ee1058231d97fe58b985eab3d7309b355a7
-rw-r--r--drivers/misc/mediatek/lcm/st7701s_t400_wvga_dsi_vdo/st7701s_t400_wvga_dsi_vdo.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/drivers/misc/mediatek/lcm/st7701s_t400_wvga_dsi_vdo/st7701s_t400_wvga_dsi_vdo.c b/drivers/misc/mediatek/lcm/st7701s_t400_wvga_dsi_vdo/st7701s_t400_wvga_dsi_vdo.c
index b241e1a3152b..985910a15152 100644
--- a/drivers/misc/mediatek/lcm/st7701s_t400_wvga_dsi_vdo/st7701s_t400_wvga_dsi_vdo.c
+++ b/drivers/misc/mediatek/lcm/st7701s_t400_wvga_dsi_vdo/st7701s_t400_wvga_dsi_vdo.c
@@ -282,11 +282,18 @@ static struct LCM_setting_table lcm_suspend_setting[] = {
#endif
static struct LCM_setting_table lcm_initialization_setting[] = {
- /* ST7701 Initial Code For HS3.97TN(HSD040B8W9-A01) */
- {0x11, 0, {0x00}},
- {REGFLAG_DELAY, 120, {}},
- {0x29, 0, {0x00}},
- {REGFLAG_DELAY, 20, {}},
+ /* ST7701 Initial Code For HS3.97TN(HSD040B8W9-A01) */
+ {0xFF, 5, {0x77, 0x01, 0x00, 0x00, 0x00} },
+ {0x11, 0, {0x00} },
+ {REGFLAG_DELAY, 120, {} },
+ {0xFF, 5, {0x77, 0x01, 0x00, 0x00, 0x10} },
+ {0xB0, 16, {0x40, 0xC9, 0x8F, 0x0D, 0x11, 0x07, 0x02, 0x09,
+ 0x09, 0x1F, 0x04, 0x50, 0x0F, 0xE4, 0x29, 0xDF} },
+ {0xB1, 16, {0x40, 0xCB, 0xD3, 0x11, 0x8F, 0x04, 0x00, 0x08,
+ 0x07, 0x1C, 0x06, 0x53, 0x12, 0x63, 0xEB, 0xDF} },
+ {0xFF, 5, {0x77, 0x01, 0x00, 0x00, 0x00} },
+ {0x29, 0, {0x00} },
+ {REGFLAG_DELAY, 20, {} },
{REGFLAG_END_OF_TABLE, 0x00, {} }
};