2023-08-30 17:31:07 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#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;
|
|
|
|
|
|
|
|
void (*notify)(int intensity);
|
|
|
|
void (*kick_battery)(void);
|
|
|
|
};
|
|
|
|
|
2023-10-24 12:59:35 +02:00
|
|
|
void corgi_lcd_limit_intensity(int limit);
|
|
|
|
|
2023-08-30 17:31:07 +02:00
|
|
|
#endif /* __LINUX_SPI_CORGI_LCD_H */
|