diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2010-07-30 05:39:34 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-11 07:20:13 -0400 |
commit | 2a89dc15331983621b772240ebef9dea2cbe5322 (patch) | |
tree | 04e174e0dc817d8acbed70d1122617b50f3f309e /drivers/video/omap2/displays/panel-taal.c | |
parent | 40885ab31f754426c2e9a40362e568778baa5e82 (diff) |
OMAP: DSS2: DSI: add option to leave DSI lanes powered on
The DSI pins are powered by VDDS_DSI. If VDDS_DSI is off, the DSI pins
are floating even if they are pinmuxed to, say, safe mode and there's a
pull down/up.
This patch gives the panel drivers an option to leave the VDDS_DSI power
enabled while the DSS itself is turned off. This can be used to keep the
DSI lanes in a valid state while DSS is off, if the DSI pins are muxed
for pull down (not done in this patch).
There will be a slight power consumption increase (~100 uA?) when the
VDDS_DSI is left on, but because this option is used when the panel is
left on, the regulator consumption is negligible compared to panel power
consumption.
When the panel is fully turned off the VDDS_DSI is also turned off.
As an added bonus this will give us faster start up time when starting
up the DSS and the regulator is already enabled.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/displays/panel-taal.c')
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index 83b0316e35ad..04d9bc94c5b3 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c | |||
@@ -932,7 +932,7 @@ err: | |||
932 | 932 | ||
933 | taal_hw_reset(dssdev); | 933 | taal_hw_reset(dssdev); |
934 | 934 | ||
935 | omapdss_dsi_display_disable(dssdev); | 935 | omapdss_dsi_display_disable(dssdev, true); |
936 | err0: | 936 | err0: |
937 | return r; | 937 | return r; |
938 | } | 938 | } |
@@ -955,7 +955,7 @@ static void taal_power_off(struct omap_dss_device *dssdev) | |||
955 | taal_hw_reset(dssdev); | 955 | taal_hw_reset(dssdev); |
956 | } | 956 | } |
957 | 957 | ||
958 | omapdss_dsi_display_disable(dssdev); | 958 | omapdss_dsi_display_disable(dssdev, true); |
959 | 959 | ||
960 | td->enabled = 0; | 960 | td->enabled = 0; |
961 | } | 961 | } |