diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-05-24 07:21:56 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-06-17 07:31:36 -0400 |
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 @@ | |||
27 | #ifndef __OMAP_PANEL_DATA_H | 27 | #ifndef __OMAP_PANEL_DATA_H |
28 | #define __OMAP_PANEL_DATA_H | 28 | #define __OMAP_PANEL_DATA_H |
29 | 29 | ||
30 | #include <video/display_timing.h> | ||
31 | |||
30 | struct omap_dss_device; | 32 | struct omap_dss_device; |
31 | 33 | ||
32 | /** | 34 | /** |
@@ -213,4 +215,25 @@ struct connector_atv_platform_data { | |||
213 | bool invert_polarity; | 215 | bool invert_polarity; |
214 | }; | 216 | }; |
215 | 217 | ||
218 | /** | ||
219 | * panel_dpi platform data | ||
220 | * @name: name for this display entity | ||
221 | * @source: name of the display entity used as a video source | ||
222 | * @data_lines: number of DPI datalines | ||
223 | * @display_timing: timings for this panel | ||
224 | * @backlight_gpio: gpio to enable/disable the backlight (or -1) | ||
225 | * @enable_gpio: gpio to enable/disable the panel (or -1) | ||
226 | */ | ||
227 | struct panel_dpi_platform_data { | ||
228 | const char *name; | ||
229 | const char *source; | ||
230 | |||
231 | int data_lines; | ||
232 | |||
233 | const struct display_timing *display_timing; | ||
234 | |||
235 | int backlight_gpio; | ||
236 | int enable_gpio; | ||
237 | }; | ||
238 | |||
216 | #endif /* __OMAP_PANEL_DATA_H */ | 239 | #endif /* __OMAP_PANEL_DATA_H */ |