summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVinod Subbarayalu <vsubbarayalu@nvidia.com>2012-11-14 15:10:53 -0800
committerSimone Willett <swillett@nvidia.com>2012-11-28 18:33:20 -0800
commitc8553f1cca402431546f3e21443836cbb10d7039 (patch)
tree9dc16d1c8ab76729bacca631211779901e49aea7 /arch
parentae9410ead91f4edf99db3d02268511d43a88f667 (diff)
audio: TFA9887 driver
Change-Id: I415485bb8aa6723c98d2991df9456eea49a65e7f Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> (cherry picked from commit 69f4d8348cccc232b82fbcc26b8ff49efcbb0b4c) Reviewed-on: http://git-master/r/166415 Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-roth.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-roth.c b/arch/arm/mach-tegra/board-roth.c
index 430de581c7a4..29b5e2bfe1b0 100644
--- a/arch/arm/mach-tegra/board-roth.c
+++ b/arch/arm/mach-tegra/board-roth.c
@@ -41,7 +41,6 @@
#include <linux/leds.h>
#include <linux/i2c/at24.h>
#include <linux/of_platform.h>
-
#include <asm/hardware/gic.h>
#include <mach/clk.h>
@@ -207,6 +206,14 @@ static struct tegra_i2c_platform_data roth_i2c5_platform_data = {
static struct i2c_board_info __initdata rt5640_board_info = {
I2C_BOARD_INFO("rt5640", 0x1c),
};
+
+static struct i2c_board_info __initdata roth_codec_tfa9887R_info = {
+ I2C_BOARD_INFO("tfa9887R", 0x37),
+};
+
+static struct i2c_board_info __initdata roth_codec_tfa9887L_info = {
+ I2C_BOARD_INFO("tfa9887L", 0x36),
+};
#endif
static void roth_i2c_init(void)
@@ -224,6 +231,8 @@ static void roth_i2c_init(void)
platform_device_register(&tegra11_i2c_device1);
i2c_register_board_info(0, &rt5640_board_info, 1);
+ i2c_register_board_info(0, &roth_codec_tfa9887R_info, 1);
+ i2c_register_board_info(0, &roth_codec_tfa9887L_info, 1);
}
static struct platform_device *roth_uart_devices[] __initdata = {