omapfb: panel-dsi-cm: Remove legacy boot support
[deliverable/linux.git] / include / video / omap-panel-data.h
CommitLineData
a0d8dde9
AT
1/*
2 * Header containing platform_data structs for omap panels
3 *
4 * Copyright (C) 2013 Texas Instruments
5 * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
6 * Archit Taneja <archit@ti.com>
7 *
8 * Copyright (C) 2011 Texas Instruments
9 * Author: Mayuresh Janorkar <mayur@ti.com>
10 *
11 * Copyright (C) 2010 Canonical Ltd.
12 * Author: Bryan Wu <bryan.wu@canonical.com>
13 *
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.
17 *
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
21 * more details.
22 *
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/>.
25 */
26
27#ifndef __OMAP_PANEL_DATA_H
28#define __OMAP_PANEL_DATA_H
29
dbc23840 30#include <video/omapdss.h>
04f0ff02
TV
31#include <video/display_timing.h>
32
a0d8dde9
AT
33struct omap_dss_device;
34
2773fefb
TV
35/**
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
40 */
41struct encoder_tfp410_platform_data {
42 const char *name;
43 const char *source;
44 int power_down_gpio;
45 int data_lines;
46};
47
a0ee577f 48
348077b1
TV
49/**
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
54 */
55struct connector_dvi_platform_data {
56 const char *name;
57 const char *source;
58 int i2c_bus_num;
59};
60
3cb07ee6
TV
61/**
62 * connector_hdmi platform data
63 * @name: name for this display entity
64 * @source: name of the display entity used as a video source
65 */
66struct connector_hdmi_platform_data {
67 const char *name;
68 const char *source;
69};
70
61a7f24a
TV
71/**
72 * connector_atv platform data
73 * @name: name for this display entity
74 * @source: name of the display entity used as a video source
75 * @connector_type: composite/svideo
76 * @invert_polarity: invert signal polarity
77 */
78struct connector_atv_platform_data {
79 const char *name;
80 const char *source;
81
82 enum omap_dss_venc_type connector_type;
83 bool invert_polarity;
84};
85
04f0ff02
TV
86/**
87 * panel_dpi platform data
88 * @name: name for this display entity
89 * @source: name of the display entity used as a video source
90 * @data_lines: number of DPI datalines
91 * @display_timing: timings for this panel
92 * @backlight_gpio: gpio to enable/disable the backlight (or -1)
93 * @enable_gpio: gpio to enable/disable the panel (or -1)
94 */
95struct panel_dpi_platform_data {
96 const char *name;
97 const char *source;
98
99 int data_lines;
100
101 const struct display_timing *display_timing;
102
103 int backlight_gpio;
104 int enable_gpio;
105};
106
84192742
TV
107/**
108 * panel_acx565akm platform data
109 * @name: name for this display entity
110 * @source: name of the display entity used as a video source
111 * @reset_gpio: gpio to reset the panel (or -1)
112 * @datapairs: number of SDI datapairs
113 */
114struct panel_acx565akm_platform_data {
115 const char *name;
116 const char *source;
117
118 int reset_gpio;
119
120 int datapairs;
121};
122
a0d8dde9 123#endif /* __OMAP_PANEL_DATA_H */
This page took 0.15854 seconds and 5 git commands to generate.