diff options
author | Kevin Huang <kevinh@nvidia.com> | 2011-06-22 18:32:23 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:47:09 -0800 |
commit | ba040048062317e4d3b770278806b63d88f5a03f (patch) | |
tree | a0f62616d81f09544816bf2a5c06707ed16dc69c /arch | |
parent | a75cc230abe52f2ce1afc1b45718acee3a70f2fe (diff) |
video: tegra: dsi: Set dc and dsi clock for DSI burst mode.
Original-Change-Id: Ia631f7bae013f378c36fe05c665ef178bef12a46
Reviewed-on: http://git-master/r/31904
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Tested-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Rebase-Id: R5b5d821365fce376a19a5527c5a9ecc9d2bfbb14
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 85e5c5015a32..4835326b346e 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -57,16 +57,17 @@ enum { TEGRA_DSI_VIDEO_CLOCK_TX_ONLY, }; -/* DSI burst mode setting in video mode */ +/* DSI burst mode setting in video mode. Each mode is assigned with a + * fixed value. The rationale behind this is to avoid change of these + * values, since the calculation of dsi clock depends on them. */ enum { - TEGRA_DSI_VIDEO_NONE_BURST_MODE, - TEGRA_DSI_VIDEO_NONE_BURST_MODE_WITH_SYNC_END, - TEGRA_DSI_VIDEO_BURST_MODE_LOWEST_SPEED, - TEGRA_DSI_VIDEO_BURST_MODE_LOW_SPEED, - TEGRA_DSI_VIDEO_BURST_MODE_MEDIUM_SPEED, - TEGRA_DSI_VIDEO_BURST_MODE_FAST_SPEED, - TEGRA_DSI_VIDEO_BURST_MODE_FASTEST_SPEED, - TEGRA_DSI_VIDEO_BURST_MODE_MANUAL, + TEGRA_DSI_VIDEO_NONE_BURST_MODE = 0, + TEGRA_DSI_VIDEO_NONE_BURST_MODE_WITH_SYNC_END = 1, + TEGRA_DSI_VIDEO_BURST_MODE_LOWEST_SPEED = 2, + TEGRA_DSI_VIDEO_BURST_MODE_LOW_SPEED = 3, + TEGRA_DSI_VIDEO_BURST_MODE_MEDIUM_SPEED = 4, + TEGRA_DSI_VIDEO_BURST_MODE_FAST_SPEED = 5, + TEGRA_DSI_VIDEO_BURST_MODE_FASTEST_SPEED = 6, }; enum { |