aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2009-12-08 06:45:55 -0500
committerMike Frysinger <vapier@gentoo.org>2010-03-09 00:30:46 -0500
commitd94a1aa44ed6bfe8d8ab36c02de652d4fcf0d2c3 (patch)
tree98af210bc21ed8388011b75818f0064b00d31b01 /arch/blackfin/mach-bf537
parent6924dfb0588dab02a331a3a526f8a8fae7d1b3cc (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/mach-bf537')
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 3cb20d7efbdb..538bff83e607 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -1131,9 +1131,10 @@ static struct platform_device bfin_fb_device = {
1131#include <asm/bfin-lq035q1.h> 1131#include <asm/bfin-lq035q1.h>
1132 1132
1133static struct bfin_lq035q1fb_disp_info bfin_lq035q1_data = { 1133static struct bfin_lq035q1fb_disp_info bfin_lq035q1_data = {
1134 .mode = LQ035_NORM | LQ035_RGB | LQ035_RL | LQ035_TB, 1134 .mode = LQ035_NORM | LQ035_RGB | LQ035_RL | LQ035_TB,
1135 .use_bl = 0, /* let something else control the LCD Blacklight */ 1135 .ppi_mode = USE_RGB565_16_BIT_PPI,
1136 .gpio_bl = GPIO_PF7, 1136 .use_bl = 0, /* let something else control the LCD Blacklight */
1137 .gpio_bl = GPIO_PF7,
1137}; 1138};
1138 1139
1139static struct resource bfin_lq035q1_resources[] = { 1140static struct resource bfin_lq035q1_resources[] = {
@@ -1147,8 +1148,8 @@ static struct resource bfin_lq035q1_resources[] = {
1147static struct platform_device bfin_lq035q1_device = { 1148static struct platform_device bfin_lq035q1_device = {
1148 .name = "bfin-lq035q1", 1149 .name = "bfin-lq035q1",
1149 .id = -1, 1150 .id = -1,
1150 .num_resources = ARRAY_SIZE(bfin_lq035q1_resources), 1151 .num_resources = ARRAY_SIZE(bfin_lq035q1_resources),
1151 .resource = bfin_lq035q1_resources, 1152 .resource = bfin_lq035q1_resources,
1152 .dev = { 1153 .dev = {
1153 .platform_data = &bfin_lq035q1_data, 1154 .platform_data = &bfin_lq035q1_data,
1154 }, 1155 },