corgi_lcd.h 421 B

1234567891011121314151617181920
  1. #ifndef __LINUX_SPI_CORGI_LCD_H
  2. #define __LINUX_SPI_CORGI_LCD_H
  3. #define CORGI_LCD_MODE_QVGA 1
  4. #define CORGI_LCD_MODE_VGA 2
  5. struct corgi_lcd_platform_data {
  6. int init_mode;
  7. int max_intensity;
  8. int default_intensity;
  9. int limit_mask;
  10. int gpio_backlight_on; /* -1 if n/a */
  11. int gpio_backlight_cont; /* -1 if n/a */
  12. void (*notify)(int intensity);
  13. void (*kick_battery)(void);
  14. };
  15. #endif /* __LINUX_SPI_CORGI_LCD_H */