]> Pileus Git - ~andy/linux/commit
OMAPDSS: combine LCD related config into one func
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 12 Sep 2012 10:30:39 +0000 (13:30 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 18 Oct 2012 10:11:11 +0000 (13:11 +0300)
commitfb2cec1f72acb030180aa96cd150b47b562bc999
tree62d3c46813a30aba5b9eb85b28a0a654ccee154f
parenta8f3fcd1a274a4ddd4a81b0cdd968b3bdda2415c
OMAPDSS: combine LCD related config into one func

Dispc has a bunch of functions used to configure output related
parameters:

- dispc_mgr_set_io_pad_mode
- dispc_mgr_enable_stallmode
- dispc_mgr_enable_fifohandcheck
- dispc_mgr_set_clock_div
- dispc_mgr_set_tft_data_lines
- dispc_lcd_enable_signal_polarity
- dispc_mgr_set_lcd_type_tft

These are all called together, and the configuration values are taken
from struct dss_lcd_mgr_config.

Instead of exposing those individual dispc functions, create a new one,
dispc_mgr_set_lcd_config(), which is used to configure the above
parameters from values in struct dss_lcd_mgr_config.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/apply.c
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.h