bfin-lq035q1.h 712 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Blackfin LCD Framebuffer driver SHARP LQ035Q1DH02
  3. *
  4. * Copyright 2008-2009 Analog Devices Inc.
  5. * Licensed under the GPL-2 or later.
  6. */
  7. #ifndef BFIN_LQ035Q1_H
  8. #define BFIN_LQ035Q1_H
  9. #define LQ035_RL (0 << 8) /* Right -> Left Scan */
  10. #define LQ035_LR (1 << 8) /* Left -> Right Scan */
  11. #define LQ035_TB (1 << 9) /* Top -> Botton Scan */
  12. #define LQ035_BT (0 << 9) /* Botton -> Top Scan */
  13. #define LQ035_BGR (1 << 11) /* Use BGR format */
  14. #define LQ035_RGB (0 << 11) /* Use RGB format */
  15. #define LQ035_NORM (1 << 13) /* Reversal */
  16. #define LQ035_REV (0 << 13) /* Reversal */
  17. struct bfin_lq035q1fb_disp_info {
  18. unsigned mode;
  19. /* GPIOs */
  20. int use_bl;
  21. unsigned gpio_bl;
  22. };
  23. #endif /* BFIN_LQ035Q1_H */