]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
OMAP: DSS2: DSI: Remove CIO LDO status check
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 14 Apr 2011 08:42:22 +0000 (11:42 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 11 May 2011 11:20:12 +0000 (14:20 +0300)
CIO LDO status check seems to be broken on OMAP3630+ chips, and it's
also quite unclear what LDO status actually tells and when its status
changes.

This patch removes the whole check on the grounds that if there's a
problem with the LDO, we should anyway catch the problem as we check the
CIO power state and CIO reset status.

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

index d05f8997e02b5bab63a5b2d3e27d28f67f2d7500..4223164f65070de792c20d1cc23a632cdd98bd45 100644 (file)
@@ -1952,14 +1952,6 @@ static int dsi_complexio_init(struct omap_dss_device *dssdev)
                goto err;
        }
 
-       if (dss_has_feature(FEAT_DSI_LDO_STATUS)) {
-               if (wait_for_bit_change(DSI_COMPLEXIO_CFG1, 21, 1) != 1) {
-                       DSSERR("ComplexIO LDO power down.\n");
-                       r = -ENODEV;
-                       goto err;
-               }
-       }
-
        dsi_complexio_timings();
 
        /*
index 5a81c652e604b648e0d3e1f1bbe8a2e7dfda18e9..7da798acee93d20a00bdc79f7c62c91b4ed88f06 100644 (file)
@@ -253,7 +253,7 @@ static struct omap_dss_features omap3430_dss_features = {
                FEAT_LCDENABLESIGNAL | FEAT_PCKFREEENABLE |
                FEAT_FUNCGATED | FEAT_ROWREPEATENABLE |
                FEAT_LINEBUFFERSPLIT | FEAT_RESIZECONF |
-               FEAT_DSI_PLL_FREQSEL | FEAT_DSI_LDO_STATUS,
+               FEAT_DSI_PLL_FREQSEL,
 
        .num_mgrs = 2,
        .num_ovls = 3,
@@ -273,7 +273,7 @@ static struct omap_dss_features omap3630_dss_features = {
                FEAT_PRE_MULT_ALPHA | FEAT_FUNCGATED |
                FEAT_ROWREPEATENABLE | FEAT_LINEBUFFERSPLIT |
                FEAT_RESIZECONF | FEAT_DSI_PLL_PWR_BUG |
-               FEAT_DSI_PLL_FREQSEL |FEAT_DSI_LDO_STATUS,
+               FEAT_DSI_PLL_FREQSEL,
 
        .num_mgrs = 2,
        .num_ovls = 3,
index d03f558d181b8b21050d4cc60b6d54de79b0059a..1093e8daaa66d511ad659b2b443217f3a3e7660b 100644 (file)
@@ -43,9 +43,8 @@ enum dss_feat_id {
        /* DSI-PLL power command 0x3 is not working */
        FEAT_DSI_PLL_PWR_BUG            = 1 << 13,
        FEAT_DSI_PLL_FREQSEL            = 1 << 14,
-       FEAT_DSI_LDO_STATUS             = 1 << 15,
-       FEAT_DSI_DCS_CMD_CONFIG_VC      = 1 << 16,
-       FEAT_DSI_VC_OCP_WIDTH           = 1 << 17,
+       FEAT_DSI_DCS_CMD_CONFIG_VC      = 1 << 15,
+       FEAT_DSI_VC_OCP_WIDTH           = 1 << 16,
 };
 
 /* DSS register field id */