From 5aa0cf77e07f59d1cd84e827d1748f0353997eaa Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 14 Mar 2013 09:55:13 +0100 Subject: 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. --- arch/arm/mach-tegra/board-apalis_t30.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'arch/arm/mach-tegra/board-apalis_t30.c') 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, -- cgit v1.2.3