]> Pileus Git - ~andy/linux/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)
commit7d2572f8b3df70c29527e5579b4b67a76ba8477d
treef2443b033959130883bf95bc5908f7c7e934e53b
parentbc2e60a69fead72cfff97ddccb4cca5ce75164a8
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