summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-pluto-panel.c
diff options
context:
space:
mode:
authorKrishna Yarlagadda <kyarlagadda@nvidia.com>2012-09-21 16:14:02 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-10-10 22:50:53 -0700
commitc51f22f057c80203fa80c8a98d7a3412946c31b6 (patch)
tree33d5598839209f701dcf56bd9f9803480f139ede /arch/arm/mach-tegra/board-pluto-panel.c
parentb636db7fb31ed4c056d00e436556244c3be4c782 (diff)
ARM: tegra: dsi: Fix panel init sequence
Panel spec recommends delays between each init cmd. Providing the delay between cmds and increased delay from sleep to display on Reviewed-on: http://git-master/r/134360 (cherry picked from commit e314216dac4258e9d8253a3fb9fe264dbd7acdbb) Change-Id: I0ce03ee8f0d2a10987bce3a9184e3736d5b8c462 Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/143138 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-pluto-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-pluto-panel.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/board-pluto-panel.c b/arch/arm/mach-tegra/board-pluto-panel.c
index 65fae00eaf81..70f34195796d 100644
--- a/arch/arm/mach-tegra/board-pluto-panel.c
+++ b/arch/arm/mach-tegra/board-pluto-panel.c
@@ -207,24 +207,26 @@ static struct tegra_dsi_cmd dsi_init_cmd[] = {
DSI_CMD_LONG(DSI_GENERIC_LONG_WRITE, panel_ce12),
DSI_CMD_LONG(DSI_GENERIC_LONG_WRITE, panel_ce13),
+ DSI_DLY_MS(100),
/* panel power control 2 */
DSI_CMD_SHORT(DSI_GENERIC_SHORT_WRITE_2_PARAMS, 0xc2, 0x02),
- DSI_DLY_MS(15),
+ DSI_DLY_MS(200),
/* panel power control 2 */
DSI_CMD_SHORT(DSI_GENERIC_SHORT_WRITE_2_PARAMS, 0xc2, 0x06),
- DSI_DLY_MS(15),
+ DSI_DLY_MS(200),
/* panel power control 2 */
DSI_CMD_SHORT(DSI_GENERIC_SHORT_WRITE_2_PARAMS, 0xc2, 0x4e),
- DSI_DLY_MS(85),
+ DSI_DLY_MS(200),
DSI_CMD_SHORT(DSI_DCS_WRITE_0_PARAM, DSI_DCS_EXIT_SLEEP_MODE, 0x0),
- DSI_DLY_MS(15),
+ DSI_DLY_MS(1000),
/* panel OTP 2 */
DSI_CMD_SHORT(DSI_GENERIC_SHORT_WRITE_2_PARAMS, 0xf9, 0x80),
- DSI_DLY_MS(15),
+ DSI_DLY_MS(1000),
DSI_CMD_SHORT(DSI_DCS_WRITE_0_PARAM, DSI_DCS_SET_DISPLAY_ON, 0x0),
+ DSI_DLY_MS(1000),
#endif
#if PANEL_4_7_JDI_720_1280
DSI_CMD_SHORT(DSI_DCS_WRITE_0_PARAM, DSI_DCS_EXIT_SLEEP_MODE, 0x00),