ASoC: Intel: Add build support for Baytrail SST
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 24 Feb 2014 15:27:02 +0000 (17:27 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 25 Feb 2014 04:44:44 +0000 (13:44 +0900)
Enable build support for Baytrail SST DSP platform and byt-rt5640 machine
drivers.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/Kconfig
sound/soc/intel/Makefile

index ce5a6928e601ced4389c6a6321f9189bdb670dfa..274af1639781e17514faa4e0dcb097c1282ca72b 100644 (file)
@@ -27,6 +27,9 @@ config SND_SOC_INTEL_SST_ACPI
 config SND_SOC_INTEL_HASWELL
        tristate
 
+config SND_SOC_INTEL_BAYTRAIL
+       tristate
+
 config SND_SOC_INTEL_HASWELL_MACH
         tristate "ASoC Audio DSP support for Intel Haswell Lynxpoint"
         depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS
@@ -36,4 +39,13 @@ config SND_SOC_INTEL_HASWELL_MACH
           This adds support for the Lynxpoint Audio DSP on Intel(R) Haswell
          Ultrabook platforms.
           Say Y if you have such a device
-          If unsure select "N".
\ No newline at end of file
+          If unsure select "N".
+
+config SND_SOC_INTEL_BYT_RT5640_MACH
+       tristate "ASoC Audio driver for Intel Baytrail with RT5640 codec"
+       depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS
+       select SND_SOC_INTEL_BAYTRAIL
+       select SND_SOC_RT5640
+       help
+         This adds audio driver for Intel Baytrail platform based boards
+         with the RT5640 audio codec.
index 1c188150accbf1ae87c765000a1f289c757c9a6b..edeb79ae3dff211c975295d982df133205591012 100644 (file)
@@ -14,10 +14,15 @@ obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o
 # Platform Support
 snd-soc-sst-haswell-pcm-objs := \
        sst-haswell-ipc.o sst-haswell-pcm.o sst-haswell-dsp.o
+snd-soc-sst-baytrail-pcm-objs := \
+       sst-baytrail-ipc.o sst-baytrail-pcm.o sst-baytrail-dsp.o
 
 obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += snd-soc-sst-haswell-pcm.o
+obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += snd-soc-sst-baytrail-pcm.o
 
 # Machine support
 snd-soc-sst-haswell-objs := haswell.o
+snd-soc-sst-byt-rt5640-mach-objs := byt-rt5640.o
 
 obj-$(CONFIG_SND_SOC_INTEL_HASWELL_MACH) += snd-soc-sst-haswell.o
+obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o