OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / include / video / omap-panel-nokia-dsi.h
blob7dc71f9c13e6a2eece19e6f7c956f5a7048e5631
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 * @use_dsi_backlight: true if panel uses DSI command to control backlight
15 struct nokia_dsi_panel_data {
16 const char *name;
18 int reset_gpio;
20 bool use_ext_te;
21 int ext_te_gpio;
23 unsigned esd_interval;
24 unsigned ulps_timeout;
26 bool use_dsi_backlight;
29 #endif /* __OMAP_NOKIA_DSI_PANEL_H */