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 int gpio_backlight_on; /* -1 if n/a */ 15 int gpio_backlight_cont; /* -1 if n/a */ 16 17 void (*notify)(int intensity); 18 void (*kick_battery)(void); 19 }; 20 21 #endif /* __LINUX_SPI_CORGI_LCD_H */