Skip to content

Commit

Permalink
Blackfin: bf537-stamp: add example AD715{0,2}/AD774{5,6,7} IIO resources
Browse files Browse the repository at this point in the history
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Barry Song authored and Mike Frysinger committed Mar 9, 2010
1 parent 718340f commit ad6720c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions arch/blackfin/mach-bf537/boards/stamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1608,6 +1608,26 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
.platform_data = (void *)&ad7142_i2c_platform_data,
},
#endif

#if defined(CONFIG_AD7150) || defined(CONFIG_AD7150_MODULE)
{
I2C_BOARD_INFO("ad7150", 0x48),
.irq = IRQ_PG5, /* fixme: use real interrupt number */
},
#endif

#if defined(CONFIG_AD7152) || defined(CONFIG_AD7152_MODULE)
{
I2C_BOARD_INFO("ad7152", 0x48),
},
#endif

#if defined(CONFIG_AD774X) || defined(CONFIG_AD774X_MODULE)
{
I2C_BOARD_INFO("ad774x", 0x48),
},
#endif

#if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE)
{
I2C_BOARD_INFO("pcf8574_lcd", 0x22),
Expand Down

0 comments on commit ad6720c

Please sign in to comment.