omap-panel-dvi.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Header for DVI output driver
  3. *
  4. * Copyright (C) 2011 Texas Instruments Inc
  5. * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License version 2 as published by
  9. * the Free Software Foundation.
  10. *
  11. * This program is distributed in the hope that it will be useful, but WITHOUT
  12. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  14. * more details.
  15. *
  16. * You should have received a copy of the GNU General Public License along with
  17. * this program. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. #ifndef __OMAP_PANEL_DVI_H
  20. #define __OMAP_PANEL_DVI_H
  21. struct omap_dss_device;
  22. /**
  23. * struct panel_dvi_platform_data - panel driver configuration data
  24. * @platform_enable: platform specific panel enable function
  25. * @platform_disable: platform specific panel disable function
  26. * @i2c_bus_num: i2c bus id for the panel
  27. * @power_down_gpio: gpio number for PD pin (or -1 if not available)
  28. */
  29. struct panel_dvi_platform_data {
  30. int (*platform_enable)(struct omap_dss_device *dssdev);
  31. void (*platform_disable)(struct omap_dss_device *dssdev);
  32. u16 i2c_bus_num;
  33. int power_down_gpio;
  34. };
  35. #endif /* __OMAP_PANEL_DVI_H */