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
|
|
|
|
* @use_esd_check: perform ESD checks
|
|
|
|
* @max_backlight_level: maximum backlight level
|
|
|
|
* @set_backlight: pointer to backlight set function
|
|
|
|
* @get_backlight: pointer to backlight get function
|
|
|
|
*/
|
|
|
|
struct nokia_dsi_panel_data {
|
|
|
|
const char *name;
|
|
|
|
|
|
|
|
int reset_gpio;
|
|
|
|
|
|
|
|
bool use_ext_te;
|
|
|
|
int ext_te_gpio;
|
|
|
|
|
|
|
|
bool use_esd_check;
|
|
|
|
|
|
|
|
int max_backlight_level;
|
|
|
|
int (*set_backlight)(struct omap_dss_device *dssdev, int level);
|
|
|
|
int (*get_backlight)(struct omap_dss_device *dssdev);
|
|
|
|
};
|
|
|
|
|
2011-05-11 19:10:07 +08:00
|
|
|
#endif /* __OMAP_NOKIA_DSI_PANEL_H */
|