summaryrefslogtreecommitdiff
path: root/include/sound/soc-acpi-intel-match.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2018-08-22 23:24:58 +0300
committerMark Brown <broonie@kernel.org>2018-08-28 22:18:07 +0300
commit8dce1d026da4588382ed8c03e791c7c9b37b22e8 (patch)
treec3555342a84b468322922d4cde6f25e1caefc9b7 /include/sound/soc-acpi-intel-match.h
parentb4af16d617add4f6380d6651473b8efba13ca8ca (diff)
downloadlinux-8dce1d026da4588382ed8c03e791c7c9b37b22e8.tar.xz
ASoC: Intel: common: add table for HDA-based platforms
Expose a table containing machine driver information for HDAudio-based platforms handled by ASoC on Intel hardware. We only set constant values that are valid across multiple platforms. The firmware name used by the DSP will be set dynamically for each platform. The table is made of a single entry for now, if we need more complicated set-up where HDAudio is mixed with ACPI-enumerated devices (I2C, SoundWire) then we'd expect the differentiation to be handled through information provided by the BIOS (as done for KBL Chromebooks). Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-acpi-intel-match.h')
-rw-r--r--include/sound/soc-acpi-intel-match.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sound/soc-acpi-intel-match.h b/include/sound/soc-acpi-intel-match.h
index bb1d24b703fb..f48f59e5b7b0 100644
--- a/include/sound/soc-acpi-intel-match.h
+++ b/include/sound/soc-acpi-intel-match.h
@@ -25,4 +25,10 @@ extern struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[];
+/*
+ * generic table used for HDA codec-based platforms, possibly with
+ * additional ACPI-enumerated codecs
+ */
+extern struct snd_soc_acpi_mach snd_soc_acpi_intel_hda_machines[];
+
#endif