]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DPI: Configure dss_lcd_mgr_config struct with lcd manager parameters
authorArchit Taneja <archit@ti.com>
Fri, 29 Jun 2012 08:49:13 +0000 (14:19 +0530)
committerArchit Taneja <archit@ti.com>
Fri, 29 Jun 2012 09:16:43 +0000 (14:46 +0530)
commita7d3daab7c0e5b537b6a8e029c5f499883a13e0e
treef3803e94c1fc192c081c4b4090e2df9328888a1d
parenta323dee4ebb890854d5fae66f87373d0a697caab
OMAPDSS: DPI: Configure dss_lcd_mgr_config struct with lcd manager parameters

Create a dss_lcd_mgr_config struct instance in DPI. Fill up all the parameters
of the struct with configurations held by the panel, and the configurations
required by DPI.

Use these to write to the DISPC registers. These direct register writes would be
later replaced by a function which applies the configuration using the shadow
register programming model.

The DISPC_DIVISORo registers were written in the functions dpi_set_dispc_clk()
and dpi_set_dsi_clk(), now they just fill up the dispc_clock_info parameter in
mgr_config. They are written later in dpi_config_lcd_manager.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dpi.c