OMAP4: DSS2: Register configuration changes for DSI master patches_v6
authorArchit Taneja <archit@ti.com>
Tue, 22 Mar 2011 11:33:36 +0000 (06:33 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 22 Mar 2011 12:07:44 +0000 (14:07 +0200)
commitc4202c86cdd53c91744d652ec0e16fd28ff6d6f3
treee921697453d23492aa34aa808428c010e242fd16
parentb295d6e593e02168fdafc5db11464b6d51cf239d
OMAP4: DSS2: Register configuration changes for DSI

The following changes have changed from OMAP3 to OMAP4 DSI:
-The register field DSI_PLL_FREQSEL in DSI_PLL_CONFIGURATION2 has been removed.
-DCS_CMD_ENABLE and DCS_CMD_CODE bits have been moved from DSI_CTRL to
DSI_VC_CTRLi, hence the control of the bits is available per VC.
-DSI LDO powergood notification doesn't work on OMAP4. This is mentioned in
OMAP4 errata revision 1.8(Errata 1.76).
-OCP_WIDTH register field is included in DSI_VC_CTRL.
-The SCP clock is also required to access DSI PLL registers

Introduce dss features for these changes so that DSI runs on both OMAP3 and
OMAP4.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/dss_features.c
drivers/video/omap2/dss/dss_features.h