Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Header containing platform_data structs for omap panels
0004  *
0005  * Copyright (C) 2013 Texas Instruments
0006  * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
0007  *     Archit Taneja <archit@ti.com>
0008  *
0009  * Copyright (C) 2011 Texas Instruments
0010  * Author: Mayuresh Janorkar <mayur@ti.com>
0011  *
0012  * Copyright (C) 2010 Canonical Ltd.
0013  * Author: Bryan Wu <bryan.wu@canonical.com>
0014  */
0015 
0016 #ifndef __OMAP_PANEL_DATA_H
0017 #define __OMAP_PANEL_DATA_H
0018 
0019 #include <video/display_timing.h>
0020 
0021 /**
0022  * connector_atv platform data
0023  * @name: name for this display entity
0024  * @source: name of the display entity used as a video source
0025  * @invert_polarity: invert signal polarity
0026  */
0027 struct connector_atv_platform_data {
0028     const char *name;
0029     const char *source;
0030 
0031     bool invert_polarity;
0032 };
0033 
0034 /**
0035  * panel_dpi platform data
0036  * @name: name for this display entity
0037  * @source: name of the display entity used as a video source
0038  * @data_lines: number of DPI datalines
0039  * @display_timing: timings for this panel
0040  * @backlight_gpio: gpio to enable/disable the backlight (or -1)
0041  * @enable_gpio: gpio to enable/disable the panel (or -1)
0042  */
0043 struct panel_dpi_platform_data {
0044     const char *name;
0045     const char *source;
0046 
0047     int data_lines;
0048 
0049     const struct display_timing *display_timing;
0050 
0051     int backlight_gpio;
0052     int enable_gpio;
0053 };
0054 
0055 /**
0056  * panel_acx565akm platform data
0057  * @name: name for this display entity
0058  * @source: name of the display entity used as a video source
0059  * @reset_gpio: gpio to reset the panel (or -1)
0060  * @datapairs: number of SDI datapairs
0061  */
0062 struct panel_acx565akm_platform_data {
0063     const char *name;
0064     const char *source;
0065 
0066     int reset_gpio;
0067 
0068     int datapairs;
0069 };
0070 
0071 #endif /* __OMAP_PANEL_DATA_H */