blob: 04219a2955397b63fefbf22149e64c7d8e1890b9 [file] [log] [blame]
Tomi Valkeinen4e9f99d2011-05-11 14:10:07 +03001#ifndef __OMAP_NOKIA_DSI_PANEL_H
2#define __OMAP_NOKIA_DSI_PANEL_H
Jani Nikula823c8e42010-04-22 15:27:36 +03003
Tomi Valkeinena0b38cc2011-05-11 14:05:07 +03004struct omap_dss_device;
Jani Nikula823c8e42010-04-22 15:27:36 +03005
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 Valkeinen33a410b2011-03-24 13:58:01 +020011 * @esd_interval: interval of ESD checks, 0 = disabled (ms)
Tomi Valkeinen1abf7812011-03-24 14:53:27 +020012 * @ulps_timeout: time to wait before entering ULPS, 0 = disabled (ms)
Tomi Valkeinenbb36dbf2011-08-09 11:39:27 +030013 * @use_dsi_backlight: true if panel uses DSI command to control backlight
Tomi Valkeinene4a9e942012-03-28 15:58:56 +030014 * @pin_config: DSI pin configuration
Jani Nikula823c8e42010-04-22 15:27:36 +030015 */
16struct 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 Valkeinen33a410b2011-03-24 13:58:01 +020024 unsigned esd_interval;
Tomi Valkeinen1abf7812011-03-24 14:53:27 +020025 unsigned ulps_timeout;
Jani Nikula823c8e42010-04-22 15:27:36 +030026
Tomi Valkeinenbb36dbf2011-08-09 11:39:27 +030027 bool use_dsi_backlight;
Tomi Valkeinene4a9e942012-03-28 15:58:56 +030028
29 struct omap_dsi_pin_config pin_config;
Jani Nikula823c8e42010-04-22 15:27:36 +030030};
31
Tomi Valkeinen4e9f99d2011-05-11 14:10:07 +030032#endif /* __OMAP_NOKIA_DSI_PANEL_H */