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 | |
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')
-rw-r--r-- | arch/arm/configs/apalis_t30_defconfig | 17 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-apalis_t30.c | 7 |
2 files changed, 20 insertions, 4 deletions
diff --git a/arch/arm/configs/apalis_t30_defconfig b/arch/arm/configs/apalis_t30_defconfig index f8fa13143461..2989436bfddd 100644 --- a/arch/arm/configs/apalis_t30_defconfig +++ b/arch/arm/configs/apalis_t30_defconfig @@ -262,7 +262,22 @@ CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_LOGO=y CONFIG_SOUND=y CONFIG_SND=y -# CONFIG_SND_PCI is not set +CONFIG_SND_HDA_INTEL=y +CONFIG_SND_HDA_PLATFORM_DRIVER=y +CONFIG_SND_HDA_PLATFORM_NVIDIA_TEGRA=y +# CONFIG_SND_HDA_ENABLE_REALTEK_QUIRKS is not set +# CONFIG_SND_HDA_CODEC_ANALOG is not set +# CONFIG_SND_HDA_CODEC_SIGMATEL is not set +# CONFIG_SND_HDA_CODEC_VIA is not set +# CONFIG_SND_HDA_CODEC_CIRRUS is not set +# CONFIG_SND_HDA_CODEC_CONEXANT is not set +# CONFIG_SND_HDA_CODEC_CA0110 is not set +# CONFIG_SND_HDA_CODEC_CA0132 is not set +# CONFIG_SND_HDA_CODEC_CMEDIA is not set +# CONFIG_SND_HDA_CODEC_SI3054 is not set +# CONFIG_SND_HDA_GENERIC is not set +CONFIG_SND_HDA_POWER_SAVE=y +CONFIG_SND_HDA_POWER_SAVE_DEFAULT=10 CONFIG_SND_USB=y CONFIG_SND_USB_AUDIO=y CONFIG_SND_SOC=y 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, |