]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DSI: Fix HSYNC, VSYNC and DE polarities between DISPC and DSI
authorArchit Taneja <archit@ti.com>
Tue, 26 Jun 2012 07:08:31 +0000 (12:38 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 29 Jun 2012 07:15:54 +0000 (10:15 +0300)
commit90f1ca2112b745bcfb998a2fbc2f95a32e303530
treecd5114edfeb1f1dd4ae30f886f176236c5e5eb84
parentf9d3955ef16319896bfb96bd6b717effc2a46166
OMAPDSS: DSI: Fix HSYNC, VSYNC and DE polarities between DISPC and DSI

For DSI operation in videomode, DISPC logic levels for the signals HSYNC, VSYNC
and DE need to be specified to DSI via the fields VP_HSYNC_POL, VP_VSYNC_POL and
VP_DE_POL in DSI_CTRL registers.

This information is completely internal to DSS as logic levels for the above
signals hold no meaning on the DSI bus. Hence a DSI panel driver should be
totally oblivious of these fields.

Fix the logic levels/polarities in the DISPC and DSI registers to a default
value. This is done by overriding these fields in omap_video_timings struct
filled by the panel driver for DISPC, and use the equivalent default values
when programming DSI_CTRL registers. Also, remove the redundant polarity related
fields in omap_dss_dsi_videomode_data.

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