]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DSI: Configure dss_lcd_mgr_config struct with lcd manager parameters
authorArchit Taneja <archit@ti.com>
Fri, 29 Jun 2012 09:01:07 +0000 (14:31 +0530)
committerArchit Taneja <archit@ti.com>
Fri, 29 Jun 2012 10:32:26 +0000 (16:02 +0530)
commit05ef74c14f203dc22732a34aaf69855d97b2621c
treef2443b033959130883bf95bc5908f7c7e934e53b
parent04969cc17a9e37719caeae5111169a6995b4198e
OMAPDSS: DSI: Configure dss_lcd_mgr_config struct with lcd manager parameters

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

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 function dsi_configure_dispc_clocks() is now called in
dsi_display_init_dispc(), this lets all the lcd manager related configurations
happen in the same place. The DISPC_DIVISORo register was written in
dsi_configure_dispc_clock(), now it just fills up the dispc_clock_info parameter
in mgr_config. The clock_info is written later in dsi_display_init_dispc().

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