2 * Header containing platform_data structs for omap panels
4 * Copyright (C) 2013 Texas Instruments
5 * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 * Archit Taneja <archit@ti.com>
8 * Copyright (C) 2011 Texas Instruments
9 * Author: Mayuresh Janorkar <mayur@ti.com>
11 * Copyright (C) 2010 Canonical Ltd.
12 * Author: Bryan Wu <bryan.wu@canonical.com>
14 * This program is free software; you can redistribute it and/or modify it
15 * under the terms of the GNU General Public License version 2 as published by
16 * the Free Software Foundation.
18 * This program is distributed in the hope that it will be useful, but WITHOUT
19 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
23 * You should have received a copy of the GNU General Public License along with
24 * this program. If not, see <http://www.gnu.org/licenses/>.
27 #ifndef __OMAP_PANEL_DATA_H
28 #define __OMAP_PANEL_DATA_H
30 #include <video/omapdss.h>
31 #include <video/display_timing.h>
33 struct omap_dss_device
;
36 * encoder_tfp410 platform data
37 * @name: name for this display entity
38 * @power_down_gpio: gpio number for PD pin (or -1 if not available)
39 * @data_lines: number of DPI datalines
41 struct encoder_tfp410_platform_data
{
50 * connector_dvi platform data
51 * @name: name for this display entity
52 * @source: name of the display entity used as a video source
53 * @i2c_bus_num: i2c bus number to be used for reading EDID
55 struct connector_dvi_platform_data
{
62 * connector_atv platform data
63 * @name: name for this display entity
64 * @source: name of the display entity used as a video source
65 * @connector_type: composite/svideo
66 * @invert_polarity: invert signal polarity
68 struct connector_atv_platform_data
{
72 enum omap_dss_venc_type connector_type
;
77 * panel_dpi platform data
78 * @name: name for this display entity
79 * @source: name of the display entity used as a video source
80 * @data_lines: number of DPI datalines
81 * @display_timing: timings for this panel
82 * @backlight_gpio: gpio to enable/disable the backlight (or -1)
83 * @enable_gpio: gpio to enable/disable the panel (or -1)
85 struct panel_dpi_platform_data
{
91 const struct display_timing
*display_timing
;
98 * panel_acx565akm platform data
99 * @name: name for this display entity
100 * @source: name of the display entity used as a video source
101 * @reset_gpio: gpio to reset the panel (or -1)
102 * @datapairs: number of SDI datapairs
104 struct panel_acx565akm_platform_data
{
113 #endif /* __OMAP_PANEL_DATA_H */