diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-09-09 16:57:30 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-09-22 20:29:19 -0700 |
commit | 8d256b53325793fa36add6e9c04c7b4c0e94a0f8 (patch) | |
tree | 0b77b1520bc6c5a25230585f1312cc77162550c3 /arch | |
parent | 1fb1c560ab905a66a032550d28fc7d310f6d381c (diff) |
ARM: tegra: aruba: Fix build break
Update Aruba board files to get the platform building again.
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/51660
(cherry picked from commit de1c664bb8581147b4b9f3691c2d75d39062e37e)
Change-Id: I920032fb43aa534bb42294455c89a74a6158d4d2
Reviewed-on: http://git-master/r/54070
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-aruba-power.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-aruba.c | 73 |
2 files changed, 78 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-aruba-power.c b/arch/arm/mach-tegra/board-aruba-power.c index 4ffe2fca9c81..4391f6f19b51 100644 --- a/arch/arm/mach-tegra/board-aruba-power.c +++ b/arch/arm/mach-tegra/board-aruba-power.c @@ -69,3 +69,8 @@ int __init aruba_regulator_init(void) tegra_init_suspend(&aruba_suspend_data); return 0; } + +void __init tegra_tsensor_init(void) +{ + /* No tsensor on FPGAs */ +} diff --git a/arch/arm/mach-tegra/board-aruba.c b/arch/arm/mach-tegra/board-aruba.c index 3a45a0ab2c67..ac976731b651 100644 --- a/arch/arm/mach-tegra/board-aruba.c +++ b/arch/arm/mach-tegra/board-aruba.c @@ -43,6 +43,7 @@ #include <mach/io.h> #include <mach/i2s.h> #include <mach/audio.h> +#include <mach/tegra_das.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> #include <mach/usb_phy.h> @@ -202,6 +203,78 @@ static struct platform_device androidusb_device = { }, }; +struct tegra_das_platform_data tegra_das_pdata = { + .tegra_dap_port_info_table = { + /* I2S0 <--> NULL */ + [0] = { + .dac_port = tegra_das_port_none, + .codec_type = tegra_audio_codec_type_none, + .device_property = { + .num_channels = 0, + .bits_per_sample = 0, + .rate = 0, + .master = 0, + .lrck_high_left = false, + .dac_dap_data_comm_format = 0, + }, + }, + /* I2S1 <--> Hifi Codec */ + [1] = { + .dac_port = tegra_das_port_i2s1, + .codec_type = tegra_audio_codec_type_hifi, + .device_property = { + .num_channels = 2, + .bits_per_sample = 16, + .rate = 48000, + .master = 0, + .lrck_high_left = false, + .dac_dap_data_comm_format = + dac_dap_data_format_i2s, + }, + }, + /* I2s2 <--> BB */ + [2] = { + .dac_port = tegra_das_port_i2s2, + .codec_type = tegra_audio_codec_type_baseband, + .device_property = { + .num_channels = 1, + .bits_per_sample = 16, + .rate = 16000, + .master = 0, + .lrck_high_left = true, + .dac_dap_data_comm_format = + dac_dap_data_format_dsp, + }, + }, + /* I2s3 <--> BT */ + [3] = { + .dac_port = tegra_das_port_i2s3, + .codec_type = tegra_audio_codec_type_bluetooth, + .device_property = { + .num_channels = 1, + .bits_per_sample = 16, + .rate = 8000, + .master = 0, + .lrck_high_left = false, + .dac_dap_data_comm_format = + dac_dap_data_format_dsp, + }, + }, + [4] = { + .dac_port = tegra_das_port_none, + .codec_type = tegra_audio_codec_type_none, + .device_property = { + .num_channels = 0, + .bits_per_sample = 0, + .rate = 0, + .master = 0, + .lrck_high_left = false, + .dac_dap_data_comm_format = 0, + }, + }, + }, +}; + static struct i2c_board_info __initdata aruba_i2c_bus1_board_info[] = { { I2C_BOARD_INFO("wm8903", 0x1a), |