1
2
3
4
5
6
7
8#ifndef BFIN_LQ035Q1_H
9#define BFIN_LQ035Q1_H
10
11
12
13
14#define LQ035_RL (0 << 8)
15#define LQ035_LR (1 << 8)
16#define LQ035_TB (1 << 9)
17#define LQ035_BT (0 << 9)
18#define LQ035_BGR (1 << 11)
19#define LQ035_RGB (0 << 11)
20#define LQ035_NORM (1 << 13)
21#define LQ035_REV (0 << 13)
22
23
24
25
26
27#define USE_RGB565_16_BIT_PPI 1
28#define USE_RGB565_8_BIT_PPI 2
29#define USE_RGB888_8_BIT_PPI 3
30
31struct bfin_lq035q1fb_disp_info {
32
33 unsigned mode;
34 unsigned ppi_mode;
35
36 int use_bl;
37 unsigned gpio_bl;
38};
39
40#endif
41