summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include
diff options
context:
space:
mode:
authorKevin Huang <kevinh@nvidia.com>2011-06-22 18:32:23 -0700
committerNiket Sirsi <nsirsi@nvidia.com>2011-06-24 21:03:30 -0700
commitd9d2798cfe1452086dab010cf180f7ca21635003 (patch)
tree68c6bda56640c517f85832362531c1a53537eb09 /arch/arm/mach-tegra/include
parent2040c5405d59f73b10720b33b6b3913b3174ac5c (diff)
video: tegra: dsi: Set dc and dsi clock for DSI burst mode.
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>
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r--arch/arm/mach-tegra/include/mach/dc.h19
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 7bb3ad3763c5..897fed0a3878 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 {