aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dispc.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-06-21 00:15:11 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-06-29 03:15:46 -0400
commitd21f43bc392911acf01b7f2090615df4ca09ac7d (patch)
treee70cbdbcb4d4188ffd7f5f9cca708a0ea6919d10 /drivers/video/omap2/dss/dispc.c
parent5ae9eaa6dbeccab781cd9312371fad801a5ba1a2 (diff)
OMAPDSS: Remove passive matrix LCD support (part 3)
Remove omap_lcd_display_type enum The enum omap_lcd_display_type is used to configure the lcd display type in DISPC. Remove this enum and always set display type to TFT by creating function dss_mgr_set_lcd_type_tft(). Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dispc.c')
-rw-r--r--drivers/video/omap2/dss/dispc.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index 6e25624b3faf..c017d22cad48 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -2490,26 +2490,9 @@ void dispc_mgr_enable_fifohandcheck(enum omap_channel channel, bool enable)
2490} 2490}
2491 2491
2492 2492
2493void dispc_mgr_set_lcd_display_type(enum omap_channel channel, 2493void dispc_mgr_set_lcd_type_tft(enum omap_channel channel)
2494 enum omap_lcd_display_type type)
2495{ 2494{
2496 int mode; 2495 mgr_fld_write(channel, DISPC_MGR_FLD_STNTFT, 1);
2497
2498 switch (type) {
2499 case OMAP_DSS_LCD_DISPLAY_STN:
2500 mode = 0;
2501 break;
2502
2503 case OMAP_DSS_LCD_DISPLAY_TFT:
2504 mode = 1;
2505 break;
2506
2507 default:
2508 BUG();
2509 return;
2510 }
2511
2512 mgr_fld_write(channel, DISPC_MGR_FLD_STNTFT, mode);
2513} 2496}
2514 2497
2515void dispc_set_loadmode(enum omap_dss_load_mode mode) 2498void dispc_set_loadmode(enum omap_dss_load_mode mode)