blob: 7dc71f9c13e6a2eece19e6f7c956f5a7048e5631 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#ifndef __OMAP_NOKIA_DSI_PANEL_H
2#define __OMAP_NOKIA_DSI_PANEL_H
3
4struct omap_dss_device;
5
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
14 */
15struct nokia_dsi_panel_data {
16 const char *name;
17
18 int reset_gpio;
19
20 bool use_ext_te;
21 int ext_te_gpio;
22
23 unsigned esd_interval;
24 unsigned ulps_timeout;
25
26 bool use_dsi_backlight;
27};
28
29#endif /* __OMAP_NOKIA_DSI_PANEL_H */