diff options
author | Archit Taneja <archit@ti.com> | 2012-06-29 14:03:48 +0530 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-06-29 14:03:48 +0530 |
commit | c56fb3ef051c6cafca48c0ddcf52a570d6257574 (patch) | |
tree | 87ec314d4dad6f036133a2576926f55b69d70537 /drivers/video/omap2 | |
parent | f0d08f89ff27f7a600f21f443b6622132c9eb641 (diff) | |
download | linux-c56fb3ef051c6cafca48c0ddcf52a570d6257574.tar.bz2 |
OMAPDSS: Add struct to hold LCD overlay manager configuration
Create a struct dss_lcd_mgr_config which holds LCD overlay manager related
parameters. These are currently partially contained in the omap_dss_device
connected to the manager, and the rest are in the interface driver.
The parameters are directly written to the DISPC registers in the interface
drivers. These should eventually be applied at the correct time using the
shadow register programming model. This struct would help in grouping these
parameters so that they can be applied together.
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index a638846559ce..061c95e20d49 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h @@ -158,6 +158,19 @@ struct reg_field { u8 low; }; +struct dss_lcd_mgr_config { + enum dss_io_pad_mode io_pad_mode; + + bool stallmode; + bool fifohandcheck; + + struct dispc_clock_info clock_info; + + int video_port_width; + + int lcden_sig_polarity; +}; + struct seq_file; struct platform_device; |