Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / video / omap-panel-nokia-dsi.h
blob921ae9327228cb7592b1f908fc4de2ed3eba4192
1 #ifndef __OMAP_NOKIA_DSI_PANEL_H
2 #define __OMAP_NOKIA_DSI_PANEL_H
4 struct omap_dss_device;
6 /**
7 * struct nokia_dsi_panel_data - Nokia DSI panel driver configuration
8 * @name: panel name
9 * @use_ext_te: use external TE
10 * @ext_te_gpio: external TE GPIO
11 * @esd_interval: interval of ESD checks, 0 = disabled (ms)
12 * @ulps_timeout: time to wait before entering ULPS, 0 = disabled (ms)
13 * @max_backlight_level: maximum backlight level
14 * @set_backlight: pointer to backlight set function
15 * @get_backlight: pointer to backlight get function
17 struct nokia_dsi_panel_data {
18 const char *name;
20 int reset_gpio;
22 bool use_ext_te;
23 int ext_te_gpio;
25 unsigned esd_interval;
26 unsigned ulps_timeout;
28 int max_backlight_level;
29 int (*set_backlight)(struct omap_dss_device *dssdev, int level);
30 int (*get_backlight)(struct omap_dss_device *dssdev);
33 #endif /* __OMAP_NOKIA_DSI_PANEL_H */