Skip to content

Commit

Permalink
ALSA: hda - Intel HDMI audio support
Browse files Browse the repository at this point in the history
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: Wu Fengguang <wfg@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Wu, Fengguang authored and Takashi Iwai committed Nov 5, 2008
1 parent bfc5c26 commit 9150487
Show file tree
Hide file tree
Showing 5 changed files with 940 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sound/pci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,14 @@ config SND_HDA_CODEC_NVHDMI
Say Y here to include NVIDIA HDMI HD-audio codec support in
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
bool "Build Conexant HD-audio codec support"
depends on SND_HDA_INTEL
Expand Down
1 change: 1 addition & 0 deletions sound/pci/hda/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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_VIA) += patch_via.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
3 changes: 3 additions & 0 deletions sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ static const struct hda_codec_preset *hda_preset_tables[] = {
#endif
#ifdef CONFIG_SND_HDA_CODEC_NVHDMI
snd_hda_preset_nvhdmi,
#endif
#ifdef CONFIG_SND_HDA_CODEC_INTELHDMI
snd_hda_preset_intelhdmi,
#endif
NULL
};
Expand Down
2 changes: 2 additions & 0 deletions sound/pci/hda/hda_patch.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ extern struct hda_codec_preset snd_hda_preset_conexant[];
extern struct hda_codec_preset snd_hda_preset_via[];
/* NVIDIA HDMI codecs */
extern struct hda_codec_preset snd_hda_preset_nvhdmi[];
/* INTEL HDMI codecs */
extern struct hda_codec_preset snd_hda_preset_intelhdmi[];
Loading

0 comments on commit 9150487

Please sign in to comment.