blob: 7dc71f9c13e6a2eece19e6f7c956f5a7048e5631 [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
Jani Nikula823c8e42010-04-22 15:27:36 +030014 */
15struct 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 Valkeinen33a410b2011-03-24 13:58:01 +020023 unsigned esd_interval;
Tomi Valkeinen1abf7812011-03-24 14:53:27 +020024 unsigned ulps_timeout;
Jani Nikula823c8e42010-04-22 15:27:36 +030025
Tomi Valkeinenbb36dbf2011-08-09 11:39:27 +030026 bool use_dsi_backlight;
Jani Nikula823c8e42010-04-22 15:27:36 +030027};
28
Tomi Valkeinen4e9f99d2011-05-11 14:10:07 +030029#endif /* __OMAP_NOKIA_DSI_PANEL_H */