diff options
| author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-05-24 07:22:20 -0400 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-06-17 07:32:11 -0400 |
| commit | dbc23840b4d70fd1c284987cea68a476e3634d5a (patch) | |
| tree | 194ab52fa71ac4f0810a0adf80ecb86840ac498a /include/video | |
| parent | 04f0ff022dde900ce2bb363f7b5b7a21c079cd21 (diff) | |
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.h | 28 |
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 @@ | |||
| 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/omapdss.h> | ||
| 30 | #include <video/display_timing.h> | 31 | #include <video/display_timing.h> |
| 31 | 32 | ||
| 32 | struct omap_dss_device; | 33 | struct omap_dss_device; |
| @@ -236,4 +237,31 @@ struct panel_dpi_platform_data { | |||
| 236 | int enable_gpio; | 237 | int enable_gpio; |
| 237 | }; | 238 | }; |
| 238 | 239 | ||
| 240 | /** | ||
| 241 | * panel_dsicm platform data | ||
| 242 | * @name: name for this display entity | ||
| 243 | * @source: name of the display entity used as a video source | ||
| 244 | * @reset_gpio: gpio to reset the panel (or -1) | ||
| 245 | * @use_ext_te: use external TE GPIO | ||
| 246 | * @ext_te_gpio: external TE GPIO | ||
| 247 | * @ulps_timeout: time to wait before entering ULPS, 0 = disabled (ms) | ||
| 248 | * @use_dsi_backlight: true if panel uses DSI command to control backlight | ||
| 249 | * @pin_config: DSI pin configuration | ||
| 250 | */ | ||
| 251 | struct panel_dsicm_platform_data { | ||
| 252 | const char *name; | ||
| 253 | const char *source; | ||
| 254 | |||
| 255 | int reset_gpio; | ||
| 256 | |||
| 257 | bool use_ext_te; | ||
| 258 | int ext_te_gpio; | ||
| 259 | |||
| 260 | unsigned ulps_timeout; | ||
| 261 | |||
| 262 | bool use_dsi_backlight; | ||
| 263 | |||
| 264 | struct omap_dsi_pin_config pin_config; | ||
| 265 | }; | ||
| 266 | |||
| 239 | #endif /* __OMAP_PANEL_DATA_H */ | 267 | #endif /* __OMAP_PANEL_DATA_H */ |
