]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - include/video/omap-panel-nokia-dsi.h
gpio: make gpio_{request,free}_array gpio array parameter const
[mirror_ubuntu-zesty-kernel.git] / include / video / omap-panel-nokia-dsi.h
CommitLineData
4e9f99d7
TV
1#ifndef __OMAP_NOKIA_DSI_PANEL_H
2#define __OMAP_NOKIA_DSI_PANEL_H
823c8e4a 3
a0b38cc4 4struct omap_dss_device;
823c8e4a
JN
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
33a410be 11 * @esd_interval: interval of ESD checks, 0 = disabled (ms)
1abf7814 12 * @ulps_timeout: time to wait before entering ULPS, 0 = disabled (ms)
823c8e4a
JN
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
33a410be 25 unsigned esd_interval;
1abf7814 26 unsigned ulps_timeout;
823c8e4a
JN
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
4e9f99d7 33#endif /* __OMAP_NOKIA_DSI_PANEL_H */