summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf537
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2010-03-17 08:12:30 (GMT)
committerMike Frysinger <vapier@gentoo.org>2010-10-22 07:48:46 (GMT)
commit92b20f7fb28e541d7f8efb4e3e8d81733aa8adfc (patch)
treeb561d7e182005f24515e6ed80f35ca4beb347197 /arch/blackfin/mach-bf537
parent67d9963bd79b8f861387982ac5c0ff796f12be61 (diff)
downloadlinux-92b20f7fb28e541d7f8efb4e3e8d81733aa8adfc.tar.xz
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/mach-bf537')
-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 62c480e..832d300 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),