2008-08-28 14:21:44 -06:00
|
|
|
#ifndef __LINUX_SPI_CORGI_LCD_H
|
|
|
|
#define __LINUX_SPI_CORGI_LCD_H
|
|
|
|
|
|
|
|
#define CORGI_LCD_MODE_QVGA 1
|
|
|
|
#define CORGI_LCD_MODE_VGA 2
|
|
|
|
|
|
|
|
struct corgi_lcd_platform_data {
|
|
|
|
int init_mode;
|
|
|
|
int max_intensity;
|
|
|
|
int default_intensity;
|
2008-08-28 15:57:20 -06:00
|
|
|
int limit_mask;
|
2008-08-28 14:21:44 -06:00
|
|
|
|
2008-09-06 21:30:06 -06:00
|
|
|
int gpio_backlight_on; /* -1 if n/a */
|
|
|
|
int gpio_backlight_cont; /* -1 if n/a */
|
|
|
|
|
2008-08-28 14:21:44 -06:00
|
|
|
void (*notify)(int intensity);
|
|
|
|
void (*kick_battery)(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __LINUX_SPI_CORGI_LCD_H */
|