Commit 2d9223d2 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda: Move controller drivers into sound/hda/controllers directory



Now HD-audio controller drivers are moved into sound/hda/controllers
directory as a part of HD-audio code reorganization.  Most of drivers
are independent from PCI bus, hence it makes more sense to put under
sound/hda.

The hda_ prefix is dropped from most of files at moving, as it's
more or less superfluous.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250709160434.1859-6-tiwai@suse.de
parent 146355ee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
menu "HD-Audio"

source "sound/hda/common/Kconfig"
source "sound/hda/controllers/Kconfig"
source "sound/hda/core/Kconfig"

endmenu
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
obj-y += core/
obj-$(CONFIG_SND_HDA) += common/
# this must be the last entry after codec drivers;
# otherwise the codec patches won't be hooked before the PCI probe
# when built in kernel
obj-$(CONFIG_SND_HDA) += controllers/
+42 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
config SND_HDA_INTEL
	tristate "HD Audio PCI"
	depends on SND_PCI
	select SND_HDA
	select SND_INTEL_DSP_CONFIG
	help
	  Say Y here to include support for Intel "High Definition
	  Audio" (Azalia) and its compatible devices.

	  This option enables the HD-audio controller.  Don't forget
	  to choose the appropriate HD-audio codec options.

	  To compile this driver as a module, choose M here: the module
	  will be called snd-hda-intel.

config SND_HDA_TEGRA
	tristate "NVIDIA Tegra HD Audio"
	depends on ARCH_TEGRA
	select SND_HDA
	select SND_HDA_ALIGNED_MMIO
	help
	  Say Y here to support the HDA controller present in NVIDIA
	  Tegra SoCs

	  This options enables support for the HD Audio controller
	  present in some NVIDIA Tegra SoCs, used to communicate audio
	  to the HDMI output.

	  To compile this driver as a module, choose M here: the module
	  will be called snd-hda-tegra.

config SND_HDA_ACPI
	tristate "HD Audio ACPI"
	depends on ACPI
	select SND_HDA
	help
	  Say Y here to include support for Azalia-compatible HDA controllers
	  which are advertised via ACPI objects.

	  To compile this driver as a module, choose M here: the module
	  will be called snd-hda-acpi.
+13 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
snd-hda-intel-y := intel.o
snd-hda-tegra-y := tegra.o
snd-hda-acpi-y := acpi.o

subdir-ccflags-y += -I$(src)/../common

# for trace-points
CFLAGS_intel.o := -I$(src)

obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o
obj-$(CONFIG_SND_HDA_TEGRA) += snd-hda-tegra.o
obj-$(CONFIG_SND_HDA_ACPI) += snd-hda-acpi.o
Loading