powerpc/powernv: Report size of OPAL memcons log
[linux/fpc-iii.git] / include / video / omap-panel-data.h
blobe7003ee6e0638da1dfcf0ab2b0beac4fedd6e875
1 /*
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
21 * more details.
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/display_timing.h>
32 /**
33 * connector_atv platform data
34 * @name: name for this display entity
35 * @source: name of the display entity used as a video source
36 * @invert_polarity: invert signal polarity
38 struct connector_atv_platform_data {
39 const char *name;
40 const char *source;
42 bool invert_polarity;
45 /**
46 * panel_dpi platform data
47 * @name: name for this display entity
48 * @source: name of the display entity used as a video source
49 * @data_lines: number of DPI datalines
50 * @display_timing: timings for this panel
51 * @backlight_gpio: gpio to enable/disable the backlight (or -1)
52 * @enable_gpio: gpio to enable/disable the panel (or -1)
54 struct panel_dpi_platform_data {
55 const char *name;
56 const char *source;
58 int data_lines;
60 const struct display_timing *display_timing;
62 int backlight_gpio;
63 int enable_gpio;
66 /**
67 * panel_acx565akm platform data
68 * @name: name for this display entity
69 * @source: name of the display entity used as a video source
70 * @reset_gpio: gpio to reset the panel (or -1)
71 * @datapairs: number of SDI datapairs
73 struct panel_acx565akm_platform_data {
74 const char *name;
75 const char *source;
77 int reset_gpio;
79 int datapairs;
82 #endif /* __OMAP_PANEL_DATA_H */