diff options
author | Kevin Huang <kevinh@nvidia.com> | 2012-12-28 17:11:52 -0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2013-04-11 20:09:36 -0700 |
commit | adc35652d05ce188d5414f5eedf621141e277c8f (patch) | |
tree | d358d21a65d49a74d495cbf934602984ee8f287b /arch | |
parent | 71155af296d98fdff15377dda58389d62ad0f574 (diff) |
video: tegra: hdmi: support custom tmds config.
provide the support to set the tmds config according to board file.
Bug 1204008
Change-Id: I44babc372d6fc4319c1dca32c34b775f4b6a1f80
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
(cherry picked from commit 70206460df252616577b0a0a69884becb66c999d)
Reviewed-on: http://git-master/r/215136
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 5290c69ecd04..f5c899f331d5 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -478,6 +478,7 @@ struct tegra_dc_out { int n_modes; struct tegra_dsi_out *dsi; + struct tegra_hdmi_out *hdmi_out; struct tegra_stereo_out *stereo; unsigned height; /* mm */ @@ -754,4 +755,18 @@ int tegra_dc_get_panel_sync_rate(void); int tegra_dc_get_out(const struct tegra_dc *dc); +/* table of electrical settings, must be in acending order. */ +struct tdms_config { + int pclk; + u32 pll0; + u32 pll1; + u32 pe_current; /* pre-emphasis */ + u32 drive_current; + u32 peak_current; /* for TEGRA_11x_SOC */ +}; + +struct tegra_hdmi_out { + struct tdms_config *tdms_config; + int n_tdms_config; +}; #endif |