diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-03-14 09:55:13 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-03-14 09:55:13 +0100 |
commit | 5aa0cf77e07f59d1cd84e827d1748f0353997eaa (patch) | |
tree | d38a4e9a9033190363603ce207e3cee185b2d2d9 /arch/arm/mach-tegra/board-apalis_t30.c | |
parent | a432a3966c22cf7bf4d4306259213150d497d882 (diff) |
apalis_t30: audio: integrate HDA codec support
Integrate support for the Realtek ALC898 as found on the Apalis
Evaluation Board V1.0a.
Please note that the following HDA rewiring needs to be done:
remove jumpers X6-5 and 7 to 9
rewire as follows:
X5 X7
5 9
7 8
8 5
9 7
Please further note that currently only noise is heard during playback.
Diffstat (limited to 'arch/arm/mach-tegra/board-apalis_t30.c')
-rw-r--r-- | arch/arm/mach-tegra/board-apalis_t30.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-apalis_t30.c b/arch/arm/mach-tegra/board-apalis_t30.c index 5103c3ca2f4a..865742a87057 100644 --- a/arch/arm/mach-tegra/board-apalis_t30.c +++ b/arch/arm/mach-tegra/board-apalis_t30.c @@ -64,8 +64,9 @@ static struct tegra_asoc_platform_data apalis_t30_audio_sgtl5000_pdata = { .gpio_int_mic_en = -1, .gpio_ext_mic_en = -1, .i2s_param[HIFI_CODEC] = { - .audio_port_id = 0, /* index of below registered - tegra_i2s_device */ + .audio_port_id = 1, /* index of below registered + tegra_i2s_device plus one if HDA codec + is activated as well */ .i2s_mode = TEGRA_DAIFMT_I2S, .is_i2s_master = 1, .sample_size = 16, @@ -1152,7 +1153,7 @@ static struct platform_device *apalis_t30_devices[] __initdata = { &spdif_dit_device, &tegra_pcm_device, &apalis_t30_audio_sgtl5000_device, - + &tegra_hda_device, &tegra_cec_device, #if defined(CONFIG_CRYPTO_DEV_TEGRA_AES) &tegra_aes_device, |