Browse Source

Blackfin: bf537-stamp: add example ad1937 i2c resources

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Barry Song 15 years ago
parent
commit
92b20f7fb2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      arch/blackfin/mach-bf537/boards/stamp.c

+ 6 - 0
arch/blackfin/mach-bf537/boards/stamp.c

@@ -1810,6 +1810,12 @@ static struct platform_device ad5398_userspace_consumer_device = {
 #endif
 
 static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
+#if defined(CONFIG_SND_BF5XX_SOC_AD193X) || defined(CONFIG_SND_BF5XX_SOC_AD193X_MODULE)
+	{
+		I2C_BOARD_INFO("ad1937", 0x04),
+	},
+#endif
+
 #if defined(CONFIG_INPUT_AD714X_I2C) || defined(CONFIG_INPUT_AD714X_I2C_MODULE)
 	{
 		I2C_BOARD_INFO("ad7142_captouch", 0x2C),