summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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, {} }
};