staging: wlan-ng: properly check endpoint types
[linux/fpc-iii.git] / include / video / omap-panel-data.h
blob42b77249ee1412878467dfe594a27aad449641af
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Header containing platform_data structs for omap panels
5 * Copyright (C) 2013 Texas Instruments
6 * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
7 * Archit Taneja <archit@ti.com>
9 * Copyright (C) 2011 Texas Instruments
10 * Author: Mayuresh Janorkar <mayur@ti.com>
12 * Copyright (C) 2010 Canonical Ltd.
13 * Author: Bryan Wu <bryan.wu@canonical.com>
16 #ifndef __OMAP_PANEL_DATA_H
17 #define __OMAP_PANEL_DATA_H
19 #include <video/display_timing.h>
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
25 * @invert_polarity: invert signal polarity
27 struct connector_atv_platform_data {
28 const char *name;
29 const char *source;
31 bool invert_polarity;
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)
43 struct panel_dpi_platform_data {
44 const char *name;
45 const char *source;
47 int data_lines;
49 const struct display_timing *display_timing;
51 int backlight_gpio;
52 int enable_gpio;
55 /**
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
62 struct panel_acx565akm_platform_data {
63 const char *name;
64 const char *source;
66 int reset_gpio;
68 int datapairs;
71 #endif /* __OMAP_PANEL_DATA_H */