On Tue, Nov 06, 2007 at 02:33:53AM -0800, akpm@linux-foundation.org wrote:
[mmotm.git] / arch / blackfin / include / asm / bfin-lq035q1.h
blob57bc21ac22968890dc1bfc1946d95708ccbd6054
1 /*
2 * Blackfin LCD Framebuffer driver SHARP LQ035Q1DH02
4 * Copyright 2008-2009 Analog Devices Inc.
5 * Licensed under the GPL-2 or later.
6 */
8 #ifndef BFIN_LQ035Q1_H
9 #define BFIN_LQ035Q1_H
11 #define LQ035_RL (0 << 8) /* Right -> Left Scan */
12 #define LQ035_LR (1 << 8) /* Left -> Right Scan */
13 #define LQ035_TB (1 << 9) /* Top -> Botton Scan */
14 #define LQ035_BT (0 << 9) /* Botton -> Top Scan */
15 #define LQ035_BGR (1 << 11) /* Use BGR format */
16 #define LQ035_RGB (0 << 11) /* Use RGB format */
17 #define LQ035_NORM (1 << 13) /* Reversal */
18 #define LQ035_REV (0 << 13) /* Reversal */
20 struct bfin_lq035q1fb_disp_info {
22 unsigned mode;
23 /* GPIOs */
24 int use_bl;
25 unsigned gpio_bl;
28 #endif /* BFIN_LQ035Q1_H */