summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2010-03-17 09:12:30 +0100
committerMike Frysinger <vapier@gentoo.org>2010-10-22 09:48:46 +0200
commit92b20f7fb28e541d7f8efb4e3e8d81733aa8adfc (patch)
treeb561d7e182005f24515e6ed80f35ca4beb347197 /arch/blackfin
parentBlackfin: bf537-stamp: fix NAND resources (diff)
downloadlinux-92b20f7fb28e541d7f8efb4e3e8d81733aa8adfc.tar.xz
linux-92b20f7fb28e541d7f8efb4e3e8d81733aa8adfc.zip
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>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 62c480e35276..832d3007c92e 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/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),