diff options
author | Animesh Kishore <ankishore@nvidia.com> | 2012-02-22 21:07:00 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-23 21:19:54 -0800 |
commit | 2e11ad144a36c2fe438bae13ca3259c1b5dbff6b (patch) | |
tree | 083a9fb96f62dc6ea203d58475ae4905c146fea4 /arch/arm/mach-tegra | |
parent | 97d4143b0c92d5e34ddce226c9fe35c16c87017b (diff) |
video: tegra: dsi: Fix dsi phy timing
Corrected the formulas to calculate phy timing.
Added mipi d-phy constraints.
Bug 938043
Change-Id: Ie1f2dd45e7e39f83735fe28e21a62dc0415c7c00
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/85217
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index cce961643257..3734bc745d5c 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -82,11 +82,11 @@ struct tegra_dsi_cmd { union { u16 data_len; u16 delay_ms; - struct{ + struct { u8 data0; u8 data1; - }sp; - }sp_len_dly; + } sp; + } sp_len_dly; u8 *pdata; }; @@ -111,13 +111,21 @@ struct tegra_dsi_cmd { struct dsi_phy_timing_ns { u16 t_hsdexit_ns; u16 t_hstrail_ns; - u16 t_hsprepr_ns; u16 t_datzero_ns; + u16 t_hsprepare_ns; u16 t_clktrail_ns; u16 t_clkpost_ns; u16 t_clkzero_ns; u16 t_tlpx_ns; + + u16 t_clkprepare_ns; + u16 t_clkpre_ns; + u16 t_wakeup_ns; + + u16 t_taget_ns; + u16 t_tasure_ns; + u16 t_tago_ns; }; struct tegra_dsi_out { @@ -132,16 +140,16 @@ struct tegra_dsi_out { bool panel_has_frame_buffer; /* required*/ - struct tegra_dsi_cmd* dsi_init_cmd; /* required */ + struct tegra_dsi_cmd *dsi_init_cmd; /* required */ u16 n_init_cmd; /* required */ - struct tegra_dsi_cmd* dsi_early_suspend_cmd; + struct tegra_dsi_cmd *dsi_early_suspend_cmd; u16 n_early_suspend_cmd; - struct tegra_dsi_cmd* dsi_late_resume_cmd; + struct tegra_dsi_cmd *dsi_late_resume_cmd; u16 n_late_resume_cmd; - struct tegra_dsi_cmd* dsi_suspend_cmd; /* required */ + struct tegra_dsi_cmd *dsi_suspend_cmd; /* required */ u16 n_suspend_cmd; /* required */ u8 video_data_type; /* required */ |