Thomas Gleixner | caab277 | 2019-06-03 07:44:50 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Archit Taneja | a0d8dde | 2013-02-12 16:46:46 +0530 | [diff] [blame] | 2 | /* |
| 3 | * Header containing platform_data structs for omap panels |
| 4 | * |
| 5 | * Copyright (C) 2013 Texas Instruments |
| 6 | * Author: Tomi Valkeinen <tomi.valkeinen@ti.com> |
| 7 | * Archit Taneja <archit@ti.com> |
| 8 | * |
| 9 | * Copyright (C) 2011 Texas Instruments |
| 10 | * Author: Mayuresh Janorkar <mayur@ti.com> |
| 11 | * |
| 12 | * Copyright (C) 2010 Canonical Ltd. |
| 13 | * Author: Bryan Wu <bryan.wu@canonical.com> |
Archit Taneja | a0d8dde | 2013-02-12 16:46:46 +0530 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef __OMAP_PANEL_DATA_H |
| 17 | #define __OMAP_PANEL_DATA_H |
| 18 | |
Tomi Valkeinen | 04f0ff0 | 2013-05-24 14:21:56 +0300 | [diff] [blame] | 19 | #include <video/display_timing.h> |
| 20 | |
Archit Taneja | a0d8dde | 2013-02-12 16:46:46 +0530 | [diff] [blame] | 21 | /** |
Tomi Valkeinen | 61a7f24 | 2013-05-24 14:21:30 +0300 | [diff] [blame] | 22 | * connector_atv platform data |
| 23 | * @name: name for this display entity |
| 24 | * @source: name of the display entity used as a video source |
Tomi Valkeinen | 61a7f24 | 2013-05-24 14:21:30 +0300 | [diff] [blame] | 25 | * @invert_polarity: invert signal polarity |
| 26 | */ |
| 27 | struct connector_atv_platform_data { |
| 28 | const char *name; |
| 29 | const char *source; |
| 30 | |
Tomi Valkeinen | 61a7f24 | 2013-05-24 14:21:30 +0300 | [diff] [blame] | 31 | bool invert_polarity; |
| 32 | }; |
| 33 | |
Tomi Valkeinen | 04f0ff0 | 2013-05-24 14:21:56 +0300 | [diff] [blame] | 34 | /** |
| 35 | * panel_dpi platform data |
| 36 | * @name: name for this display entity |
| 37 | * @source: name of the display entity used as a video source |
| 38 | * @data_lines: number of DPI datalines |
| 39 | * @display_timing: timings for this panel |
| 40 | * @backlight_gpio: gpio to enable/disable the backlight (or -1) |
| 41 | * @enable_gpio: gpio to enable/disable the panel (or -1) |
| 42 | */ |
| 43 | struct panel_dpi_platform_data { |
| 44 | const char *name; |
| 45 | const char *source; |
| 46 | |
| 47 | int data_lines; |
| 48 | |
| 49 | const struct display_timing *display_timing; |
| 50 | |
| 51 | int backlight_gpio; |
| 52 | int enable_gpio; |
| 53 | }; |
| 54 | |
Tomi Valkeinen | dbc2384 | 2013-05-24 14:22:20 +0300 | [diff] [blame] | 55 | /** |
Tomi Valkeinen | 8419274 | 2013-05-24 14:22:31 +0300 | [diff] [blame] | 56 | * panel_acx565akm platform data |
| 57 | * @name: name for this display entity |
| 58 | * @source: name of the display entity used as a video source |
| 59 | * @reset_gpio: gpio to reset the panel (or -1) |
| 60 | * @datapairs: number of SDI datapairs |
| 61 | */ |
| 62 | struct panel_acx565akm_platform_data { |
| 63 | const char *name; |
| 64 | const char *source; |
| 65 | |
| 66 | int reset_gpio; |
| 67 | |
| 68 | int datapairs; |
| 69 | }; |
| 70 | |
Archit Taneja | a0d8dde | 2013-02-12 16:46:46 +0530 | [diff] [blame] | 71 | #endif /* __OMAP_PANEL_DATA_H */ |