summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf527/boards
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2009-12-08 11:45:55 +0000
committerMike Frysinger <vapier@gentoo.org>2010-03-09 00:30:46 -0500
commitd94a1aa44ed6bfe8d8ab36c02de652d4fcf0d2c3 (patch)
tree98af210bc21ed8388011b75818f0064b00d31b01 /arch/blackfin/mach-bf527/boards
parent6924dfb0588dab02a331a3a526f8a8fae7d1b3cc (diff)
downloadlwn-d94a1aa44ed6bfe8d8ab36c02de652d4fcf0d2c3.tar.gz
lwn-d94a1aa44ed6bfe8d8ab36c02de652d4fcf0d2c3.zip
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/mach-bf527/boards')
-rw-r--r--arch/blackfin/mach-bf527/boards/ezbrd.c7
-rw-r--r--arch/blackfin/mach-bf527/boards/ezkit.c1
2 files changed, 5 insertions, 3 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c
index 3ff61e6fbe95..faede2b964ba 100644
--- a/arch/blackfin/mach-bf527/boards/ezbrd.c
+++ b/arch/blackfin/mach-bf527/boards/ezbrd.c
@@ -749,9 +749,10 @@ static struct platform_device bfin_dpmc = {
#include <asm/bfin-lq035q1.h>
static struct bfin_lq035q1fb_disp_info bfin_lq035q1_data = {
- .mode = LQ035_NORM | LQ035_RGB | LQ035_RL | LQ035_TB,
- .use_bl = 1,
- .gpio_bl = GPIO_PG12,
+ .mode = LQ035_NORM | LQ035_RGB | LQ035_RL | LQ035_TB,
+ .ppi_mode = USE_RGB565_16_BIT_PPI,
+ .use_bl = 1,
+ .gpio_bl = GPIO_PG12,
};
static struct resource bfin_lq035q1_resources[] = {
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c
index 9db506bdf4f4..fdfe8cae49bc 100644
--- a/arch/blackfin/mach-bf527/boards/ezkit.c
+++ b/arch/blackfin/mach-bf527/boards/ezkit.c
@@ -154,6 +154,7 @@ static struct platform_device bf52x_t350mcqb_device = {
static struct bfin_lq035q1fb_disp_info bfin_lq035q1_data = {
.mode = LQ035_NORM | LQ035_RGB | LQ035_RL | LQ035_TB,
+ .ppi_mode = USE_RGB565_8_BIT_PPI,
};
static struct resource bfin_lq035q1_resources[] = {