aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-24 14:22:20 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-17 14:32:11 +0300
commitdbc23840b4d70fd1c284987cea68a476e3634d5a (patch)
tree194ab52fa71ac4f0810a0adf80ecb86840ac498a /include/video
parentOMAPDSS: Add new simple DPI panel driver (diff)
downloadlinux-dev-dbc23840b4d70fd1c284987cea68a476e3634d5a.tar.xz
linux-dev-dbc23840b4d70fd1c284987cea68a476e3634d5a.zip
OMAPDSS: Add new DSI Command Mode panel driver
Add DSI Command Mode panel driver which uses the new DSS device model and DSS ops. This driver only supports a very basic set of features which should be common to all DSI command mode panels. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omap-panel-data.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/video/omap-panel-data.h b/include/video/omap-panel-data.h
index 4e0fc1a8c843..d4d93a900709 100644
--- a/include/video/omap-panel-data.h
+++ b/include/video/omap-panel-data.h
@@ -27,6 +27,7 @@
#ifndef __OMAP_PANEL_DATA_H
#define __OMAP_PANEL_DATA_H
+#include <video/omapdss.h>
#include <video/display_timing.h>
struct omap_dss_device;
@@ -236,4 +237,31 @@ struct panel_dpi_platform_data {
int enable_gpio;
};
+/**
+ * panel_dsicm platform data
+ * @name: name for this display entity
+ * @source: name of the display entity used as a video source
+ * @reset_gpio: gpio to reset the panel (or -1)
+ * @use_ext_te: use external TE GPIO
+ * @ext_te_gpio: external TE GPIO
+ * @ulps_timeout: time to wait before entering ULPS, 0 = disabled (ms)
+ * @use_dsi_backlight: true if panel uses DSI command to control backlight
+ * @pin_config: DSI pin configuration
+ */
+struct panel_dsicm_platform_data {
+ const char *name;
+ const char *source;
+
+ int reset_gpio;
+
+ bool use_ext_te;
+ int ext_te_gpio;
+
+ unsigned ulps_timeout;
+
+ bool use_dsi_backlight;
+
+ struct omap_dsi_pin_config pin_config;
+};
+
#endif /* __OMAP_PANEL_DATA_H */