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 |
Tomi Valkeinen | e4a9e94 | 2012-03-28 15:58:56 +0300 | [diff] [blame] | 14 | * @pin_config: DSI pin configuration |
Jani Nikula | 823c8e4 | 2010-04-22 15:27:36 +0300 | [diff] [blame] | 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 | |
Tomi Valkeinen | 33a410b | 2011-03-24 13:58:01 +0200 | [diff] [blame] | 24 | unsigned esd_interval; |
Tomi Valkeinen | 1abf781 | 2011-03-24 14:53:27 +0200 | [diff] [blame] | 25 | unsigned ulps_timeout; |
Jani Nikula | 823c8e4 | 2010-04-22 15:27:36 +0300 | [diff] [blame] | 26 | |
Tomi Valkeinen | bb36dbf | 2011-08-09 11:39:27 +0300 | [diff] [blame] | 27 | bool use_dsi_backlight; |
Tomi Valkeinen | e4a9e94 | 2012-03-28 15:58:56 +0300 | [diff] [blame] | 28 | |
| 29 | struct omap_dsi_pin_config pin_config; |
Jani Nikula | 823c8e4 | 2010-04-22 15:27:36 +0300 | [diff] [blame] | 30 | }; |
| 31 | |
Tomi Valkeinen | 4e9f99d | 2011-05-11 14:10:07 +0300 | [diff] [blame] | 32 | #endif /* __OMAP_NOKIA_DSI_PANEL_H */ |