vt8500fb.h 877 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * VT8500/WM8505 Frame Buffer platform data definitions
  3. *
  4. * Copyright (C) 2010 Ed Spiridonov <edo.rus@gmail.com>
  5. *
  6. * This software is licensed under the terms of the GNU General Public
  7. * License version 2, as published by the Free Software Foundation, and
  8. * may be copied, distributed, and modified under those terms.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. */
  15. #ifndef _VT8500FB_H
  16. #define _VT8500FB_H
  17. #include <linux/fb.h>
  18. struct vt8500fb_platform_data {
  19. struct fb_videomode mode;
  20. u32 xres_virtual;
  21. u32 yres_virtual;
  22. u32 bpp;
  23. unsigned long video_mem_phys;
  24. void *video_mem_virt;
  25. unsigned long video_mem_len;
  26. };
  27. #endif /* _VT8500FB_H */