omapdss.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (C) 2016 Texas Instruments, Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. */
  9. #ifndef __OMAPDSS_PDATA_H
  10. #define __OMAPDSS_PDATA_H
  11. enum omapdss_version {
  12. OMAPDSS_VER_UNKNOWN = 0,
  13. OMAPDSS_VER_OMAP24xx,
  14. OMAPDSS_VER_OMAP34xx_ES1, /* OMAP3430 ES1.0, 2.0 */
  15. OMAPDSS_VER_OMAP34xx_ES3, /* OMAP3430 ES3.0+ */
  16. OMAPDSS_VER_OMAP3630,
  17. OMAPDSS_VER_AM35xx,
  18. OMAPDSS_VER_OMAP4430_ES1, /* OMAP4430 ES1.0 */
  19. OMAPDSS_VER_OMAP4430_ES2, /* OMAP4430 ES2.0, 2.1, 2.2 */
  20. OMAPDSS_VER_OMAP4, /* All other OMAP4s */
  21. OMAPDSS_VER_OMAP5,
  22. OMAPDSS_VER_AM43xx,
  23. OMAPDSS_VER_DRA7xx,
  24. };
  25. /* Board specific data */
  26. struct omap_dss_board_info {
  27. const char *default_display_name;
  28. int (*dsi_enable_pads)(int dsi_id, unsigned int lane_mask);
  29. void (*dsi_disable_pads)(int dsi_id, unsigned int lane_mask);
  30. int (*set_min_bus_tput)(struct device *dev, unsigned long r);
  31. enum omapdss_version version;
  32. };
  33. #endif /* __OMAPDSS_PDATA_H */