Skip to content

Commit 287599c

Browse files
jeromeantiwai
authored andcommitted
ALSA: add Intel HDMI LPE audio driver for BYT/CHT-T
On Baytrail and Cherrytrail, HDaudio may be fused out or disabled by the BIOS. This driver enables an alternate path to the i915 display registers and DMA. Although there is no hardware path between i915 display and LPE/SST audio clusters, this HDMI capability is referred to in the documentation as "HDMI LPE Audio" so we keep the name for consistency. There is no hardware path or control dependencies with the LPE/SST DSP functionality. The hdmi-lpe-audio driver will be probed when the i915 driver creates a child platform device. Since this driver is neither SoC nor PCI, a new x86 folder is added Additional indirections in the code will be cleaned up in the next series to aid smoother DP integration Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Jerome Anand <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 46d196e commit 287599c

File tree

6 files changed

+1319
-1
lines changed

6 files changed

+1319
-1
lines changed

sound/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ source "sound/parisc/Kconfig"
108108

109109
source "sound/soc/Kconfig"
110110

111+
source "sound/x86/Kconfig"
112+
111113
endif # SND
112114

113115
menuconfig SOUND_PRIME

sound/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ obj-$(CONFIG_SOUND) += soundcore.o
55
obj-$(CONFIG_SOUND_PRIME) += oss/
66
obj-$(CONFIG_DMASOUND) += oss/
77
obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
8-
firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/
8+
firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/
99
obj-$(CONFIG_SND_AOA) += aoa/
1010

1111
# This one must be compilable even if sound is configured out

sound/x86/Kconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
menuconfig SND_X86
2+
tristate "X86 sound devices"
3+
depends on X86
4+
---help---
5+
X86 sound devices that don't fall under SoC or PCI categories
6+
7+
if SND_X86
8+
9+
config HDMI_LPE_AUDIO
10+
tristate "HDMI audio without HDaudio on Intel Atom platforms"
11+
depends on DRM_I915
12+
help
13+
Choose this option to support HDMI LPE Audio mode
14+
15+
endif # SND_X86

sound/x86/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
snd-hdmi-lpe-audio-objs += \
2+
intel_hdmi_lpe_audio.o
3+
4+
obj-$(CONFIG_HDMI_LPE_AUDIO) += snd-hdmi-lpe-audio.o

0 commit comments

Comments
 (0)