Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[pandora-kernel.git] / arch / blackfin / include / asm / bfin-lq035q1.h
index 57bc21a..8368951 100644 (file)
@@ -8,6 +8,9 @@
 #ifndef BFIN_LQ035Q1_H
 #define BFIN_LQ035Q1_H
 
+/*
+ * LCD Modes
+ */
 #define LQ035_RL       (0 << 8)        /* Right -> Left Scan */
 #define LQ035_LR       (1 << 8)        /* Left -> Right Scan */
 #define LQ035_TB       (1 << 9)        /* Top -> Botton Scan */
 #define LQ035_NORM     (1 << 13)       /* Reversal */
 #define LQ035_REV      (0 << 13)       /* Reversal */
 
+/*
+ * PPI Modes
+ */
+
+#define USE_RGB565_16_BIT_PPI  1
+#define USE_RGB565_8_BIT_PPI   2
+#define USE_RGB888_8_BIT_PPI   3
+
 struct bfin_lq035q1fb_disp_info {
 
        unsigned        mode;
+       unsigned        ppi_mode;
        /* GPIOs */
        int             use_bl;
        unsigned        gpio_bl;