2011-05-11 19:10:07 +08:00
|
|
|
#ifndef __OMAP_NOKIA_DSI_PANEL_H
|
|
|
|
#define __OMAP_NOKIA_DSI_PANEL_H
|
2010-04-22 20:27:36 +08:00
|
|
|
|
2011-05-11 19:05:07 +08:00
|
|
|
struct omap_dss_device;
|
2010-04-22 20:27:36 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* struct nokia_dsi_panel_data - Nokia DSI panel driver configuration
|
|
|
|
* @name: panel name
|
|
|
|
* @use_ext_te: use external TE
|
|
|
|
* @ext_te_gpio: external TE GPIO
|
2011-03-24 19:58:01 +08:00
|
|
|
* @esd_interval: interval of ESD checks, 0 = disabled (ms)
|
2011-03-24 20:53:27 +08:00
|
|
|
* @ulps_timeout: time to wait before entering ULPS, 0 = disabled (ms)
|
2011-08-09 16:39:27 +08:00
|
|
|
* @use_dsi_backlight: true if panel uses DSI command to control backlight
|
2012-03-28 20:58:56 +08:00
|
|
|
* @pin_config: DSI pin configuration
|
2010-04-22 20:27:36 +08:00
|
|
|
*/
|
|
|
|
struct nokia_dsi_panel_data {
|
|
|
|
const char *name;
|
|
|
|
|
|
|
|
int reset_gpio;
|
|
|
|
|
|
|
|
bool use_ext_te;
|
|
|
|
int ext_te_gpio;
|
|
|
|
|
2011-03-24 19:58:01 +08:00
|
|
|
unsigned esd_interval;
|
2011-03-24 20:53:27 +08:00
|
|
|
unsigned ulps_timeout;
|
2010-04-22 20:27:36 +08:00
|
|
|
|
2011-08-09 16:39:27 +08:00
|
|
|
bool use_dsi_backlight;
|
2012-03-28 20:58:56 +08:00
|
|
|
|
|
|
|
struct omap_dsi_pin_config pin_config;
|
2010-04-22 20:27:36 +08:00
|
|
|
};
|
|
|
|
|
2011-05-11 19:10:07 +08:00
|
|
|
#endif /* __OMAP_NOKIA_DSI_PANEL_H */
|