diff options
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) |