2019-06-03 08:44:50 +03:00
/* SPDX-License-Identifier: GPL-2.0-only */
2013-02-12 15:16:46 +04:00
/*
* Header containing platform_data structs for omap panels
*
* Copyright ( C ) 2013 Texas Instruments
* Author : Tomi Valkeinen < tomi . valkeinen @ ti . com >
* Archit Taneja < archit @ ti . com >
*
* Copyright ( C ) 2011 Texas Instruments
* Author : Mayuresh Janorkar < mayur @ ti . com >
*
* Copyright ( C ) 2010 Canonical Ltd .
* Author : Bryan Wu < bryan . wu @ canonical . com >
*/
# ifndef __OMAP_PANEL_DATA_H
# define __OMAP_PANEL_DATA_H
2013-05-24 15:21:56 +04:00
# include <video/display_timing.h>
2013-05-24 15:21:30 +04:00
/**
* connector_atv platform data
* @ name : name for this display entity
* @ source : name of the display entity used as a video source
* @ invert_polarity : invert signal polarity
*/
struct connector_atv_platform_data {
const char * name ;
const char * source ;
bool invert_polarity ;
} ;
2013-05-24 15:21:56 +04:00
/**
* panel_dpi platform data
* @ name : name for this display entity
* @ source : name of the display entity used as a video source
* @ data_lines : number of DPI datalines
* @ display_timing : timings for this panel
* @ backlight_gpio : gpio to enable / disable the backlight ( or - 1 )
* @ enable_gpio : gpio to enable / disable the panel ( or - 1 )
*/
struct panel_dpi_platform_data {
const char * name ;
const char * source ;
int data_lines ;
const struct display_timing * display_timing ;
int backlight_gpio ;
int enable_gpio ;
} ;
2013-05-24 15:22:31 +04:00
/**
* panel_acx565akm platform data
* @ name : name for this display entity
* @ source : name of the display entity used as a video source
* @ reset_gpio : gpio to reset the panel ( or - 1 )
* @ datapairs : number of SDI datapairs
*/
struct panel_acx565akm_platform_data {
const char * name ;
const char * source ;
int reset_gpio ;
int datapairs ;
} ;
2013-02-12 15:16:46 +04:00
# endif /* __OMAP_PANEL_DATA_H */