fbdev: omapfb: panel-sony-acx565akm: remove support for platform data
[linux-2.6-block.git] / include / video / omap-panel-data.h
CommitLineData
caab277b 1/* SPDX-License-Identifier: GPL-2.0-only */
a0d8dde9
AT
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>
a0d8dde9
AT
14 */
15
16#ifndef __OMAP_PANEL_DATA_H
17#define __OMAP_PANEL_DATA_H
18
04f0ff02
TV
19#include <video/display_timing.h>
20
61a7f24a
TV
21/**
22 * connector_atv platform data
23 * @name: name for this display entity
24 * @source: name of the display entity used as a video source
61a7f24a
TV
25 * @invert_polarity: invert signal polarity
26 */
27struct connector_atv_platform_data {
28 const char *name;
29 const char *source;
30
61a7f24a
TV
31 bool invert_polarity;
32};
33
04f0ff02
TV
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 */
43struct 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
a0d8dde9 55#endif /* __OMAP_PANEL_DATA_H */