diff options
author | Tomi Valkeinen | 2013-05-24 14:21:56 +0300 |
---|---|---|
committer | Tomi Valkeinen | 2013-06-17 14:31:36 +0300 |
commit | 04f0ff022dde900ce2bb363f7b5b7a21c079cd21 (patch) | |
tree | 755e2b29cf5e146b9c456a808ab78cf22d3866b4 /include/video | |
parent | 61a7f24a3f148b3fe491154943221f1a7fa729b7 (diff) |
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.h | 23 |
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 */ |