diff options
Diffstat (limited to 'arch/arm/mach-tegra/panel-lgd-wxga-7-0.c')
-rw-r--r-- | arch/arm/mach-tegra/panel-lgd-wxga-7-0.c | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/arch/arm/mach-tegra/panel-lgd-wxga-7-0.c b/arch/arm/mach-tegra/panel-lgd-wxga-7-0.c index 1834a4a96986..429a0bd0ffed 100644 --- a/arch/arm/mach-tegra/panel-lgd-wxga-7-0.c +++ b/arch/arm/mach-tegra/panel-lgd-wxga-7-0.c @@ -91,7 +91,7 @@ static struct tegra_dsi_out dsi_lgd_wxga_7_0_pdata = { .power_saving_suspend = true, .video_data_type = TEGRA_DSI_VIDEO_TYPE_VIDEO_MODE, - .video_clock_mode = TEGRA_DSI_VIDEO_CLOCK_CONTINUOUS, + .video_clock_mode = TEGRA_DSI_VIDEO_CLOCK_TX_ONLY, .dsi_init_cmd = dsi_lgd_wxga_7_0_init_cmd, .n_init_cmd = ARRAY_SIZE(dsi_lgd_wxga_7_0_init_cmd), @@ -104,6 +104,13 @@ static struct tegra_dsi_out dsi_lgd_wxga_7_0_pdata = { .dsi_suspend_cmd = dsi_lgd_wxga_7_0_suspend_cmd, .n_suspend_cmd = ARRAY_SIZE(dsi_lgd_wxga_7_0_suspend_cmd), + + .phy_timing = { + .t_clkprepare_ns = 27, + .t_clkzero_ns = 330, + .t_hsprepare_ns = 30, + .t_datzero_ns = 270, + }, }; static int tegratab_dsi_regulator_get(struct device *dev) @@ -248,24 +255,21 @@ static int dsi_lgd_wxga_7_0_postsuspend(void) * v_total = * Vert_BackPorch + Vert_SyncWidth + Vert_DispActive + Vert_FrontPorch; * panel_freq = ( h_total * v_total * refresh_freq ); - * h_total = 40 + 8 + 800 + 16 = 864 - * v_total = 2 + 1 + 1280 + 5 = 1288 - * panel_freq = 864 * 1288 * 60 = 66769920 ==> let's set it to 67000000 ! */ static struct tegra_dc_mode dsi_lgd_wxga_7_0_modes[] = { { - .pclk = 67000000, + .pclk = 71000000, /* 890 *1323 *60 = 70648200 */ .h_ref_to_sync = 10, .v_ref_to_sync = 1, - .h_sync_width = 8, + .h_sync_width = 1, .v_sync_width = 1, - .h_back_porch = 40, /*48 - 8(h_sync_width)*/ - .v_back_porch = 2, /*3 - 1(v_sync_width)*/ + .h_back_porch = 57, + .v_back_porch = 14, .h_active = 800, .v_active = 1280, - .h_front_porch = 16, - .v_front_porch = 5, + .h_front_porch = 32, + .v_front_porch = 28, }, }; |