diff options
author | Barry Song <barry.song@analog.com> | 2010-02-03 04:15:31 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:51 -0500 |
commit | ad6720c0b52ae1cde0bc567e57a71acde1a292aa (patch) | |
tree | e2907a271072d921e2e5daaf84277a2b3a578d65 /arch/blackfin/mach-bf537/boards/stamp.c | |
parent | 718340f62900ed44046d2b0f74d0dec7cf844194 (diff) |
Blackfin: bf537-stamp: add example AD715{0,2}/AD774{5,6,7} IIO resources
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/stamp.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 2e354b5c18ee..9bc7bd3f35f8 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -1608,6 +1608,26 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
1608 | .platform_data = (void *)&ad7142_i2c_platform_data, | 1608 | .platform_data = (void *)&ad7142_i2c_platform_data, |
1609 | }, | 1609 | }, |
1610 | #endif | 1610 | #endif |
1611 | |||
1612 | #if defined(CONFIG_AD7150) || defined(CONFIG_AD7150_MODULE) | ||
1613 | { | ||
1614 | I2C_BOARD_INFO("ad7150", 0x48), | ||
1615 | .irq = IRQ_PG5, /* fixme: use real interrupt number */ | ||
1616 | }, | ||
1617 | #endif | ||
1618 | |||
1619 | #if defined(CONFIG_AD7152) || defined(CONFIG_AD7152_MODULE) | ||
1620 | { | ||
1621 | I2C_BOARD_INFO("ad7152", 0x48), | ||
1622 | }, | ||
1623 | #endif | ||
1624 | |||
1625 | #if defined(CONFIG_AD774X) || defined(CONFIG_AD774X_MODULE) | ||
1626 | { | ||
1627 | I2C_BOARD_INFO("ad774x", 0x48), | ||
1628 | }, | ||
1629 | #endif | ||
1630 | |||
1611 | #if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) | 1631 | #if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) |
1612 | { | 1632 | { |
1613 | I2C_BOARD_INFO("pcf8574_lcd", 0x22), | 1633 | I2C_BOARD_INFO("pcf8574_lcd", 0x22), |