unify {de,}mangle_poll(), get rid of kernel-side POLL...
[cris-mirror.git] / include / linux / spi / corgi_lcd.h
blobedf4beccdadb454b008e674f637fd9234686f8ea
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_SPI_CORGI_LCD_H
3 #define __LINUX_SPI_CORGI_LCD_H
5 #define CORGI_LCD_MODE_QVGA 1
6 #define CORGI_LCD_MODE_VGA 2
8 struct corgi_lcd_platform_data {
9 int init_mode;
10 int max_intensity;
11 int default_intensity;
12 int limit_mask;
14 int gpio_backlight_on; /* -1 if n/a */
15 int gpio_backlight_cont; /* -1 if n/a */
17 void (*notify)(int intensity);
18 void (*kick_battery)(void);
21 #endif /* __LINUX_SPI_CORGI_LCD_H */