Skip to content

Commit

Permalink
OMAPDSS: Add struct to hold LCD overlay manager configuration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Archit Taneja committed Jun 29, 2012
1 parent f0d08f8 commit c56fb3e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions drivers/video/omap2/dss/dss.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c56fb3e

Please sign in to comment.