omap-panel-nokia-dsi.h 763 B

1234567891011121314151617181920212223242526272829303132
  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. * @use_dsi_backlight: true if panel uses DSI command to control backlight
  12. * @pin_config: DSI pin configuration
  13. */
  14. struct nokia_dsi_panel_data {
  15. const char *name;
  16. int reset_gpio;
  17. bool use_ext_te;
  18. int ext_te_gpio;
  19. unsigned esd_interval;
  20. unsigned ulps_timeout;
  21. bool use_dsi_backlight;
  22. struct omap_dsi_pin_config pin_config;
  23. };
  24. #endif /* __OMAP_NOKIA_DSI_PANEL_H */