Commit 91504877 authored by Wu, Fengguang's avatar Wu, Fengguang Committed by Takashi Iwai

ALSA: hda - Intel HDMI audio support

Add support for Intel G45 integrated HDMI audio codecs.

This initial release supports:
	- 2 channel stereo sound output
	- report monitor's ELD information
Signed-off-by: default avatarWu Fengguang <wfg@linux.intel.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent bfc5c26f
...@@ -574,6 +574,14 @@ config SND_HDA_CODEC_NVHDMI ...@@ -574,6 +574,14 @@ config SND_HDA_CODEC_NVHDMI
Say Y here to include NVIDIA HDMI HD-audio codec support in Say Y here to include NVIDIA HDMI HD-audio codec support in
snd-hda-intel driver, such as NVIDIA MCP78 HDMI. snd-hda-intel driver, such as NVIDIA MCP78 HDMI.
config SND_HDA_CODEC_INTELHDMI
bool "Build INTEL HDMI HD-audio codec support"
depends on SND_HDA_INTEL
default y
help
Say Y here to include INTEL HDMI HD-audio codec support in
snd-hda-intel driver, such as Eaglelake integrated HDMI.
config SND_HDA_CODEC_CONEXANT config SND_HDA_CODEC_CONEXANT
bool "Build Conexant HD-audio codec support" bool "Build Conexant HD-audio codec support"
depends on SND_HDA_INTEL depends on SND_HDA_INTEL
......
...@@ -16,5 +16,6 @@ snd-hda-intel-$(CONFIG_SND_HDA_CODEC_ATIHDMI) += patch_atihdmi.o ...@@ -16,5 +16,6 @@ snd-hda-intel-$(CONFIG_SND_HDA_CODEC_ATIHDMI) += patch_atihdmi.o
snd-hda-intel-$(CONFIG_SND_HDA_CODEC_CONEXANT) += patch_conexant.o snd-hda-intel-$(CONFIG_SND_HDA_CODEC_CONEXANT) += patch_conexant.o
snd-hda-intel-$(CONFIG_SND_HDA_CODEC_VIA) += patch_via.o snd-hda-intel-$(CONFIG_SND_HDA_CODEC_VIA) += patch_via.o
snd-hda-intel-$(CONFIG_SND_HDA_CODEC_NVHDMI) += patch_nvhdmi.o snd-hda-intel-$(CONFIG_SND_HDA_CODEC_NVHDMI) += patch_nvhdmi.o
snd-hda-intel-$(CONFIG_SND_HDA_CODEC_INTELHDMI) += patch_intelhdmi.o
obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o
...@@ -97,6 +97,9 @@ static const struct hda_codec_preset *hda_preset_tables[] = { ...@@ -97,6 +97,9 @@ static const struct hda_codec_preset *hda_preset_tables[] = {
#endif #endif
#ifdef CONFIG_SND_HDA_CODEC_NVHDMI #ifdef CONFIG_SND_HDA_CODEC_NVHDMI
snd_hda_preset_nvhdmi, snd_hda_preset_nvhdmi,
#endif
#ifdef CONFIG_SND_HDA_CODEC_INTELHDMI
snd_hda_preset_intelhdmi,
#endif #endif
NULL NULL
}; };
......
...@@ -20,3 +20,5 @@ extern struct hda_codec_preset snd_hda_preset_conexant[]; ...@@ -20,3 +20,5 @@ extern struct hda_codec_preset snd_hda_preset_conexant[];
extern struct hda_codec_preset snd_hda_preset_via[]; extern struct hda_codec_preset snd_hda_preset_via[];
/* NVIDIA HDMI codecs */ /* NVIDIA HDMI codecs */
extern struct hda_codec_preset snd_hda_preset_nvhdmi[]; extern struct hda_codec_preset snd_hda_preset_nvhdmi[];
/* INTEL HDMI codecs */
extern struct hda_codec_preset snd_hda_preset_intelhdmi[];
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment