diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2009-12-08 06:45:55 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:46 -0500 |
commit | d94a1aa44ed6bfe8d8ab36c02de652d4fcf0d2c3 (patch) | |
tree | 98af210bc21ed8388011b75818f0064b00d31b01 /arch/blackfin/include | |
parent | 6924dfb0588dab02a331a3a526f8a8fae7d1b3cc (diff) |
Blackfin: extend bfin-lq035q1-fb resources to include PPI mode
This lets us support the new BF527-EZKIT V2.1 via platform resources
tweaks only.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r-- | arch/blackfin/include/asm/bfin-lq035q1.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/bfin-lq035q1.h b/arch/blackfin/include/asm/bfin-lq035q1.h index 57bc21ac2296..836895156b5b 100644 --- a/arch/blackfin/include/asm/bfin-lq035q1.h +++ b/arch/blackfin/include/asm/bfin-lq035q1.h | |||
@@ -8,6 +8,9 @@ | |||
8 | #ifndef BFIN_LQ035Q1_H | 8 | #ifndef BFIN_LQ035Q1_H |
9 | #define BFIN_LQ035Q1_H | 9 | #define BFIN_LQ035Q1_H |
10 | 10 | ||
11 | /* | ||
12 | * LCD Modes | ||
13 | */ | ||
11 | #define LQ035_RL (0 << 8) /* Right -> Left Scan */ | 14 | #define LQ035_RL (0 << 8) /* Right -> Left Scan */ |
12 | #define LQ035_LR (1 << 8) /* Left -> Right Scan */ | 15 | #define LQ035_LR (1 << 8) /* Left -> Right Scan */ |
13 | #define LQ035_TB (1 << 9) /* Top -> Botton Scan */ | 16 | #define LQ035_TB (1 << 9) /* Top -> Botton Scan */ |
@@ -17,9 +20,18 @@ | |||
17 | #define LQ035_NORM (1 << 13) /* Reversal */ | 20 | #define LQ035_NORM (1 << 13) /* Reversal */ |
18 | #define LQ035_REV (0 << 13) /* Reversal */ | 21 | #define LQ035_REV (0 << 13) /* Reversal */ |
19 | 22 | ||
23 | /* | ||
24 | * PPI Modes | ||
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 | |||
20 | struct bfin_lq035q1fb_disp_info { | 31 | struct bfin_lq035q1fb_disp_info { |
21 | 32 | ||
22 | unsigned mode; | 33 | unsigned mode; |
34 | unsigned ppi_mode; | ||
23 | /* GPIOs */ | 35 | /* GPIOs */ |
24 | int use_bl; | 36 | int use_bl; |
25 | unsigned gpio_bl; | 37 | unsigned gpio_bl; |