diff options
author | Jani Nikula <ext-jani.1.nikula@nokia.com> | 2010-04-22 08:27:36 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-08-03 08:18:48 -0400 |
commit | 823c8e4a8ae6c5792e0b35b49d2b63292a28575d (patch) | |
tree | a80e4bcd5e84cabeb433d65363bb39c66a37bc20 /arch/arm/plat-omap | |
parent | 7ae2fb1192f0510991a833ca1dd4baace9bd8977 (diff) |
OMAP: DSS2: Add Nokia DSI command mode panel configuration struct
Introduce a configuration struct for platform/board specific information
of Nokia DSI command mode panels, to be used in addition to struct
omap_dss_device (passed via the 'void *data' member).
Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/nokia-dsi-panel.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/nokia-dsi-panel.h b/arch/arm/plat-omap/include/plat/nokia-dsi-panel.h new file mode 100644 index 000000000000..01ab6572ccbb --- /dev/null +++ b/arch/arm/plat-omap/include/plat/nokia-dsi-panel.h | |||
@@ -0,0 +1,31 @@ | |||
1 | #ifndef __ARCH_ARM_PLAT_OMAP_NOKIA_DSI_PANEL_H | ||
2 | #define __ARCH_ARM_PLAT_OMAP_NOKIA_DSI_PANEL_H | ||
3 | |||
4 | #include "display.h" | ||
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 | ||
11 | * @use_esd_check: perform ESD checks | ||
12 | * @max_backlight_level: maximum backlight level | ||
13 | * @set_backlight: pointer to backlight set function | ||
14 | * @get_backlight: pointer to backlight get function | ||
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 | |||
24 | bool use_esd_check; | ||
25 | |||
26 | int max_backlight_level; | ||
27 | int (*set_backlight)(struct omap_dss_device *dssdev, int level); | ||
28 | int (*get_backlight)(struct omap_dss_device *dssdev); | ||
29 | }; | ||
30 | |||
31 | #endif /* __ARCH_ARM_PLAT_OMAP_NOKIA_DSI_PANEL_H */ | ||