[alsa-devel] [PATCH v3 6/7] ASoC: intel - add makefile support for SKL driver
Vinod Koul
vinod.koul at intel.com
Tue Apr 28 21:54:29 CEST 2015
From: Jeeja KP <jeeja.kp at intel.com>
Add makefile and Kconfig to enable Skylake HD audio driver
Signed-off-by: Jeeja KP <jeeja.kp at intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty at intel.com>
Signed-off-by: Vinod Koul <vinod.koul at intel.com>
---
sound/soc/intel/Kconfig | 20 ++++++++++++++++++++
sound/soc/intel/Makefile | 1 +
sound/soc/intel/skylake/Makefile | 3 +++
3 files changed, 24 insertions(+)
create mode 100644 sound/soc/intel/skylake/Makefile
diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
index ee03dbdda235..4ceca88de356 100644
--- a/sound/soc/intel/Kconfig
+++ b/sound/soc/intel/Kconfig
@@ -121,3 +121,23 @@ config SND_SOC_INTEL_CHT_BSW_RT5645_MACH
This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
platforms with RT5645 audio codec.
If unsure select "N".
+
+config SND_SOC_HDA_PREALLOC_SIZE
+ int "Pre-allocated buffer size for skylake HD-audio driver"
+ range 0 32768
+ default 64
+ help
+ Specifies the default pre-allocated buffer-size in kB for the
+ HD-audio driver. A larger buffer (e.g. 2048) is preferred
+ for systems using PulseAudio. The default 64 is chosen just
+ for compatibility reasons.
+
+config SND_SOC_INTEL_HDA_SKYLAKE
+ tristate "ASoC Intel HD Audio"
+ select SND_SOC_HDA_CORE
+ help
+ Say Y here to include support for ASoC Intel "High Definition
+ Audio" (Skylake) and its compatible devices.
+
+ To compile this driver as a module, choose M here: the module
+ will be called snd-soc-hda-skl.
diff --git a/sound/soc/intel/Makefile b/sound/soc/intel/Makefile
index cd9aee9871a3..564a8d6e2195 100644
--- a/sound/soc/intel/Makefile
+++ b/sound/soc/intel/Makefile
@@ -5,6 +5,7 @@ obj-$(CONFIG_SND_SOC_INTEL_SST) += common/
obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += haswell/
obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += baytrail/
obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += atom/
+obj-$(CONFIG_SND_SOC_INTEL_HDA_SKYLAKE) += skylake/
# Machine support
obj-$(CONFIG_SND_SOC_INTEL_SST) += boards/
diff --git a/sound/soc/intel/skylake/Makefile b/sound/soc/intel/skylake/Makefile
new file mode 100644
index 000000000000..1848ac809519
--- /dev/null
+++ b/sound/soc/intel/skylake/Makefile
@@ -0,0 +1,3 @@
+snd-soc-hda-skl-objs := hda-skl.o hda-skl-pcm.o
+
+obj-$(CONFIG_SND_SOC_INTEL_HDA_SKYLAKE) += snd-soc-hda-skl.o
--
1.7.9.5
More information about the Alsa-devel
mailing list