提交 ef8873e0 编写于 作者: S Sonic Zhang 提交者: Mike Frysinger

Blackfin: bf537-stamp: add example AD7416 IIO resources

Signed-off-by: NSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 72fa2e92
......@@ -1818,6 +1818,19 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
},
#endif
#if defined(CONFIG_AD7416) || defined(CONFIG_AD7416_MODULE)
{
I2C_BOARD_INFO("ad7417", 0xb),
.irq = IRQ_PG5,
/*
* platform_data pointer is borrwoed by the driver to
* store custimer defined IRQ ALART level mode.
* only IRQF_TRIGGER_HIGH and IRQF_TRIGGER_LOW are valid.
*/
.platform_data = (void *)IRQF_TRIGGER_LOW,
},
#endif
#if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE)
{
I2C_BOARD_INFO("pcf8574_lcd", 0x22),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册