summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-24 14:21:56 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-17 14:31:36 +0300
commit04f0ff022dde900ce2bb363f7b5b7a21c079cd21 (patch)
tree755e2b29cf5e146b9c456a808ab78cf22d3866b4 /include/video
parent61a7f24a3f148b3fe491154943221f1a7fa729b7 (diff)
downloadop-kernel-dev-04f0ff022dde900ce2bb363f7b5b7a21c079cd21.zip
op-kernel-dev-04f0ff022dde900ce2bb363f7b5b7a21c079cd21.tar.gz
OMAPDSS: Add new simple DPI panel driver
Add simple DPI Panel driver which uses the new DSS device model and DSS ops. A "simple" panel means one that does not require any special setup. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omap-panel-data.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/video/omap-panel-data.h b/include/video/omap-panel-data.h
index 670c0cd..4e0fc1a 100644
--- a/include/video/omap-panel-data.h
+++ b/include/video/omap-panel-data.h
@@ -27,6 +27,8 @@
#ifndef __OMAP_PANEL_DATA_H
#define __OMAP_PANEL_DATA_H
+#include <video/display_timing.h>
+
struct omap_dss_device;
/**
@@ -213,4 +215,25 @@ struct connector_atv_platform_data {
bool invert_polarity;
};
+/**
+ * panel_dpi platform data
+ * @name: name for this display entity
+ * @source: name of the display entity used as a video source
+ * @data_lines: number of DPI datalines
+ * @display_timing: timings for this panel
+ * @backlight_gpio: gpio to enable/disable the backlight (or -1)
+ * @enable_gpio: gpio to enable/disable the panel (or -1)
+ */
+struct panel_dpi_platform_data {
+ const char *name;
+ const char *source;
+
+ int data_lines;
+
+ const struct display_timing *display_timing;
+
+ int backlight_gpio;
+ int enable_gpio;
+};
+
#endif /* __OMAP_PANEL_DATA_H */
OpenPOWER on IntegriCloud