diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-04-14 04:42:22 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-11 07:20:12 -0400 |
commit | 95861368e3eb2180dc9f00e916a4ba6f5e1fe4ce (patch) | |
tree | ac334ca0aaae9ce2ba06ca819d7e938d9770f342 | |
parent | 0a0ee46b1ae05862cb05ec43caffc01c5259c4cc (diff) |
OMAP: DSS2: DSI: Remove CIO LDO status check
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>
-rw-r--r-- | drivers/video/omap2/dss/dsi.c | 8 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dss_features.c | 4 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dss_features.h | 5 |
3 files changed, 4 insertions, 13 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index d05f8997e02b..4223164f6507 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c | |||
@@ -1952,14 +1952,6 @@ static int dsi_complexio_init(struct omap_dss_device *dssdev) | |||
1952 | goto err; | 1952 | goto err; |
1953 | } | 1953 | } |
1954 | 1954 | ||
1955 | if (dss_has_feature(FEAT_DSI_LDO_STATUS)) { | ||
1956 | if (wait_for_bit_change(DSI_COMPLEXIO_CFG1, 21, 1) != 1) { | ||
1957 | DSSERR("ComplexIO LDO power down.\n"); | ||
1958 | r = -ENODEV; | ||
1959 | goto err; | ||
1960 | } | ||
1961 | } | ||
1962 | |||
1963 | dsi_complexio_timings(); | 1955 | dsi_complexio_timings(); |
1964 | 1956 | ||
1965 | /* | 1957 | /* |
diff --git a/drivers/video/omap2/dss/dss_features.c b/drivers/video/omap2/dss/dss_features.c index 5a81c652e604..7da798acee93 100644 --- a/drivers/video/omap2/dss/dss_features.c +++ b/drivers/video/omap2/dss/dss_features.c | |||
@@ -253,7 +253,7 @@ static struct omap_dss_features omap3430_dss_features = { | |||
253 | FEAT_LCDENABLESIGNAL | FEAT_PCKFREEENABLE | | 253 | FEAT_LCDENABLESIGNAL | FEAT_PCKFREEENABLE | |
254 | FEAT_FUNCGATED | FEAT_ROWREPEATENABLE | | 254 | FEAT_FUNCGATED | FEAT_ROWREPEATENABLE | |
255 | FEAT_LINEBUFFERSPLIT | FEAT_RESIZECONF | | 255 | FEAT_LINEBUFFERSPLIT | FEAT_RESIZECONF | |
256 | FEAT_DSI_PLL_FREQSEL | FEAT_DSI_LDO_STATUS, | 256 | FEAT_DSI_PLL_FREQSEL, |
257 | 257 | ||
258 | .num_mgrs = 2, | 258 | .num_mgrs = 2, |
259 | .num_ovls = 3, | 259 | .num_ovls = 3, |
@@ -273,7 +273,7 @@ static struct omap_dss_features omap3630_dss_features = { | |||
273 | FEAT_PRE_MULT_ALPHA | FEAT_FUNCGATED | | 273 | FEAT_PRE_MULT_ALPHA | FEAT_FUNCGATED | |
274 | FEAT_ROWREPEATENABLE | FEAT_LINEBUFFERSPLIT | | 274 | FEAT_ROWREPEATENABLE | FEAT_LINEBUFFERSPLIT | |
275 | FEAT_RESIZECONF | FEAT_DSI_PLL_PWR_BUG | | 275 | FEAT_RESIZECONF | FEAT_DSI_PLL_PWR_BUG | |
276 | FEAT_DSI_PLL_FREQSEL |FEAT_DSI_LDO_STATUS, | 276 | FEAT_DSI_PLL_FREQSEL, |
277 | 277 | ||
278 | .num_mgrs = 2, | 278 | .num_mgrs = 2, |
279 | .num_ovls = 3, | 279 | .num_ovls = 3, |
diff --git a/drivers/video/omap2/dss/dss_features.h b/drivers/video/omap2/dss/dss_features.h index d03f558d181b..1093e8daaa66 100644 --- a/drivers/video/omap2/dss/dss_features.h +++ b/drivers/video/omap2/dss/dss_features.h | |||
@@ -43,9 +43,8 @@ enum dss_feat_id { | |||
43 | /* DSI-PLL power command 0x3 is not working */ | 43 | /* DSI-PLL power command 0x3 is not working */ |
44 | FEAT_DSI_PLL_PWR_BUG = 1 << 13, | 44 | FEAT_DSI_PLL_PWR_BUG = 1 << 13, |
45 | FEAT_DSI_PLL_FREQSEL = 1 << 14, | 45 | FEAT_DSI_PLL_FREQSEL = 1 << 14, |
46 | FEAT_DSI_LDO_STATUS = 1 << 15, | 46 | FEAT_DSI_DCS_CMD_CONFIG_VC = 1 << 15, |
47 | FEAT_DSI_DCS_CMD_CONFIG_VC = 1 << 16, | 47 | FEAT_DSI_VC_OCP_WIDTH = 1 << 16, |
48 | FEAT_DSI_VC_OCP_WIDTH = 1 << 17, | ||
49 | }; | 48 | }; |
50 | 49 | ||
51 | /* DSS register field id */ | 50 | /* DSS register field id */ |