aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2011-07-22 03:15:04 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-30 09:16:26 -0400
commit7e951ee9955f3df0c41e523a199cc3b9372cdb9f (patch)
treef9b069c66e3058e8f30bbb9e8aace75851cd7b94 /include/video
parentd604914484ccaaf33361558c9eb2abb441cf9d25 (diff)
OMAP: DSS2: Create enum for DSI operation modes
Create an enum for DSI operation modes, use this to set the capabilities of the device in dsi_init_display(). Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index ddd5bd06b785..aeadbc880e38 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -129,6 +129,11 @@ enum omap_dss_venc_type {
129 OMAP_DSS_VENC_TYPE_SVIDEO, 129 OMAP_DSS_VENC_TYPE_SVIDEO,
130}; 130};
131 131
132enum omap_dss_dsi_mode {
133 OMAP_DSS_DSI_CMD_MODE = 0,
134 OMAP_DSS_DSI_VIDEO_MODE,
135};
136
132enum omap_display_caps { 137enum omap_display_caps {
133 OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE = 1 << 0, 138 OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE = 1 << 0,
134 OMAP_DSS_DISPLAY_CAP_TEAR_ELIM = 1 << 1, 139 OMAP_DSS_DISPLAY_CAP_TEAR_ELIM = 1 << 1,
@@ -480,6 +485,8 @@ struct omap_dss_device {
480 int acb; /* ac-bias pin frequency */ 485 int acb; /* ac-bias pin frequency */
481 486
482 enum omap_panel_config config; 487 enum omap_panel_config config;
488
489 enum omap_dss_dsi_mode dsi_mode;
483 } panel; 490 } panel;
484 491
485 struct { 492 struct {