aboutsummaryrefslogblamecommitdiffstats
path: root/include/linux/spi/corgi_lcd.h
blob: 6692b3418ccfdd0e219cba62a04e2d482909a5e8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                  
                           
 


                                                       




                                      
#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;
	int	limit_mask;

	int	gpio_backlight_on;	/* -1 if n/a */
	int	gpio_backlight_cont;	/* -1 if n/a */

	void (*notify)(int intensity);
	void (*kick_battery)(void);
};

#endif /* __LINUX_SPI_CORGI_LCD_H */