omap-panel-nokia-dsi.h 886 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef __OMAP_NOKIA_DSI_PANEL_H
  2. #define __OMAP_NOKIA_DSI_PANEL_H
  3. struct omap_dss_device;
  4. /**
  5. * struct nokia_dsi_panel_data - Nokia DSI panel driver configuration
  6. * @name: panel name
  7. * @use_ext_te: use external TE
  8. * @ext_te_gpio: external TE GPIO
  9. * @esd_interval: interval of ESD checks, 0 = disabled (ms)
  10. * @ulps_timeout: time to wait before entering ULPS, 0 = disabled (ms)
  11. * @max_backlight_level: maximum backlight level
  12. * @set_backlight: pointer to backlight set function
  13. * @get_backlight: pointer to backlight get function
  14. */
  15. struct nokia_dsi_panel_data {
  16. const char *name;
  17. int reset_gpio;
  18. bool use_ext_te;
  19. int ext_te_gpio;
  20. unsigned esd_interval;
  21. unsigned ulps_timeout;
  22. int max_backlight_level;
  23. int (*set_backlight)(struct omap_dss_device *dssdev, int level);
  24. int (*get_backlight)(struct omap_dss_device *dssdev);
  25. };
  26. #endif /* __OMAP_NOKIA_DSI_PANEL_H */