1 /* SPDX-License-Identifier: GPL-2.0-only */ 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> 14 */ 15 16 #ifndef __OMAP_PANEL_DATA_H 17 #define __OMAP_PANEL_DATA_H 18 19 #include <video/display_timing.h> 20 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 26 */ 27 struct connector_atv_platform_data { 28 const char *name; 29 const char *source; 30 31 bool invert_polarity; 32 }; 33 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 */ 43 struct 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 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 61 */ 62 struct panel_acx565akm_platform_data { 63 const char *name; 64 const char *source; 65 66 int reset_gpio; 67 68 int datapairs; 69 }; 70 71 #endif /* __OMAP_PANEL_DATA_H */ 72