Linux Audio

Check our new training course

Loading...
Note: File does not exist in v4.17.
 1#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 * @max_backlight_level: maximum backlight level
14 * @set_backlight: pointer to backlight set function
15 * @get_backlight: pointer to backlight get function
16 */
17struct nokia_dsi_panel_data {
18	const char *name;
19
20	int reset_gpio;
21
22	bool use_ext_te;
23	int ext_te_gpio;
24
25	unsigned esd_interval;
26	unsigned ulps_timeout;
27
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);
31};
32
33#endif /* __OMAP_NOKIA_DSI_PANEL_H */