aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-03-24 08:53:27 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-11 07:20:48 -0400
commit1abf78145412ef185d553dccfab661e7c88c0b20 (patch)
treef2f036f23d16846f686cc38f607f042933a55203 /include/video
parent883b9ac95e2075fa8edd9260d8818b756f96440b (diff)
OMAP: DSS2: Taal: Implement ULPS functionality
ULPS is a low power state where the DSI lanes are kept at ground. This patch implements ULPS by having a DSI bus inactivity timer which triggers the entry to ULPS. ULPS exit will happen automatically when the driver needs to do something on the DSI lanes. The ulps_timeout is configurable from board file or via sysfs. Additionally another sysfs file, "ulps", can be used to check the current ULPS state, or to manually enter or exit ULPS. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omap-panel-nokia-dsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omap-panel-nokia-dsi.h b/include/video/omap-panel-nokia-dsi.h
index 3bd8d231add7..921ae9327228 100644
--- a/include/video/omap-panel-nokia-dsi.h
+++ b/include/video/omap-panel-nokia-dsi.h
@@ -9,6 +9,7 @@ struct omap_dss_device;
9 * @use_ext_te: use external TE 9 * @use_ext_te: use external TE
10 * @ext_te_gpio: external TE GPIO 10 * @ext_te_gpio: external TE GPIO
11 * @esd_interval: interval of ESD checks, 0 = disabled (ms) 11 * @esd_interval: interval of ESD checks, 0 = disabled (ms)
12 * @ulps_timeout: time to wait before entering ULPS, 0 = disabled (ms)
12 * @max_backlight_level: maximum backlight level 13 * @max_backlight_level: maximum backlight level
13 * @set_backlight: pointer to backlight set function 14 * @set_backlight: pointer to backlight set function
14 * @get_backlight: pointer to backlight get function 15 * @get_backlight: pointer to backlight get function
@@ -22,6 +23,7 @@ struct nokia_dsi_panel_data {
22 int ext_te_gpio; 23 int ext_te_gpio;
23 24
24 unsigned esd_interval; 25 unsigned esd_interval;
26 unsigned ulps_timeout;
25 27
26 int max_backlight_level; 28 int max_backlight_level;
27 int (*set_backlight)(struct omap_dss_device *dssdev, int level); 29 int (*set_backlight)(struct omap_dss_device *dssdev, int level);