1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __LINUX_SPI_CORGI_LCD_H 3 #define __LINUX_SPI_CORGI_LCD_H 4 5 #define CORGI_LCD_MODE_QVGA 1 6 #define CORGI_LCD_MODE_VGA 2 7 8 struct corgi_lcd_platform_data { 9 int init_mode; 10 int max_intensity; 11 int default_intensity; 12 int limit_mask; 13 14 void (*notify)(int intensity); 15 void (*kick_battery)(void); 16 }; 17 18 void corgi_lcd_limit_intensity(int limit); 19 20 #endif /* __LINUX_SPI_CORGI_LCD_H */ 21