Commit | Line | Data |
---|---|---|
4e9f99d7 TV |
1 | #ifndef __OMAP_NOKIA_DSI_PANEL_H |
2 | #define __OMAP_NOKIA_DSI_PANEL_H | |
823c8e4a | 3 | |
a0b38cc4 | 4 | struct 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) |
bb36dbfd | 13 | * @use_dsi_backlight: true if panel uses DSI command to control backlight |
e4a9e94c | 14 | * @pin_config: DSI pin configuration |
823c8e4a JN |
15 | */ |
16 | struct nokia_dsi_panel_data { | |
17 | const char *name; | |
18 | ||
19 | int reset_gpio; | |
20 | ||
21 | bool use_ext_te; | |
22 | int ext_te_gpio; | |
23 | ||
33a410be | 24 | unsigned esd_interval; |
1abf7814 | 25 | unsigned ulps_timeout; |
823c8e4a | 26 | |
bb36dbfd | 27 | bool use_dsi_backlight; |
e4a9e94c TV |
28 | |
29 | struct omap_dsi_pin_config pin_config; | |
823c8e4a JN |
30 | }; |
31 | ||
4e9f99d7 | 32 | #endif /* __OMAP_NOKIA_DSI_PANEL_H */ |