]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: SDI: Configure dss_lcd_mgr_config struct with lcd manager parameters
authorArchit Taneja <archit@ti.com>
Fri, 29 Jun 2012 09:03:18 +0000 (14:33 +0530)
committerArchit Taneja <archit@ti.com>
Fri, 29 Jun 2012 10:32:41 +0000 (16:02 +0530)
commitdb280eaf7801a80957d38e3408193d998c44fdb9
tree5c63d8757bc702b95c3a5b73498a2538621cfc93
parent9e6754379717a9331d41ce445ec40de7673915b6
OMAPDSS: SDI: Configure dss_lcd_mgr_config struct with lcd manager parameters

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

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.

Create function sdi_config_lcd_manager() which fills the mgr_config parameters
and writes to the DISPC registers.

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