diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2009-08-27 00:09:32 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-16 22:10:37 -0400 |
commit | ba877d4491a06ae69d53981bc242ef97a8157026 (patch) | |
tree | 05aa2871757c9e83a883685cec5c7f1f18853266 /arch | |
parent | c40cdb2cbdd3cfa783c22087d29ef570d60dd141 (diff) |
Blackfin: bf537-stamp: add adp5588 gpio resources
For the adp5588 GPIO daughter card.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 7ce7d943b0cb..9db6b40743e0 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -1437,6 +1437,14 @@ static struct adp5520_platform_data adp5520_pdev_data = { | |||
1437 | 1437 | ||
1438 | #endif | 1438 | #endif |
1439 | 1439 | ||
1440 | #if defined(CONFIG_GPIO_ADP5588) || defined(CONFIG_GPIO_ADP5588_MODULE) | ||
1441 | #include <linux/i2c/adp5588.h> | ||
1442 | static struct adp5588_gpio_platfrom_data adp5588_gpio_data = { | ||
1443 | .gpio_start = 50, | ||
1444 | .pullup_dis_mask = 0, | ||
1445 | }; | ||
1446 | #endif | ||
1447 | |||
1440 | static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | 1448 | static struct i2c_board_info __initdata bfin_i2c_board_info[] = { |
1441 | #if defined(CONFIG_INPUT_EVAL_AD7142EB) | 1449 | #if defined(CONFIG_INPUT_EVAL_AD7142EB) |
1442 | { | 1450 | { |
@@ -1484,6 +1492,12 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
1484 | .platform_data = (void *)&adxl34x_info, | 1492 | .platform_data = (void *)&adxl34x_info, |
1485 | }, | 1493 | }, |
1486 | #endif | 1494 | #endif |
1495 | #if defined(CONFIG_GPIO_ADP5588) || defined(CONFIG_GPIO_ADP5588_MODULE) | ||
1496 | { | ||
1497 | I2C_BOARD_INFO("adp5588-gpio", 0x34), | ||
1498 | .platform_data = (void *)&adp5588_gpio_data, | ||
1499 | }, | ||
1500 | #endif | ||
1487 | }; | 1501 | }; |
1488 | 1502 | ||
1489 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 1503 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |