summaryrefslogtreecommitdiff
path: root/include/video/omap-panel-data.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/video/omap-panel-data.h')
-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 670c0cdea9bb..4e0fc1a8c843 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 */