Tomi Valkeinen | 4e9f99d | 2011-05-11 14:10:07 +0300 | [diff] [blame] | 1 | #ifndef __OMAP_NOKIA_DSI_PANEL_H |
| 2 | #define __OMAP_NOKIA_DSI_PANEL_H |
Jani Nikula | 823c8e4 | 2010-04-22 15:27:36 +0300 | [diff] [blame] | 3 | |
Tomi Valkeinen | a0b38cc | 2011-05-11 14:05:07 +0300 | [diff] [blame] | 4 | struct omap_dss_device; |
Jani Nikula | 823c8e4 | 2010-04-22 15:27:36 +0300 | [diff] [blame] | 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 |
Tomi Valkeinen | 33a410b | 2011-03-24 13:58:01 +0200 | [diff] [blame] | 11 | * @esd_interval: interval of ESD checks, 0 = disabled (ms) |
Tomi Valkeinen | 1abf781 | 2011-03-24 14:53:27 +0200 | [diff] [blame] | 12 | * @ulps_timeout: time to wait before entering ULPS, 0 = disabled (ms) |
Tomi Valkeinen | bb36dbf | 2011-08-09 11:39:27 +0300 | [diff] [blame] | 13 | * @use_dsi_backlight: true if panel uses DSI command to control backlight |
Jani Nikula | 823c8e4 | 2010-04-22 15:27:36 +0300 | [diff] [blame] | 14 | */ |
| 15 | struct 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 | |
Tomi Valkeinen | 33a410b | 2011-03-24 13:58:01 +0200 | [diff] [blame] | 23 | unsigned esd_interval; |
Tomi Valkeinen | 1abf781 | 2011-03-24 14:53:27 +0200 | [diff] [blame] | 24 | unsigned ulps_timeout; |
Jani Nikula | 823c8e4 | 2010-04-22 15:27:36 +0300 | [diff] [blame] | 25 | |
Tomi Valkeinen | bb36dbf | 2011-08-09 11:39:27 +0300 | [diff] [blame] | 26 | bool use_dsi_backlight; |
Jani Nikula | 823c8e4 | 2010-04-22 15:27:36 +0300 | [diff] [blame] | 27 | }; |
| 28 | |
Tomi Valkeinen | 4e9f99d | 2011-05-11 14:10:07 +0300 | [diff] [blame] | 29 | #endif /* __OMAP_NOKIA_DSI_PANEL_H */ |